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.h12
4 files changed, 22 insertions, 12 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index dbdeb9cb69c..34dfa4c8ab1 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.160 2014/10/09 03:36:05 tedu Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.161 2014/12/08 20:56:34 guenther Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.148 2014/10/09 03:35:06 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.149 2014/12/08 20:56:11 guenther Exp
*/
#include <sys/param.h>
@@ -247,8 +247,8 @@ struct sysent sysent[] = {
sys_setsockopt }, /* 105 = setsockopt */
{ 2, s(struct sys_listen_args), 0,
sys_listen }, /* 106 = listen */
- { 0, 0, 0,
- sys_nosys }, /* 107 = obsolete vtimes */
+ { 4, s(struct sys_chflagsat_args), 0,
+ sys_chflagsat }, /* 107 = chflagsat */
{ 0, 0, 0,
sys_nosys }, /* 108 = obsolete osigvec */
{ 4, s(struct sys_ppoll_args), 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 51395baf444..705971ee151 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.161 2014/10/09 03:36:05 tedu Exp $ */
+/* $OpenBSD: syscalls.c,v 1.162 2014/12/08 20:56:34 guenther Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.148 2014/10/09 03:35:06 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.149 2014/12/08 20:56:11 guenther Exp
*/
char *syscallnames[] = {
@@ -127,7 +127,7 @@ char *syscallnames[] = {
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
- "#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
+ "chflagsat", /* 107 = chflagsat */
"#108 (obsolete osigvec)", /* 108 = obsolete osigvec */
"ppoll", /* 109 = ppoll */
"pselect", /* 110 = pselect */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 13a4d4d3b48..bcee306b2e2 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.160 2014/10/09 03:36:05 tedu Exp $ */
+/* $OpenBSD: syscall.h,v 1.161 2014/12/08 20:56:34 guenther Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.148 2014/10/09 03:35:06 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.149 2014/12/08 20:56:11 guenther Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -326,7 +326,9 @@
/* syscall: "listen" ret: "int" args: "int" "int" */
#define SYS_listen 106
- /* 107 is obsolete vtimes */
+/* syscall: "chflagsat" ret: "int" args: "int" "const char *" "u_int" "int" */
+#define SYS_chflagsat 107
+
/* 108 is obsolete osigvec */
/* 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 70e321c692d..67e0dddc48f 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.162 2014/10/09 03:36:05 tedu Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.163 2014/12/08 20:56:34 guenther Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.148 2014/10/09 03:35:06 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.149 2014/12/08 20:56:11 guenther Exp
*/
#ifdef syscallarg
@@ -531,6 +531,13 @@ struct sys_listen_args {
syscallarg(int) backlog;
};
+struct sys_chflagsat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(u_int) flags;
+ syscallarg(int) atflags;
+};
+
struct sys_ppoll_args {
syscallarg(struct pollfd *) fds;
syscallarg(u_int) nfds;
@@ -1181,6 +1188,7 @@ int sys_sigreturn(struct proc *, void *, register_t *);
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_ppoll(struct proc *, void *, register_t *);
int sys_pselect(struct proc *, void *, register_t *);
int sys_sigsuspend(struct proc *, void *, register_t *);