diff options
Diffstat (limited to 'sys/compat/linux/linux_syscallargs.h')
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index cd4bbd15b10..14cd13941ae 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_syscallargs.h,v 1.22 2000/04/12 04:23:05 jasoni Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.23 2000/06/07 13:37:56 niklas Exp $ */ /* * System call argument lists. @@ -181,6 +181,16 @@ struct linux_sys_sigpending_args { syscallarg(linux_old_sigset_t *) mask; }; +struct linux_sys_setrlimit_args { + syscallarg(u_int) which; + syscallarg(struct linux_rlimit *) rlp; +}; + +struct linux_sys_getrlimit_args { + syscallarg(u_int) which; + syscallarg(struct linux_rlimit *) rlp; +}; + struct linux_sys_oldselect_args { syscallarg(struct linux_select *) lsp; }; @@ -430,6 +440,11 @@ struct linux_sys_getcwd_args { syscallarg(size_t) length; }; +struct linux_sys_ugetrlimit_args { + syscallarg(u_int) which; + syscallarg(struct linux_rlimit *) rlp; +}; + /* * System call prototypes. */ @@ -497,8 +512,8 @@ int linux_sys_setregid __P((struct proc *, void *, register_t *)); int linux_sys_sigsuspend __P((struct proc *, void *, register_t *)); int linux_sys_sigpending __P((struct proc *, void *, register_t *)); int compat_43_sys_sethostname __P((struct proc *, void *, register_t *)); -int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *)); -int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *)); +int linux_sys_setrlimit __P((struct proc *, void *, register_t *)); +int linux_sys_getrlimit __P((struct proc *, void *, register_t *)); int sys_getrusage __P((struct proc *, void *, register_t *)); int sys_gettimeofday __P((struct proc *, void *, register_t *)); int sys_settimeofday __P((struct proc *, void *, register_t *)); @@ -584,3 +599,4 @@ int linux_sys_pwrite __P((struct proc *, void *, register_t *)); int linux_sys_chown __P((struct proc *, void *, register_t *)); int linux_sys_getcwd __P((struct proc *, void *, register_t *)); int sys_vfork __P((struct proc *, void *, register_t *)); +int linux_sys_ugetrlimit __P((struct proc *, void *, register_t *)); |