mm: Enforce MAP_PRIVATE xor MAP_SHARED (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 1 Aug 2017 21:11:45 +0000 (17:11 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 14 Aug 2017 21:02:20 +0000 (17:02 -0400)
commit9e00dd8de6088062372fae2ed6c0cd3aa3f20c5a
tree6abbfed50c5a147f9e815371d834ae4a0be96fa7
parent99f9da5dd7ab1716d707ff2de59d3e7ff0e9232d
mm: Enforce MAP_PRIVATE xor MAP_SHARED (XCC)

We're only supposed to accept PRIVATE xor SHARED, but we were allowing
neither, and possibly both.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
16 files changed:
kern/src/arsc.c
kern/src/elf.c
kern/src/mm.c
kern/src/ucq.c
tests/vmm/vmrunkernel.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sbrk.c
user/parlib/slab.c
user/parlib/ucq.c
user/parlib/vcore.c
user/pthread/pthread.c
user/vmm/biostables.c
user/vmm/memory.c
user/vmm/pagetables.c
user/vmm/sched.c
user/vmm/vthread.c