From: niklas Date: Thu, 13 Feb 1997 23:22:51 +0000 (+0000) Subject: regen X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=50ccb276e604dfa5ea8e79db1821a2da86c7ab71;p=openbsd regen --- diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index 8b62453c1ed..4a3f8b05a14 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp + * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp */ #define SVR4_SYS_syscall 0 @@ -30,6 +30,7 @@ #define SVR4_SYS_getuid 24 #define SVR4_SYS_alarm 27 #define SVR4_SYS_fstat 28 +#define SVR4_SYS_pause 29 #define SVR4_SYS_utime 30 #define SVR4_SYS_access 33 #define SVR4_SYS_sync 36 @@ -104,6 +105,7 @@ #define SVR4_SYS_setrlimit 128 #define SVR4_SYS_getrlimit 129 #define SVR4_SYS_lchown 130 +#define SVR4_SYS_memcntl 131 #define SVR4_SYS_rename 134 #define SVR4_SYS_uname 135 #define SVR4_SYS_setegid 136 @@ -117,4 +119,8 @@ #define SVR4_SYS_gettimeofday 156 #define SVR4_SYS_getitimer 157 #define SVR4_SYS_setitimer 158 +#define SVR4_SYS_acl 185 +#define SVR4_SYS_facl 200 +#define SVR4_SYS_setreuid 202 +#define SVR4_SYS_setregid 203 #define SVR4_SYS_MAXSYSCALL 213 diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index 282451c3929..3bf4ec44f4d 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp + * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -278,6 +278,15 @@ struct svr4_sys_getrlimit_args { syscallarg(struct ogetrlimit *) rlp; }; +struct svr4_sys_memcntl_args { + syscallarg(svr4_caddr_t) addr; + syscallarg(svr4_size_t) len; + syscallarg(int) cmd; + syscallarg(svr4_caddr_t) arg; + syscallarg(int) attr; + syscallarg(int) mask; +}; + struct svr4_sys_uname_args { syscallarg(struct svr4_utsname *) name; syscallarg(int) dummy; @@ -306,6 +315,20 @@ struct svr4_sys_gettimeofday_args { syscallarg(struct timeval *) tp; }; +struct svr4_sys_acl_args { + syscallarg(char *) path; + syscallarg(int) cmd; + syscallarg(int) num; + syscallarg(struct svr4_aclent *) buf; +}; + +struct svr4_sys_facl_args { + syscallarg(int) fd; + syscallarg(int) cmd; + syscallarg(int) num; + syscallarg(struct svr4_aclent *) buf; +}; + /* * System call prototypes. */ @@ -335,6 +358,7 @@ int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int svr4_sys_alarm __P((struct proc *, void *, register_t *)); int svr4_sys_fstat __P((struct proc *, void *, register_t *)); +int svr4_sys_pause __P((struct proc *, void *, register_t *)); int svr4_sys_utime __P((struct proc *, void *, register_t *)); int svr4_sys_access __P((struct proc *, void *, register_t *)); int sys_sync __P((struct proc *, void *, register_t *)); @@ -411,6 +435,7 @@ int svr4_sys_xmknod __P((struct proc *, void *, register_t *)); int svr4_sys_setrlimit __P((struct proc *, void *, register_t *)); int svr4_sys_getrlimit __P((struct proc *, void *, register_t *)); int sys_lchown __P((struct proc *, void *, register_t *)); +int svr4_sys_memcntl __P((struct proc *, void *, register_t *)); int sys_rename __P((struct proc *, void *, register_t *)); int svr4_sys_uname __P((struct proc *, void *, register_t *)); int sys_setegid __P((struct proc *, void *, register_t *)); @@ -424,3 +449,7 @@ int svr4_sys_vhangup __P((struct proc *, void *, register_t *)); int svr4_sys_gettimeofday __P((struct proc *, void *, register_t *)); int sys_getitimer __P((struct proc *, void *, register_t *)); int sys_setitimer __P((struct proc *, void *, register_t *)); +int svr4_sys_acl __P((struct proc *, void *, register_t *)); +int svr4_sys_facl __P((struct proc *, void *, register_t *)); +int compat_43_sys_setreuid __P((struct proc *, void *, register_t *)); +int compat_43_sys_setregid __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index 7528f46e37e..bf9750b2f1a 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp + * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp */ char *svr4_syscallnames[] = { @@ -35,7 +35,7 @@ char *svr4_syscallnames[] = { "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ "alarm", /* 27 = alarm */ "fstat", /* 28 = fstat */ - "#29 (unimplemented pause)", /* 29 = unimplemented pause */ + "pause", /* 29 = pause */ "utime", /* 30 = utime */ "#31 (unimplemented was stty)", /* 31 = unimplemented was stty */ "#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */ @@ -153,7 +153,7 @@ char *svr4_syscallnames[] = { "setrlimit", /* 128 = setrlimit */ "getrlimit", /* 129 = getrlimit */ "lchown", /* 130 = lchown */ - "#131 (unimplemented memcntl)", /* 131 = unimplemented memcntl */ + "memcntl", /* 131 = memcntl */ "#132 (unimplemented getpmsg)", /* 132 = unimplemented getpmsg */ "#133 (unimplemented putpmsg)", /* 133 = unimplemented putpmsg */ "rename", /* 134 = rename */ @@ -207,7 +207,7 @@ char *svr4_syscallnames[] = { "#182 (unimplemented)", /* 182 = unimplemented */ "#183 (unimplemented)", /* 183 = unimplemented */ "#184 (unimplemented tsolsys)", /* 184 = unimplemented tsolsys */ - "#185 (unimplemented acl)", /* 185 = unimplemented acl */ + "acl", /* 185 = acl */ "#186 (unimplemented auditsys)", /* 186 = unimplemented auditsys */ "#187 (unimplemented processor_bind)", /* 187 = unimplemented processor_bind */ "#188 (unimplemented processor_info)", /* 188 = unimplemented processor_info */ @@ -222,10 +222,10 @@ char *svr4_syscallnames[] = { "#197 (unimplemented timer_gettime)", /* 197 = unimplemented timer_gettime */ "#198 (unimplemented timer_getoverrun)", /* 198 = unimplemented timer_getoverrun */ "#199 (unimplemented nanosleep)", /* 199 = unimplemented nanosleep */ - "#200 (unimplemented facl)", /* 200 = unimplemented facl */ + "facl", /* 200 = facl */ "#201 (unimplemented door)", /* 201 = unimplemented door */ - "#202 (unimplemented setreuid)", /* 202 = unimplemented setreuid */ - "#203 (unimplemented setregid)", /* 203 = unimplemented setregid */ + "setreuid", /* 202 = setreuid */ + "setregid", /* 203 = setregid */ "#204 (unimplemented)", /* 204 = unimplemented */ "#205 (unimplemented)", /* 205 = unimplemented */ "#206 (unimplemented)", /* 206 = unimplemented */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 50c290ed892..066ddc971da 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.10 1997/01/26 23:02:24 downsj Exp + * created from OpenBSD: syscalls.master,v 1.11 1997/02/13 19:45:27 niklas Exp */ #include @@ -16,6 +16,7 @@ #include #include #include +#include #ifdef COMPAT_43 #define compat_43(func) __CONCAT(compat_43_,func) @@ -97,7 +98,7 @@ struct sysent svr4_sysent[] = { { 2, s(struct svr4_sys_fstat_args), svr4_sys_fstat }, /* 28 = fstat */ { 0, 0, - sys_nosys }, /* 29 = unimplemented pause */ + svr4_sys_pause }, /* 29 = pause */ { 2, s(struct svr4_sys_utime_args), svr4_sys_utime }, /* 30 = utime */ { 0, 0, @@ -320,8 +321,8 @@ struct sysent svr4_sysent[] = { svr4_sys_getrlimit }, /* 129 = getrlimit */ { 3, s(struct sys_lchown_args), sys_lchown }, /* 130 = lchown */ - { 0, 0, - sys_nosys }, /* 131 = unimplemented memcntl */ + { 6, s(struct svr4_sys_memcntl_args), + svr4_sys_memcntl }, /* 131 = memcntl */ { 0, 0, sys_nosys }, /* 132 = unimplemented getpmsg */ { 0, 0, @@ -428,8 +429,8 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 183 = unimplemented */ { 0, 0, sys_nosys }, /* 184 = unimplemented tsolsys */ - { 0, 0, - sys_nosys }, /* 185 = unimplemented acl */ + { 4, s(struct svr4_sys_acl_args), + svr4_sys_acl }, /* 185 = acl */ { 0, 0, sys_nosys }, /* 186 = unimplemented auditsys */ { 0, 0, @@ -458,14 +459,14 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 198 = unimplemented timer_getoverrun */ { 0, 0, sys_nosys }, /* 199 = unimplemented nanosleep */ - { 0, 0, - sys_nosys }, /* 200 = unimplemented facl */ + { 4, s(struct svr4_sys_facl_args), + svr4_sys_facl }, /* 200 = facl */ { 0, 0, sys_nosys }, /* 201 = unimplemented door */ - { 0, 0, - sys_nosys }, /* 202 = unimplemented setreuid */ - { 0, 0, - sys_nosys }, /* 203 = unimplemented setregid */ + { 2, s(struct compat_43_sys_setreuid_args), + compat_43_sys_setreuid }, /* 202 = setreuid */ + { 2, s(struct compat_43_sys_setregid_args), + compat_43_sys_setregid }, /* 203 = setregid */ { 0, 0, sys_nosys }, /* 204 = unimplemented */ { 0, 0,