diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 07:20:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 07:20:36 +0000 |
commit | 94c75020aaf5583476c5375020873f137df0fad5 (patch) | |
tree | ea02f953c8a5b82f8770802f5bc41bb1de0bfe4d /sys/kern | |
parent | 65f4176146c9ff08cfed014ab933f2073b64acec (diff) |
sync
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 14 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 6 |
2 files changed, 13 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 3d0d8095f58..91ff2de39d7 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.114 2010/07/03 04:44:51 guenther Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.115 2010/09/20 07:20:35 deraadt Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.101 2010/07/01 23:10:40 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.103 2010/09/20 07:18:03 deraadt Exp */ #include <sys/param.h> @@ -46,6 +46,12 @@ #define compat_35(func) sys_nosys #endif +#ifdef COMPAT_O47 +#define compat_o47(func) __CONCAT(compat_o47_,func) +#else +#define compat_o47(func) sys_nosys +#endif + #define s(type) sizeof(type) struct sysent sysent[] = { @@ -712,8 +718,8 @@ struct sysent sysent[] = { sys_mlockall }, /* 271 = mlockall */ { 0, 0, 0, sys_munlockall }, /* 272 = munlockall */ - { 3, s(struct sys_getpeereid_args), 0, - sys_getpeereid }, /* 273 = getpeereid */ + { 3, s(struct compat_o47_sys_getpeereid_args), 0, + compat_o47(sys_getpeereid) }, /* 273 = compat_o47 getpeereid */ { 0, 0, 0, sys_nosys }, /* 274 = unimplemented sys_extattrctl */ { 0, 0, 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index b3128deb54f..d1634fcd915 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.115 2010/07/03 04:44:51 guenther Exp $ */ +/* $OpenBSD: syscalls.c,v 1.116 2010/09/20 07:20:35 deraadt Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.101 2010/07/01 23:10:40 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.103 2010/09/20 07:18:03 deraadt Exp */ char *syscallnames[] = { @@ -362,7 +362,7 @@ char *syscallnames[] = { "kevent", /* 270 = kevent */ "mlockall", /* 271 = mlockall */ "munlockall", /* 272 = munlockall */ - "getpeereid", /* 273 = getpeereid */ + "compat_o47_getpeereid", /* 273 = compat_o47 getpeereid */ "#274 (unimplemented sys_extattrctl)", /* 274 = unimplemented sys_extattrctl */ "#275 (unimplemented sys_extattr_set_file)", /* 275 = unimplemented sys_extattr_set_file */ "#276 (unimplemented sys_extattr_get_file)", /* 276 = unimplemented sys_extattr_get_file */ |