From: jsing Date: Mon, 27 Jun 2016 16:52:01 +0000 (+0000) Subject: Regen. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=148fe63533d5e7c1614f6f84cfd88bf203817597;p=openbsd Regen. --- diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 856c9ed1245..23e914ff1b3 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.183 2016/05/31 22:10:34 deraadt Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.184 2016/06/27 16:52:01 jsing Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.172 2016/05/31 22:08:53 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.173 2016/06/27 16:50:07 jsing Exp */ #include @@ -96,8 +96,8 @@ struct sysent sysent[] = { sys_fchflags }, /* 35 = fchflags */ { 0, 0, 0, sys_sync }, /* 36 = sync */ - { 0, 0, 0, - sys_nosys }, /* 37 = obsolete o58_kill */ + { 2, s(struct sys_o58_kill_args), 0, + sys_o58_kill }, /* 37 = o58_kill */ { 2, s(struct sys_stat_args), 0, sys_stat }, /* 38 = stat */ { 0, 0, 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 03d13396125..468b1480650 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.182 2016/05/31 22:10:34 deraadt Exp $ */ +/* $OpenBSD: syscalls.c,v 1.183 2016/06/27 16:52:01 jsing Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.172 2016/05/31 22:08:53 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.173 2016/06/27 16:50:07 jsing Exp */ char *syscallnames[] = { @@ -49,7 +49,7 @@ char *syscallnames[] = { "chflags", /* 34 = chflags */ "fchflags", /* 35 = fchflags */ "sync", /* 36 = sync */ - "#37 (obsolete o58_kill)", /* 37 = obsolete o58_kill */ + "o58_kill", /* 37 = o58_kill */ "stat", /* 38 = stat */ "getppid", /* 39 = getppid */ "lstat", /* 40 = lstat */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 3188e5201f5..08ae647c8cf 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.181 2016/05/31 22:10:34 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.182 2016/06/27 16:52:01 jsing Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.172 2016/05/31 22:08:53 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.173 2016/06/27 16:50:07 jsing Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -118,7 +118,9 @@ /* syscall: "sync" ret: "void" args: */ #define SYS_sync 36 - /* 37 is obsolete o58_kill */ +/* syscall: "o58_kill" ret: "int" args: "int" "int" */ +#define SYS_o58_kill 37 + /* syscall: "stat" ret: "int" args: "const char *" "struct stat *" */ #define SYS_stat 38 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index da0d74736ba..ed4600fb5f6 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.184 2016/05/31 22:10:34 deraadt Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.185 2016/06/27 16:52:01 jsing Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.172 2016/05/31 22:08:53 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.173 2016/06/27 16:50:07 jsing Exp */ #ifdef syscallarg @@ -186,6 +186,11 @@ struct sys_fchflags_args { syscallarg(u_int) flags; }; +struct sys_o58_kill_args { + syscallarg(int) pid; + syscallarg(int) signum; +}; + struct sys_stat_args { syscallarg(const char *) path; syscallarg(struct stat *) ub; @@ -1136,6 +1141,7 @@ int sys_access(struct proc *, void *, register_t *); int sys_chflags(struct proc *, void *, register_t *); int sys_fchflags(struct proc *, void *, register_t *); int sys_sync(struct proc *, void *, register_t *); +int sys_o58_kill(struct proc *, void *, register_t *); int sys_stat(struct proc *, void *, register_t *); int sys_getppid(struct proc *, void *, register_t *); int sys_lstat(struct proc *, void *, register_t *);