-/* $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 <sys/param.h>
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,
-/* $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[] = {
"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 */
-/* $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" "..." */
/* 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
-/* $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
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;
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 *);