From 0c710141bbb9bd62617d981a3dbaed1b8775fded Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Mar 2015 16:28:38 +0100 Subject: Add simple shared memory facility to IPC (no syscall yet) --- src/kernel/user/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/user/process.c') 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; -- cgit v1.2.3