summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1999-05-22 21:25:52 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1999-05-22 21:25:52 +0000
commitaf195c04fc180f2d000f8f2f84a83b7d706a4fde (patch)
tree82fdcd07a8a660ac18eb0f3aa85bd007c673f24b
parentc82c3c20557f0aa62196e4bb7ad7abc911a65b77 (diff)
Sync syscalls.master
-rw-r--r--sys/kern/init_sysent.c8
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall.h7
-rw-r--r--sys/sys/syscallargs.h11
4 files changed, 21 insertions, 11 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 1232789ad49..b8e88982db8 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.36 1999/02/15 21:29:21 millert Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.37 1999/05/22 21:25:51 weingart Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.35 1999/05/22 21:23:40 weingart Exp
*/
#include <sys/param.h>
@@ -480,8 +480,8 @@ struct sysent sysent[] = {
sys_pathconf }, /* 191 = pathconf */
{ 2, s(struct sys_fpathconf_args),
sys_fpathconf }, /* 192 = fpathconf */
- { 0, 0,
- sys_nosys }, /* 193 = unimplemented */
+ { 3, s(struct sys_swapctl_args),
+ sys_swapctl }, /* 193 = swapctl */
{ 2, s(struct sys_getrlimit_args),
sys_getrlimit }, /* 194 = getrlimit */
{ 2, s(struct sys_setrlimit_args),
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 1caaad350dc..b918a0d242a 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.36 1999/02/15 21:29:21 millert Exp $ */
+/* $OpenBSD: syscalls.c,v 1.37 1999/05/22 21:25:51 weingart Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.35 1999/05/22 21:23:40 weingart Exp
*/
char *syscallnames[] = {
@@ -241,7 +241,7 @@ char *syscallnames[] = {
"lstat", /* 190 = lstat */
"pathconf", /* 191 = pathconf */
"fpathconf", /* 192 = fpathconf */
- "#193 (unimplemented)", /* 193 = unimplemented */
+ "swapctl", /* 193 = swapctl */
"getrlimit", /* 194 = getrlimit */
"setrlimit", /* 195 = setrlimit */
"getdirentries", /* 196 = getdirentries */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index aedbc4c85fd..69326ba30fe 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.35 1999/02/26 02:02:44 millert Exp $ */
+/* $OpenBSD: syscall.h,v 1.36 1999/05/22 21:25:51 weingart Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.35 1999/05/22 21:23:40 weingart Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -476,6 +476,9 @@
/* syscall: "fpathconf" ret: "long" args: "int" "int" */
#define SYS_fpathconf 192
+/* syscall: "swapctl" ret: "int" args: "int" "const void *" "int" */
+#define SYS_swapctl 193
+
/* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
#define SYS_getrlimit 194
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 7a094fd1087..4e2945c79bc 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.36 1999/02/26 02:02:43 millert Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.37 1999/05/22 21:25:51 weingart Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.34 1999/02/15 21:28:23 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.35 1999/05/22 21:23:40 weingart Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -810,6 +810,12 @@ struct sys_fpathconf_args {
syscallarg(int) name;
};
+struct sys_swapctl_args {
+ syscallarg(int) cmd;
+ syscallarg(const void *) arg;
+ syscallarg(int) misc;
+};
+
struct sys_getrlimit_args {
syscallarg(int) which;
syscallarg(struct rlimit *) rlp;
@@ -1235,6 +1241,7 @@ int sys_fstat __P((struct proc *, void *, register_t *));
int sys_lstat __P((struct proc *, void *, register_t *));
int sys_pathconf __P((struct proc *, void *, register_t *));
int sys_fpathconf __P((struct proc *, void *, register_t *));
+int sys_swapctl __P((struct proc *, void *, register_t *));
int sys_getrlimit __P((struct proc *, void *, register_t *));
int sys_setrlimit __P((struct proc *, void *, register_t *));
int sys_getdirentries __P((struct proc *, void *, register_t *));