Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/mips Use linux_sys_{g, s}etrlimit() sin...
details: https://anonhg.NetBSD.org/src/rev/5a1ca66b2cd5
branches: trunk
changeset: 522375:5a1ca66b2cd5
user: rafal <rafal%NetBSD.org@localhost>
date: Sun Feb 17 23:55:23 2002 +0000
description:
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:
sys/compat/linux/arch/mips/syscalls.master | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r c2058e110b83 -r 5a1ca66b2cd5 sys/compat/linux/arch/mips/syscalls.master
--- a/sys/compat/linux/arch/mips/syscalls.master Sun Feb 17 23:53:46 2002 +0000
+++ b/sys/compat/linux/arch/mips/syscalls.master Sun Feb 17 23:55:23 2002 +0000
@@ -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, \
Home |
Main Index |
Thread Index |
Old Index