summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-27 01:13:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-11-27 01:13:05 +0000
commitfc441813bc33134803d1b93b74b6047ee5bec78d (patch)
tree9b71d1f7ad4a3f32a0f3ebd2d863fd65e428cfd1
parentdbd442ab5a5849ea3f13ed110ab51694289f6686 (diff)
sync
-rw-r--r--sys/kern/init_sysent.c8
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall.h8
-rw-r--r--sys/sys/syscallargs.h10
4 files changed, 20 insertions, 12 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index fbf3afcea2e..650f633173e 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.208 2019/08/13 07:10:30 anton Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.209 2019/11/27 01:13:04 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.197 2019/08/13 07:09:21 anton Exp
+ * created from; OpenBSD: syscalls.master,v 1.198 2019/11/27 01:04:13 deraadt Exp
*/
#include <sys/param.h>
@@ -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_msyscall_args), 0,
+ sys_msyscall }, /* 37 = msyscall */
{ 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 90bce77c642..47b867e4a7e 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.207 2019/08/13 07:10:30 anton Exp $ */
+/* $OpenBSD: syscalls.c,v 1.208 2019/11/27 01:13:04 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.197 2019/08/13 07:09:21 anton Exp
+ * created from; OpenBSD: syscalls.master,v 1.198 2019/11/27 01:04:13 deraadt 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 */
+ "msyscall", /* 37 = msyscall */
"stat", /* 38 = stat */
"getppid", /* 39 = getppid */
"lstat", /* 40 = lstat */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index bb9d0c1c033..f63db8347aa 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.205 2019/08/13 07:10:31 anton Exp $ */
+/* $OpenBSD: syscall.h,v 1.206 2019/11/27 01:13:03 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.197 2019/08/13 07:09:21 anton Exp
+ * created from; OpenBSD: syscalls.master,v 1.198 2019/11/27 01:04:13 deraadt 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: "msyscall" ret: "int" args: "void *" "size_t" */
+#define SYS_msyscall 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 20de998d249..b35ec2c4157 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.208 2019/08/13 07:10:31 anton Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.209 2019/11/27 01:13:03 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.197 2019/08/13 07:09:21 anton Exp
+ * created from; OpenBSD: syscalls.master,v 1.198 2019/11/27 01:04:13 deraadt Exp
*/
#ifdef syscallarg
@@ -186,6 +186,11 @@ struct sys_fchflags_args {
syscallarg(u_int) flags;
};
+struct sys_msyscall_args {
+ syscallarg(void *) addr;
+ syscallarg(size_t) len;
+};
+
struct sys_stat_args {
syscallarg(const char *) path;
syscallarg(struct stat *) ub;
@@ -1143,6 +1148,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_msyscall(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 *);