summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-08-11 13:29:48 +0000
committermarcel <marcel@FreeBSD.org>1999-08-11 13:29:48 +0000
commit948efc5df127915f75fbdb4f28bd48a60d0e5e7b (patch)
treea2d758d068fa9bde4b8159ec562701c92f4baeff
parentfe79cb6242d8bd8f170c49782ce513fc62256632 (diff)
downloadFreeBSD-src-948efc5df127915f75fbdb4f28bd48a60d0e5e7b.zip
FreeBSD-src-948efc5df127915f75fbdb4f28bd48a60d0e5e7b.tar.gz
Do not map {s|g}etrlimit onto the FreeBSD syscalls. The arguments do not
match. PR: kern/9591 Originator: John Plevyak <jplevyak@inktomi.com>
-rw-r--r--sys/alpha/linux/syscalls.master10
-rw-r--r--sys/i386/linux/syscalls.master10
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master
index c4cc425..87faa01 100644
--- a/sys/alpha/linux/syscalls.master
+++ b/sys/alpha/linux/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.15 1998/12/22 08:59:19 sos Exp $
+ $Id: syscalls.master,v 1.16 1998/12/30 20:58:28 sos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from LINUX).
@@ -110,10 +110,10 @@
73 STD LINUX { int linux_sigpending(linux_sigset_t *mask); }
74 NOPROTO LINUX { int osethostname(char *hostname, \
u_int len);}
-75 NOPROTO LINUX { int osetrlimit(u_int which, \
- struct ogetrlimit *rlp); }
-76 NOPROTO LINUX { int ogetrlimit(u_int which, \
- struct ogetrlimit *rlp); }
+75 STD LINUX { int linux_setrlimit(u_int resource, \
+ struct ogetrlimit *rlim); }
+76 STD LINUX { int linux_getrlimit(u_int resource, \
+ struct ogetrlimit *rlim); }
77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
struct timezone *tzp); }
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index c4cc425..87faa01 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.15 1998/12/22 08:59:19 sos Exp $
+ $Id: syscalls.master,v 1.16 1998/12/30 20:58:28 sos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from LINUX).
@@ -110,10 +110,10 @@
73 STD LINUX { int linux_sigpending(linux_sigset_t *mask); }
74 NOPROTO LINUX { int osethostname(char *hostname, \
u_int len);}
-75 NOPROTO LINUX { int osetrlimit(u_int which, \
- struct ogetrlimit *rlp); }
-76 NOPROTO LINUX { int ogetrlimit(u_int which, \
- struct ogetrlimit *rlp); }
+75 STD LINUX { int linux_setrlimit(u_int resource, \
+ struct ogetrlimit *rlim); }
+76 STD LINUX { int linux_getrlimit(u_int resource, \
+ struct ogetrlimit *rlim); }
77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
struct timezone *tzp); }
OpenPOWER on IntegriCloud