summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.h9
4 files changed, 19 insertions, 12 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index ccf45d88b94..b8f7c0fe1fa 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.166 2015/05/06 11:26:02 jsg Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.167 2015/07/19 02:37:44 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.153 2015/05/06 11:20:07 jsg Exp
+ * created from; OpenBSD: syscalls.master,v 1.154 2015/07/19 02:35:35 deraadt Exp
*/
#include <sys/param.h>
@@ -248,8 +248,8 @@ struct sysent sysent[] = {
sys_listen }, /* 106 = listen */
{ 4, s(struct sys_chflagsat_args), 0,
sys_chflagsat }, /* 107 = chflagsat */
- { 0, 0, 0,
- sys_nosys }, /* 108 = obsolete osigvec */
+ { 1, s(struct sys_tame_args), 0,
+ sys_tame }, /* 108 = tame */
{ 4, s(struct sys_ppoll_args), 0,
sys_ppoll }, /* 109 = ppoll */
{ 6, s(struct sys_pselect_args), 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 084f0e6b190..bf043a81c8c 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.165 2015/05/06 11:26:02 jsg Exp $ */
+/* $OpenBSD: syscalls.c,v 1.166 2015/07/19 02:37:44 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.153 2015/05/06 11:20:07 jsg Exp
+ * created from; OpenBSD: syscalls.master,v 1.154 2015/07/19 02:35:35 deraadt Exp
*/
char *syscallnames[] = {
@@ -128,7 +128,7 @@ char *syscallnames[] = {
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
"chflagsat", /* 107 = chflagsat */
- "#108 (obsolete osigvec)", /* 108 = obsolete osigvec */
+ "tame", /* 108 = tame */
"ppoll", /* 109 = ppoll */
"pselect", /* 110 = pselect */
"sigsuspend", /* 111 = sigsuspend */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index af6504cf3cf..0bef207dd46 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.164 2015/05/06 11:26:02 jsg Exp $ */
+/* $OpenBSD: syscall.h,v 1.165 2015/07/19 02:37:44 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.153 2015/05/06 11:20:07 jsg Exp
+ * created from; OpenBSD: syscalls.master,v 1.154 2015/07/19 02:35:35 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -329,7 +329,9 @@
/* syscall: "chflagsat" ret: "int" args: "int" "const char *" "u_int" "int" */
#define SYS_chflagsat 107
- /* 108 is obsolete osigvec */
+/* syscall: "tame" ret: "int" args: "int" */
+#define SYS_tame 108
+
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */
#define SYS_ppoll 109
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 9ed9cafdba5..cfdd018b14f 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.166 2015/05/06 11:26:02 jsg Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.167 2015/07/19 02:37:44 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.153 2015/05/06 11:20:07 jsg Exp
+ * created from; OpenBSD: syscalls.master,v 1.154 2015/07/19 02:35:35 deraadt Exp
*/
#ifdef syscallarg
@@ -538,6 +538,10 @@ struct sys_chflagsat_args {
syscallarg(int) atflags;
};
+struct sys_tame_args {
+ syscallarg(int) flags;
+};
+
struct sys_ppoll_args {
syscallarg(struct pollfd *) fds;
syscallarg(u_int) nfds;
@@ -1189,6 +1193,7 @@ int sys_bind(struct proc *, void *, register_t *);
int sys_setsockopt(struct proc *, void *, register_t *);
int sys_listen(struct proc *, void *, register_t *);
int sys_chflagsat(struct proc *, void *, register_t *);
+int sys_tame(struct proc *, void *, register_t *);
int sys_ppoll(struct proc *, void *, register_t *);
int sys_pselect(struct proc *, void *, register_t *);
int sys_sigsuspend(struct proc *, void *, register_t *);