summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_sysent.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-08-11 13:34:31 +0000
committermarcel <marcel@FreeBSD.org>1999-08-11 13:34:31 +0000
commitbe49f50ba7be1e1be51185bcb3705faef02d77f6 (patch)
treea904f328efafcd3524e191098da170b09e3cfbf7 /sys/i386/linux/linux_sysent.c
parent948efc5df127915f75fbdb4f28bd48a60d0e5e7b (diff)
downloadFreeBSD-src-be49f50ba7be1e1be51185bcb3705faef02d77f6.zip
FreeBSD-src-be49f50ba7be1e1be51185bcb3705faef02d77f6.tar.gz
Do not map {s|g}etrlimit onto FreeBSD syscalls. The arguments don't match.
The linux syscalls translate the arguments first before invoking the FreeBSD native syscalls. PR: kern/9591 Originator: John Plevyak <jplevyak@inktomi.com>
Diffstat (limited to 'sys/i386/linux/linux_sysent.c')
-rw-r--r--sys/i386/linux/linux_sysent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c
index a5e8bdb..fa39fd1 100644
--- a/sys/i386/linux/linux_sysent.c
+++ b/sys/i386/linux/linux_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.16 1998/12/30 20:58:28 sos Exp
+ * created from Id: syscalls.master,v 1.17 1999/08/11 13:29:48 marcel Exp
*/
#include "opt_compat.h"
@@ -89,8 +89,8 @@ struct sysent linux_sysent[] = {
{ 3, (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */
{ 1, (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */
{ 2, (sy_call_t *)osethostname }, /* 74 = osethostname */
- { 2, (sy_call_t *)osetrlimit }, /* 75 = osetrlimit */
- { 2, (sy_call_t *)ogetrlimit }, /* 76 = ogetrlimit */
+ { 2, (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */
+ { 2, (sy_call_t *)linux_getrlimit }, /* 76 = linux_getrlimit */
{ 2, (sy_call_t *)getrusage }, /* 77 = getrusage */
{ 2, (sy_call_t *)gettimeofday }, /* 78 = gettimeofday */
{ 2, (sy_call_t *)settimeofday }, /* 79 = settimeofday */
OpenPOWER on IntegriCloud