diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2000-02-28 13:30:53 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2000-02-28 13:30:53 +0000 |
commit | 6eb14d269be8b8831c69e8324d390aeec69374d6 (patch) | |
tree | 5506239225d07d5fa8e1e553b2f81e6f801121b8 /sys/compat/linux/linux_syscallargs.h | |
parent | 3f3bfeb910ce64af34877b626865299ce72a1584 (diff) |
sync
Diffstat (limited to 'sys/compat/linux/linux_syscallargs.h')
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 09ea297e04d..7c53dd2eace 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscallargs.h,v 1.14 1999/12/06 19:37:49 aaron Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.15 2000/02/28 13:30:52 jasoni Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.13 1997/12/10 11:55:28 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.15 2000/02/28 13:29:30 jasoni Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -55,7 +55,7 @@ struct linux_sys_chmod_args { syscallarg(int) mode; }; -struct linux_sys_chown_args { +struct linux_sys_lchown_args { syscallarg(char *) path; syscallarg(int) uid; syscallarg(int) gid; @@ -349,6 +349,36 @@ struct linux_sys_mremap_args { syscallarg(long) flags; }; +struct linux_sys_setresuid_args { + syscallarg(uid_t) ruid; + syscallarg(uid_t) euid; + syscallarg(uid_t) suid; +}; + +struct linux_sys_getresuid_args { + syscallarg(uid_t *) ruid; + syscallarg(uid_t *) euid; + syscallarg(uid_t *) suid; +}; + +struct linux_sys_setresgid_args { + syscallarg(gid_t) rgid; + syscallarg(gid_t) egid; + syscallarg(gid_t) sgid; +}; + +struct linux_sys_getresgid_args { + syscallarg(gid_t *) rgid; + syscallarg(gid_t *) egid; + syscallarg(gid_t *) sgid; +}; + +struct linux_sys_chown_args { + syscallarg(char *) path; + syscallarg(int) uid; + syscallarg(int) gid; +}; + /* * System call prototypes. */ @@ -369,7 +399,7 @@ int linux_sys_chdir __P((struct proc *, void *, register_t *)); int linux_sys_time __P((struct proc *, void *, register_t *)); int linux_sys_mknod __P((struct proc *, void *, register_t *)); int linux_sys_chmod __P((struct proc *, void *, register_t *)); -int linux_sys_chown __P((struct proc *, void *, register_t *)); +int linux_sys_lchown __P((struct proc *, void *, register_t *)); int linux_sys_break __P((struct proc *, void *, register_t *)); int compat_43_sys_lseek __P((struct proc *, void *, register_t *)); int sys_getpid __P((struct proc *, void *, register_t *)); @@ -486,3 +516,9 @@ int sys_mlock __P((struct proc *, void *, register_t *)); int sys_munlock __P((struct proc *, void *, register_t *)); int sys_nanosleep __P((struct proc *, void *, register_t *)); int linux_sys_mremap __P((struct proc *, void *, register_t *)); +int linux_sys_setresuid __P((struct proc *, void *, register_t *)); +int linux_sys_getresuid __P((struct proc *, void *, register_t *)); +int sys_poll __P((struct proc *, void *, register_t *)); +int linux_sys_setresgid __P((struct proc *, void *, register_t *)); +int linux_sys_getresgid __P((struct proc *, void *, register_t *)); +int linux_sys_chown __P((struct proc *, void *, register_t *)); |