summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorrafal <rafal@NetBSD.org>2002-02-17 23:55:23 +0000
committerrafal <rafal@NetBSD.org>2002-02-17 23:55:23 +0000
commitdfcb814799adca178efe9c27f8c5e8a2546cbe07 (patch)
tree43d61ec6fa91404f8cc12145eff5b297312530b0 /sys/compat/linux
parentbf488acb77d25fb213aa5147868a564aa296b8e2 (diff)
Use linux_sys_{g,s}etrlimit() since there's a common implementation now; but
MIPS has no sys_ugetrlimit, so don't declare it (209 is UNIMPL in the OSS Linux-mips tree)
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/mips/syscalls.master10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/compat/linux/arch/mips/syscalls.master b/sys/compat/linux/arch/mips/syscalls.master
index eb479f9745e..b99e19a14a4 100644
--- a/sys/compat/linux/arch/mips/syscalls.master
+++ b/sys/compat/linux/arch/mips/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.6 2002/02/15 16:50:13 christos Exp $
+ $NetBSD: syscalls.master,v 1.7 2002/02/17 23:55:23 rafal Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -153,9 +153,9 @@
73 STD { int linux_sys_sigpending(linux_old_sigset_t *set); }
74 NOARGS { int compat_43_sys_sethostname(char *hostname, \
u_int len);}
-75 NOARGS { int compat_43_sys_setrlimit(u_int which, \
+75 STD { int linux_sys_setrlimit(u_int which, \
struct orlimit *rlp); }
-76 NOARGS { int compat_43_sys_getrlimit(u_int which, \
+76 STD { int linux_sys_getrlimit(u_int which, \
struct orlimit *rlp); }
77 NOARGS { int sys_getrusage(int who, struct rusage *rusage); }
78 STD { int linux_sys_gettimeofday(struct timeval *tp, \
@@ -363,9 +363,7 @@
struct linux_sigaltstack *oss); }
207 UNIMPL sendfile
208 UNIMPL
-; XXX: wrong?
-209 NOARGS { int linux_sys_ugetrlimit(int which, \
- struct rlimit *rlp); }
+209 UNIMPL
210 STD { off_t linux_sys_mmap2(void *addr, size_t len, \
int prot, int flags, int fd, off_t offset); }
211 STD { int linux_sys_truncate64(const char *path, \