summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-08-12 00:04:07 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-08-12 00:04:07 +0000
commit534150baafaa8ddaf1e019a3972416ec849d0ee3 (patch)
treeeeeeaccaf4a1c9fe29476a819ef7c96666542a88 /sys
parent289938667d788e93073150843be0ed741bbac285 (diff)
regen
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c11
-rw-r--r--sys/kern/syscalls.c10
-rw-r--r--sys/sys/syscall.h8
-rw-r--r--sys/sys/syscallargs.h15
4 files changed, 33 insertions, 11 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 08e858abc7c..2b46cda280b 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.188 2017/04/28 13:51:14 mpi Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.189 2017/08/12 00:04:06 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
+ * created from; OpenBSD: syscalls.master,v 1.177 2017/08/12 00:03:10 tedu Exp
*/
#include <sys/param.h>
@@ -258,8 +258,13 @@ struct sysent sysent[] = {
sys_sigsuspend }, /* 111 = sigsuspend */
{ 3, s(struct sys_sendsyslog_args), 0,
sys_sendsyslog }, /* 112 = sendsyslog */
+#ifdef KTRACE
+ { 4, s(struct sys_fktrace_args), 0,
+ sys_fktrace }, /* 113 = fktrace */
+#else
{ 0, 0, 0,
- sys_nosys }, /* 113 = obsolete orecvmsg */
+ sys_nosys }, /* 113 = unimplemented fktrace */
+#endif
{ 0, 0, 0,
sys_nosys }, /* 114 = obsolete osendmsg */
{ 0, 0, 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 979c573f97c..0bd41a89b71 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.187 2017/04/28 13:51:14 mpi Exp $ */
+/* $OpenBSD: syscalls.c,v 1.188 2017/08/12 00:04:06 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
+ * created from; OpenBSD: syscalls.master,v 1.177 2017/08/12 00:03:10 tedu Exp
*/
char *syscallnames[] = {
@@ -133,7 +133,11 @@ char *syscallnames[] = {
"pselect", /* 110 = pselect */
"sigsuspend", /* 111 = sigsuspend */
"sendsyslog", /* 112 = sendsyslog */
- "#113 (obsolete orecvmsg)", /* 113 = obsolete orecvmsg */
+#ifdef KTRACE
+ "fktrace", /* 113 = fktrace */
+#else
+ "#113 (unimplemented fktrace)", /* 113 = unimplemented fktrace */
+#endif
"#114 (obsolete osendmsg)", /* 114 = obsolete osendmsg */
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
"#116 (obsolete t32_gettimeofday)", /* 116 = obsolete t32_gettimeofday */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 2dc62f35d24..6de2ad623f6 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.186 2017/04/28 13:51:14 mpi Exp $ */
+/* $OpenBSD: syscall.h,v 1.187 2017/08/12 00:04:06 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
+ * created from; OpenBSD: syscalls.master,v 1.177 2017/08/12 00:03:10 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -342,7 +342,9 @@
/* syscall: "sendsyslog" ret: "int" args: "const void *" "size_t" "int" */
#define SYS_sendsyslog 112
- /* 113 is obsolete orecvmsg */
+/* syscall: "fktrace" ret: "int" args: "int" "int" "int" "pid_t" */
+#define SYS_fktrace 113
+
/* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
/* 116 is obsolete t32_gettimeofday */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 6679acf51eb..184199de287 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.189 2017/04/28 13:51:14 mpi Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.190 2017/08/12 00:04:06 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
+ * created from; OpenBSD: syscalls.master,v 1.177 2017/08/12 00:03:10 tedu Exp
*/
#ifdef syscallarg
@@ -568,6 +568,13 @@ struct sys_sendsyslog_args {
syscallarg(int) flags;
};
+struct sys_fktrace_args {
+ syscallarg(int) fd;
+ syscallarg(int) ops;
+ syscallarg(int) facs;
+ syscallarg(pid_t) pid;
+};
+
struct sys_getsockopt_args {
syscallarg(int) s;
syscallarg(int) level;
@@ -1219,6 +1226,10 @@ int sys_ppoll(struct proc *, void *, register_t *);
int sys_pselect(struct proc *, void *, register_t *);
int sys_sigsuspend(struct proc *, void *, register_t *);
int sys_sendsyslog(struct proc *, void *, register_t *);
+#ifdef KTRACE
+int sys_fktrace(struct proc *, void *, register_t *);
+#else
+#endif
int sys_getsockopt(struct proc *, void *, register_t *);
int sys_thrkill(struct proc *, void *, register_t *);
int sys_readv(struct proc *, void *, register_t *);