summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/init_sysent.c10
-rw-r--r--sys/kern/syscalls.c7
-rw-r--r--sys/sys/syscall.h13
-rw-r--r--sys/sys/syscallargs.h18
4 files changed, 30 insertions, 18 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index e937ed7b5a5..28556df1de4 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.74 2004/01/12 18:08:51 tedu Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.75 2004/01/14 05:25:10 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.67 2004/01/14 05:23:25 tedu Exp
*/
#include <sys/param.h>
@@ -165,8 +165,8 @@ struct sysent sysent[] = {
sys_acct }, /* 51 = acct */
{ 0, 0,
sys_sigpending }, /* 52 = sigpending */
- { 2, s(struct sys_sigaltstack_args),
- sys_sigaltstack }, /* 53 = sigaltstack */
+ { 2, s(struct sys_osigaltstack_args),
+ sys_osigaltstack }, /* 53 = osigaltstack */
{ 3, s(struct sys_ioctl_args),
sys_ioctl }, /* 54 = ioctl */
{ 1, s(struct sys_reboot_args),
@@ -754,5 +754,7 @@ struct sysent sysent[] = {
sys_mquery }, /* 286 = mquery */
{ 1, s(struct sys_closefrom_args),
sys_closefrom }, /* 287 = closefrom */
+ { 2, s(struct sys_sigaltstack_args),
+ sys_sigaltstack }, /* 288 = sigaltstack */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index e7b7820ffdb..78d2f08753e 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.74 2004/01/12 18:08:51 tedu Exp $ */
+/* $OpenBSD: syscalls.c,v 1.75 2004/01/14 05:25:10 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.67 2004/01/14 05:23:25 tedu Exp
*/
char *syscallnames[] = {
@@ -69,7 +69,7 @@ char *syscallnames[] = {
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
"sigpending", /* 52 = sigpending */
- "sigaltstack", /* 53 = sigaltstack */
+ "osigaltstack", /* 53 = osigaltstack */
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
"revoke", /* 56 = revoke */
@@ -383,4 +383,5 @@ char *syscallnames[] = {
"#285 (obsolete sys_omquery)", /* 285 = obsolete sys_omquery */
"mquery", /* 286 = mquery */
"closefrom", /* 287 = closefrom */
+ "sigaltstack", /* 288 = sigaltstack */
};
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 57b597db5d6..4b6e4be1e2f 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.73 2004/01/12 18:08:51 tedu Exp $ */
+/* $OpenBSD: syscall.h,v 1.74 2004/01/14 05:25:10 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.67 2004/01/14 05:23:25 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -159,8 +159,8 @@
/* syscall: "sigpending" ret: "int" args: */
#define SYS_sigpending 52
-/* syscall: "sigaltstack" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
-#define SYS_sigaltstack 53
+/* syscall: "osigaltstack" ret: "int" args: "const struct osigaltstack *" "struct osigaltstack *" */
+#define SYS_osigaltstack 53
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
#define SYS_ioctl 54
@@ -673,4 +673,7 @@
/* syscall: "closefrom" ret: "int" args: "int" */
#define SYS_closefrom 287
-#define SYS_MAXSYSCALL 288
+/* syscall: "sigaltstack" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
+#define SYS_sigaltstack 288
+
+#define SYS_MAXSYSCALL 289
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 1192b573e2e..c2f2e00d3dd 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.75 2004/01/12 18:08:51 tedu Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.76 2004/01/14 05:25:10 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.67 2004/01/14 05:23:25 tedu Exp
*/
#ifdef syscallarg
@@ -245,9 +245,9 @@ struct sys_acct_args {
syscallarg(const char *) path;
};
-struct sys_sigaltstack_args {
- syscallarg(const struct sigaltstack *) nss;
- syscallarg(struct sigaltstack *) oss;
+struct sys_osigaltstack_args {
+ syscallarg(const struct osigaltstack *) nss;
+ syscallarg(struct osigaltstack *) oss;
};
struct sys_ioctl_args {
@@ -1217,6 +1217,11 @@ struct sys_closefrom_args {
syscallarg(int) fd;
};
+struct sys_sigaltstack_args {
+ syscallarg(const struct sigaltstack *) nss;
+ syscallarg(struct sigaltstack *) oss;
+};
+
/*
* System call prototypes.
*/
@@ -1278,7 +1283,7 @@ int sys_getlogin(struct proc *, void *, register_t *);
int sys_setlogin(struct proc *, void *, register_t *);
int sys_acct(struct proc *, void *, register_t *);
int sys_sigpending(struct proc *, void *, register_t *);
-int sys_sigaltstack(struct proc *, void *, register_t *);
+int sys_osigaltstack(struct proc *, void *, register_t *);
int sys_ioctl(struct proc *, void *, register_t *);
int sys_reboot(struct proc *, void *, register_t *);
int sys_revoke(struct proc *, void *, register_t *);
@@ -1508,3 +1513,4 @@ int sys_getresgid(struct proc *, void *, register_t *);
int sys_setresgid(struct proc *, void *, register_t *);
int sys_mquery(struct proc *, void *, register_t *);
int sys_closefrom(struct proc *, void *, register_t *);
+int sys_sigaltstack(struct proc *, void *, register_t *);