From 10ef1b2aae129e792ba9cf05644ef552ed1eb762 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 11 Aug 1999 13:29:48 +0000 Subject: [PATCH] Do not map {s|g}etrlimit onto the FreeBSD syscalls. The arguments do not match. PR: kern/9591 Originator: John Plevyak --- sys/alpha/linux/syscalls.master | 10 +++++----- sys/i386/linux/syscalls.master | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master index c4cc425be69a..87faa012b3e5 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 c4cc425be69a..87faa012b3e5 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); }