diff options
author | marcel <marcel@FreeBSD.org> | 1999-08-11 13:34:31 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-08-11 13:34:31 +0000 |
commit | be49f50ba7be1e1be51185bcb3705faef02d77f6 (patch) | |
tree | a904f328efafcd3524e191098da170b09e3cfbf7 /sys/i386/linux/linux_proto.h | |
parent | 948efc5df127915f75fbdb4f28bd48a60d0e5e7b (diff) | |
download | FreeBSD-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_proto.h')
-rw-r--r-- | sys/i386/linux/linux_proto.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index cda56c2..0cf00373 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -2,7 +2,7 @@ * System call prototypes. * * 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 */ #ifndef _LINUX_SYSPROTO_H_ @@ -195,6 +195,14 @@ struct linux_sigsuspend_args { struct linux_sigpending_args { linux_sigset_t * mask; char mask_[PAD_(linux_sigset_t *)]; }; +struct linux_setrlimit_args { + u_int resource; char resource_[PAD_(u_int)]; + struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)]; +}; +struct linux_getrlimit_args { + u_int resource; char resource_[PAD_(u_int)]; + struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)]; +}; struct linux_getgroups_args { u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)]; @@ -437,6 +445,8 @@ int linux_siggetmask __P((struct proc *, struct linux_siggetmask_args *)); int linux_sigsetmask __P((struct proc *, struct linux_sigsetmask_args *)); int linux_sigsuspend __P((struct proc *, struct linux_sigsuspend_args *)); int linux_sigpending __P((struct proc *, struct linux_sigpending_args *)); +int linux_setrlimit __P((struct proc *, struct linux_setrlimit_args *)); +int linux_getrlimit __P((struct proc *, struct linux_getrlimit_args *)); int linux_getgroups __P((struct proc *, struct linux_getgroups_args *)); int linux_setgroups __P((struct proc *, struct linux_setgroups_args *)); int linux_select __P((struct proc *, struct linux_select_args *)); |