diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-01-30 03:32:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-01-30 03:32:45 +0000 |
commit | 49a656b5c928ada32d7bfd76c34ebcc7ad6581bc (patch) | |
tree | ad28fb0f43f2f8795431c148c659125e6dbcabdf /sys/compat/osf1 | |
parent | e9389a44941c88aa9f36b0eb98cb77abc32542cf (diff) |
regen now that setreuid/setregid have moved out of compat and into kern
Diffstat (limited to 'sys/compat/osf1')
-rw-r--r-- | sys/compat/osf1/osf1_syscall.h | 10 | ||||
-rw-r--r-- | sys/compat/osf1/osf1_syscallargs.h | 6 | ||||
-rw-r--r-- | sys/compat/osf1/osf1_syscalls.c | 8 | ||||
-rw-r--r-- | sys/compat/osf1/osf1_sysent.c | 12 |
4 files changed, 22 insertions, 14 deletions
diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h index 53cd655aa4a..1dd8aded43a 100644 --- a/sys/compat/osf1/osf1_syscall.h +++ b/sys/compat/osf1/osf1_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: osf1_syscall.h,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: osf1_syscall.h,v 1.10 2003/01/30 03:32:44 millert Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp + * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -279,6 +279,12 @@ /* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */ #define OSF1_SYS_recvfrom 125 +/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ +#define OSF1_SYS_setreuid 126 + +/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ +#define OSF1_SYS_setregid 127 + /* syscall: "rename" ret: "int" args: "const char *" "const char *" */ #define OSF1_SYS_rename 128 diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h index c3d002c2565..8ad36c5f30b 100644 --- a/sys/compat/osf1/osf1_syscallargs.h +++ b/sys/compat/osf1/osf1_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: osf1_syscallargs.h,v 1.10 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: osf1_syscallargs.h,v 1.11 2003/01/30 03:32:44 millert Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp + * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp */ #ifdef syscallarg @@ -423,6 +423,8 @@ int osf1_sys_settimeofday(struct proc *, void *, register_t *); int sys_fchown(struct proc *, void *, register_t *); int sys_fchmod(struct proc *, void *, register_t *); int compat_43_sys_recvfrom(struct proc *, void *, register_t *); +int sys_setreuid(struct proc *, void *, register_t *); +int sys_setregid(struct proc *, void *, register_t *); int sys_rename(struct proc *, void *, register_t *); int osf1_sys_truncate(struct proc *, void *, register_t *); int osf1_sys_ftruncate(struct proc *, void *, register_t *); diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c index 22c1debf775..337c845af3d 100644 --- a/sys/compat/osf1/osf1_syscalls.c +++ b/sys/compat/osf1/osf1_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: osf1_syscalls.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: osf1_syscalls.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp + * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp */ char *osf1_syscallnames[] = { @@ -134,8 +134,8 @@ char *osf1_syscallnames[] = { "fchown", /* 123 = fchown */ "fchmod", /* 124 = fchmod */ "recvfrom", /* 125 = recvfrom */ - "#126 (unimplemented setreuid)", /* 126 = unimplemented setreuid */ - "#127 (unimplemented setregid)", /* 127 = unimplemented setregid */ + "setreuid", /* 126 = setreuid */ + "setregid", /* 127 = setregid */ "rename", /* 128 = rename */ "truncate", /* 129 = truncate */ "ftruncate", /* 130 = ftruncate */ diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c index 75270c5c45e..0f01a50e8f1 100644 --- a/sys/compat/osf1/osf1_sysent.c +++ b/sys/compat/osf1/osf1_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: osf1_sysent.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: osf1_sysent.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp + * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp */ #include <sys/param.h> @@ -271,10 +271,10 @@ struct sysent osf1_sysent[] = { sys_fchmod }, /* 124 = fchmod */ { 6, s(struct compat_43_sys_recvfrom_args), compat_43_sys_recvfrom }, /* 125 = recvfrom */ - { 0, 0, - sys_nosys }, /* 126 = unimplemented setreuid */ - { 0, 0, - sys_nosys }, /* 127 = unimplemented setregid */ + { 2, s(struct sys_setreuid_args), + sys_setreuid }, /* 126 = setreuid */ + { 2, s(struct sys_setregid_args), + sys_setregid }, /* 127 = setregid */ { 2, s(struct sys_rename_args), sys_rename }, /* 128 = rename */ { 2, s(struct osf1_sys_truncate_args), |