diff options
author | 2013-08-14 05:27:02 +0000 | |
---|---|---|
committer | 2013-08-14 05:27:02 +0000 | |
commit | 995d26c91adcd90d9c92e338912003995edd152f (patch) | |
tree | abc43d8693cb93c6cb714c3f299df88525fbcf2d | |
parent | The last user of the old __tfork() was updated to the current one, (diff) | |
download | wireguard-openbsd-995d26c91adcd90d9c92e338912003995edd152f.tar.xz wireguard-openbsd-995d26c91adcd90d9c92e338912003995edd152f.zip |
regen
-rw-r--r-- | sys/kern/init_sysent.c | 36 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 14 | ||||
-rw-r--r-- | sys/sys/syscall.h | 19 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 34 |
4 files changed, 28 insertions, 75 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 90e96444f70..94d23517406 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.146 2013/08/13 05:54:10 guenther Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.147 2013/08/14 05:27:02 guenther Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.134 2013/08/13 05:52:24 guenther Exp + * created from; OpenBSD: syscalls.master,v 1.135 2013/08/14 05:26:14 guenther Exp */ #include <sys/param.h> @@ -15,18 +15,6 @@ #include <sys/poll.h> #include <sys/event.h> -#ifdef COMPAT_O51 -#define compat_o51(func) __CONCAT(compat_o51_,func) -#else -#define compat_o51(func) sys_nosys -#endif - -#ifdef COMPAT_O53 -#define compat_o53(func) __CONCAT(compat_o53_,func) -#else -#define compat_o53(func) sys_nosys -#endif - #ifdef T32 #define t32(func) __CONCAT(t32_,func) #else @@ -743,14 +731,14 @@ struct sysent sysent[] = { sys___getcwd }, /* 304 = __getcwd */ { 2, s(struct sys_adjfreq_args), 0, sys_adjfreq }, /* 305 = adjfreq */ - { 3, s(struct compat_o53_sys_getfsstat_args), 0, - compat_o53(sys_getfsstat) }, /* 306 = compat_o53 getfsstat */ - { 2, s(struct compat_o53_sys_statfs_args), 0, - compat_o53(sys_statfs) }, /* 307 = compat_o53 statfs */ - { 2, s(struct compat_o53_sys_fstatfs_args), 0, - compat_o53(sys_fstatfs) }, /* 308 = compat_o53 fstatfs */ - { 2, s(struct compat_o53_sys_fhstatfs_args), 0, - compat_o53(sys_fhstatfs) }, /* 309 = compat_o53 fhstatfs */ + { 0, 0, 0, + sys_nosys }, /* 306 = obsolete getfsstat53 */ + { 0, 0, 0, + sys_nosys }, /* 307 = obsolete statfs53 */ + { 0, 0, 0, + sys_nosys }, /* 308 = obsolete fstatfs53 */ + { 0, 0, 0, + sys_nosys }, /* 309 = obsolete fhstatfs53 */ { 1, s(struct sys_setrtable_args), 0, sys_setrtable }, /* 310 = setrtable */ { 0, 0, 0, @@ -787,8 +775,8 @@ struct sysent sysent[] = { t32(sys_utimensat) }, /* 326 = t32 utimensat */ { 2, s(struct t32_sys_futimens_args), 0, t32(sys_futimens) }, /* 327 = t32 futimens */ - { 1, s(struct compat_o51_sys___tfork_args), 0, - compat_o51(sys___tfork) }, /* 328 = compat_o51 __tfork */ + { 0, 0, 0, + sys_nosys }, /* 328 = obsolete __tfork51 */ { 1, s(struct sys___set_tcb_args), SY_NOLOCK | 0, sys___set_tcb }, /* 329 = __set_tcb */ { 0, 0, SY_NOLOCK | 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 0a4d143c469..300062a48b7 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.147 2013/08/13 05:54:10 guenther Exp $ */ +/* $OpenBSD: syscalls.c,v 1.148 2013/08/14 05:27:02 guenther Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.134 2013/08/13 05:52:24 guenther Exp + * created from; OpenBSD: syscalls.master,v 1.135 2013/08/14 05:26:14 guenther Exp */ char *syscallnames[] = { @@ -381,10 +381,10 @@ char *syscallnames[] = { "__thrsigdivert", /* 303 = __thrsigdivert */ "__getcwd", /* 304 = __getcwd */ "adjfreq", /* 305 = adjfreq */ - "compat_o53_getfsstat", /* 306 = compat_o53 getfsstat */ - "compat_o53_statfs", /* 307 = compat_o53 statfs */ - "compat_o53_fstatfs", /* 308 = compat_o53 fstatfs */ - "compat_o53_fhstatfs", /* 309 = compat_o53 fhstatfs */ + "#306 (obsolete getfsstat53)", /* 306 = obsolete getfsstat53 */ + "#307 (obsolete statfs53)", /* 307 = obsolete statfs53 */ + "#308 (obsolete fstatfs53)", /* 308 = obsolete fstatfs53 */ + "#309 (obsolete fhstatfs53)", /* 309 = obsolete fhstatfs53 */ "setrtable", /* 310 = setrtable */ "getrtable", /* 311 = getrtable */ "t32_getdirentries", /* 312 = t32 getdirentries */ @@ -403,7 +403,7 @@ char *syscallnames[] = { "unlinkat", /* 325 = unlinkat */ "t32_utimensat", /* 326 = t32 utimensat */ "t32_futimens", /* 327 = t32 futimens */ - "compat_o51___tfork", /* 328 = compat_o51 __tfork */ + "#328 (obsolete __tfork51)", /* 328 = obsolete __tfork51 */ "__set_tcb", /* 329 = __set_tcb */ "__get_tcb", /* 330 = __get_tcb */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 68ada271bab..c307ac5a525 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.146 2013/08/13 05:54:10 guenther Exp $ */ +/* $OpenBSD: syscall.h,v 1.147 2013/08/14 05:27:02 guenther Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.134 2013/08/13 05:52:24 guenther Exp + * created from; OpenBSD: syscalls.master,v 1.135 2013/08/14 05:26:14 guenther Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -641,14 +641,10 @@ /* syscall: "adjfreq" ret: "int" args: "const int64_t *" "int64_t *" */ #define SYS_adjfreq 305 - /* 306 is compat_o53 getfsstat */ - - /* 307 is compat_o53 statfs */ - - /* 308 is compat_o53 fstatfs */ - - /* 309 is compat_o53 fhstatfs */ - + /* 306 is obsolete getfsstat53 */ + /* 307 is obsolete statfs53 */ + /* 308 is obsolete fstatfs53 */ + /* 309 is obsolete fhstatfs53 */ /* syscall: "setrtable" ret: "int" args: "int" */ #define SYS_setrtable 310 @@ -699,8 +695,7 @@ /* 327 is t32 futimens */ - /* 328 is compat_o51 __tfork */ - + /* 328 is obsolete __tfork51 */ /* syscall: "__set_tcb" ret: "void" args: "void *" */ #define SYS___set_tcb 329 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 6dd49846bea..f591e195fa5 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.148 2013/08/13 05:54:10 guenther Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.149 2013/08/14 05:27:02 guenther Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.134 2013/08/13 05:52:24 guenther Exp + * created from; OpenBSD: syscalls.master,v 1.135 2013/08/14 05:26:14 guenther Exp */ #ifdef syscallarg @@ -1048,27 +1048,6 @@ struct sys_adjfreq_args { syscallarg(int64_t *) oldfreq; }; -struct compat_o53_sys_getfsstat_args { - syscallarg(struct statfs53 *) buf; - syscallarg(size_t) bufsize; - syscallarg(int) flags; -}; - -struct compat_o53_sys_statfs_args { - syscallarg(const char *) path; - syscallarg(struct statfs53 *) buf; -}; - -struct compat_o53_sys_fstatfs_args { - syscallarg(int) fd; - syscallarg(struct statfs53 *) buf; -}; - -struct compat_o53_sys_fhstatfs_args { - syscallarg(const fhandle_t *) fhp; - syscallarg(struct statfs53 *) buf; -}; - struct sys_setrtable_args { syscallarg(int) rtableid; }; @@ -1181,10 +1160,6 @@ struct t32_sys_futimens_args { syscallarg(const struct timespec32 *) times; }; -struct compat_o51_sys___tfork_args { - syscallarg(struct __tfork51 *) param; -}; - struct sys___set_tcb_args { syscallarg(void *) tcb; }; @@ -1442,10 +1417,6 @@ int sys___threxit(struct proc *, void *, register_t *); int sys___thrsigdivert(struct proc *, void *, register_t *); int sys___getcwd(struct proc *, void *, register_t *); int sys_adjfreq(struct proc *, void *, register_t *); -int compat_o53_sys_getfsstat(struct proc *, void *, register_t *); -int compat_o53_sys_statfs(struct proc *, void *, register_t *); -int compat_o53_sys_fstatfs(struct proc *, void *, register_t *); -int compat_o53_sys_fhstatfs(struct proc *, void *, register_t *); int sys_setrtable(struct proc *, void *, register_t *); int sys_getrtable(struct proc *, void *, register_t *); int t32_sys_getdirentries(struct proc *, void *, register_t *); @@ -1464,6 +1435,5 @@ int sys_symlinkat(struct proc *, void *, register_t *); int sys_unlinkat(struct proc *, void *, register_t *); int t32_sys_utimensat(struct proc *, void *, register_t *); int t32_sys_futimens(struct proc *, void *, register_t *); -int compat_o51_sys___tfork(struct proc *, void *, register_t *); int sys___set_tcb(struct proc *, void *, register_t *); int sys___get_tcb(struct proc *, void *, register_t *); |