add mprotect, nuke mmap2
This commit is contained in:
parent
b9a0007d1d
commit
45af46eb53
@ -1,4 +1,4 @@
|
||||
$NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp $
|
||||
$NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp $
|
||||
|
||||
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
||||
|
||||
@ -225,7 +225,8 @@
|
||||
122 STD { int linux_sys_new_uname(struct linux_utsname *up); }
|
||||
123 UNIMPL modify_ldt
|
||||
124 UNIMPL adjtimex
|
||||
125 NOARGS { int sys_mprotect(caddr_t addr, int len, int prot); }
|
||||
125 STD { int linux_sys_mprotect(const void *start, \
|
||||
unsigned long len, int prot); }
|
||||
126 STD { int linux_sys_sigprocmask(int how, \
|
||||
const linux_old_sigset_t *set, \
|
||||
linux_old_sigset_t *oset); }
|
||||
@ -364,8 +365,7 @@
|
||||
207 UNIMPL sendfile
|
||||
208 UNIMPL
|
||||
209 UNIMPL
|
||||
210 STD { off_t linux_sys_mmap2(void *addr, size_t len, \
|
||||
int prot, int flags, int fd, off_t offset); }
|
||||
210 UNIMPL mmap2
|
||||
211 STD { int linux_sys_truncate64(const char *path, \
|
||||
off_t length); }
|
||||
212 UNIMPL ftruncate64
|
||||
@ -379,5 +379,5 @@
|
||||
217 UNIMPL mincore
|
||||
218 UNIMPL modvise
|
||||
219 UNIMPL getdents64
|
||||
220 STD { int linux_sys_fcntl64(unsigned int fd, \
|
||||
unsigned int cmd, unsigned long arg); }
|
||||
220 STD { int linux_sys_fcntl64(int fd, \
|
||||
int cmd, void *arg); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user