Added mprotect; made mmap work (dumbly) for files
[akaros.git] / kern / src / syscall.c
index b1cdeaa..dc68230 100644 (file)
@@ -664,6 +664,8 @@ intreg_t syscall(struct proc *p, uintreg_t syscallno, uintreg_t a1,
                [SYS_exec] = (syscall_t)sys_exec,
                [SYS_trywait] = (syscall_t)sys_trywait,
                [SYS_mmap] = (syscall_t)sys_mmap,
+               [SYS_munmap] = (syscall_t)sys_munmap,
+               [SYS_mprotect] = (syscall_t)sys_mprotect,
                [SYS_brk] = (syscall_t)sys_brk,
                [SYS_shared_page_alloc] = (syscall_t)sys_shared_page_alloc,
                [SYS_shared_page_free] = (syscall_t)sys_shared_page_free,