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)
This commit is contained in:
rafal 2002-02-17 23:55:23 +00:00
parent bf488acb77
commit dfcb814799

View File

@ -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, \