diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-10 16:28:38 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-10 16:28:38 +0100 |
commit | 0c710141bbb9bd62617d981a3dbaed1b8775fded (patch) | |
tree | 0094294fc5b6182bada5db8e5a64cd3a52e872e2 /src/kernel/user/process.c | |
parent | 48c1c4dcc449d05e9950a861e165f456e0d583a1 (diff) | |
download | kogata-0c710141bbb9bd62617d981a3dbaed1b8775fded.tar.gz kogata-0c710141bbb9bd62617d981a3dbaed1b8775fded.zip |
Add simple shared memory facility to IPC (no syscall yet)
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r-- | src/kernel/user/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c index 4d79327..85530ca 100644 --- a/src/kernel/user/process.c +++ b/src/kernel/user/process.c @@ -500,7 +500,7 @@ bool mmap(process_t *proc, void* addr, size_t size, int mode) { r->size = size; r->own_pager = true; - r->pager = new_swap_pager(size); + r->pager = new_swap_pager(size, false); if (r->pager == 0) goto error; r->offset = 0; |