summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-22 15:19:43 +0000
committerchristos <christos@NetBSD.org>2002-03-22 15:19:43 +0000
commitb3c32e7e6da043b254db2d135bbca3d841696888 (patch)
tree98f701eafea09981deb4e8948cfcc2b395ff278e /sys/compat/linux
parent99ff14c9f3e675841464b49bf61549b6f13ac201 (diff)
nuke mmap2, add mprotect
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/powerpc/syscalls.master8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/arch/powerpc/syscalls.master b/sys/compat/linux/arch/powerpc/syscalls.master
index d34c606dde5..582a05da229 100644
--- a/sys/compat/linux/arch/powerpc/syscalls.master
+++ b/sys/compat/linux/arch/powerpc/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.9 2002/02/19 16:44:09 nathanw Exp $
+ $NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -248,7 +248,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); }
@@ -351,8 +352,7 @@
190 STD { int linux_sys_ugetrlimit(int which, \
struct rlimit *rlp); }
191 UNIMPL /* unused */
-192 STD { off_t linux_sys_mmap2(void *addr, size_t len, \
- int prot, int flags, int fd, off_t offset); }
+192 UNIMPL mmap2
193 UNIMPL truncate64
194 UNIMPL ftruncate64
195 UNIMPL stat64