summaryrefslogtreecommitdiff
path: root/sys/compat/hpux
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-11 00:21:30 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-11 00:21:30 +0000
commit3543f90f96b96bcd7fbfc9b0e18e5473ca9c8c06 (patch)
tree5433430f7daeedb74c72423ac25f0413ae5a36f5 /sys/compat/hpux
parent8f0d88437ae90da0f6e6e2816078b9ddb05f2d2e (diff)
regen
Diffstat (limited to 'sys/compat/hpux')
-rw-r--r--sys/compat/hpux/hppa/hpux_syscall.h7
-rw-r--r--sys/compat/hpux/hppa/hpux_syscallargs.h10
-rw-r--r--sys/compat/hpux/hppa/hpux_syscalls.c6
-rw-r--r--sys/compat/hpux/hppa/hpux_sysent.c8
4 files changed, 20 insertions, 11 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h
index 35c744325ff..2245264b33b 100644
--- a/sys/compat/hpux/hppa/hpux_syscall.h
+++ b/sys/compat/hpux/hppa/hpux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: hpux_syscall.h,v 1.2 2004/07/10 22:38:11 mickey Exp $ */
+/* $OpenBSD: hpux_syscall.h,v 1.3 2004/07/11 00:21:29 mickey Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.2 2004/07/10 22:37:33 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -403,4 +403,7 @@
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
#define HPUX_SYS_nanosleep 353
+/* syscall: "sigaltstack" ret: "int" args: "const struct hpux_sigaltstack *" "struct hpux_sigaltstack *" */
+#define HPUX_SYS_sigaltstack 381
+
#define HPUX_SYS_MAXSYSCALL 526
diff --git a/sys/compat/hpux/hppa/hpux_syscallargs.h b/sys/compat/hpux/hppa/hpux_syscallargs.h
index 2f4abb5dae2..8d73395d4da 100644
--- a/sys/compat/hpux/hppa/hpux_syscallargs.h
+++ b/sys/compat/hpux/hppa/hpux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: hpux_syscallargs.h,v 1.2 2004/07/10 22:38:11 mickey Exp $ */
+/* $OpenBSD: hpux_syscallargs.h,v 1.3 2004/07/11 00:21:29 mickey Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.2 2004/07/10 22:37:33 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp
*/
#ifdef syscallarg
@@ -337,6 +337,11 @@ struct hpux_sys_nshmctl_args {
syscallarg(caddr_t) buf;
};
+struct hpux_sys_sigaltstack_args {
+ syscallarg(const struct hpux_sigaltstack *) nss;
+ syscallarg(struct hpux_sigaltstack *) oss;
+};
+
/*
* System call prototypes.
*/
@@ -494,3 +499,4 @@ int hpux_sys_nshmctl(struct proc *, void *, register_t *);
#endif
int sys_lchown(struct proc *, void *, register_t *);
int sys_nanosleep(struct proc *, void *, register_t *);
+int hpux_sys_sigaltstack(struct proc *, void *, register_t *);
diff --git a/sys/compat/hpux/hppa/hpux_syscalls.c b/sys/compat/hpux/hppa/hpux_syscalls.c
index a8105a3da52..39a224a8596 100644
--- a/sys/compat/hpux/hppa/hpux_syscalls.c
+++ b/sys/compat/hpux/hppa/hpux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: hpux_syscalls.c,v 1.2 2004/07/10 22:38:11 mickey Exp $ */
+/* $OpenBSD: hpux_syscalls.c,v 1.3 2004/07/11 00:21:29 mickey Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.2 2004/07/10 22:37:33 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp
*/
char *hpux_syscallnames[] = {
@@ -425,7 +425,7 @@ char *hpux_syscallnames[] = {
"#378 (unimplemented pwrite64)", /* 378 = unimplemented pwrite64 */
"#379 (unimplemented pwritev64)", /* 379 = unimplemented pwritev64 */
"#380 (unimplemented setcontext)", /* 380 = unimplemented setcontext */
- "#381 (unimplemented sigaltstack)", /* 381 = unimplemented sigaltstack */
+ "sigaltstack", /* 381 = sigaltstack */
"#382 (unimplemented waitid)", /* 382 = unimplemented waitid */
"#383 (unimplemented setpgrp)", /* 383 = unimplemented setpgrp */
"#384 (unimplemented recvmsg2)", /* 384 = unimplemented recvmsg2 */
diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c
index 3e928d0032d..62c685421a3 100644
--- a/sys/compat/hpux/hppa/hpux_sysent.c
+++ b/sys/compat/hpux/hppa/hpux_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: hpux_sysent.c,v 1.2 2004/07/10 22:38:11 mickey Exp $ */
+/* $OpenBSD: hpux_sysent.c,v 1.3 2004/07/11 00:21:29 mickey Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.2 2004/07/10 22:37:33 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp
*/
#include <sys/param.h>
@@ -833,8 +833,8 @@ struct sysent hpux_sysent[] = {
sys_nosys }, /* 379 = unimplemented pwritev64 */
{ 0, 0,
sys_nosys }, /* 380 = unimplemented setcontext */
- { 0, 0,
- sys_nosys }, /* 381 = unimplemented sigaltstack */
+ { 2, s(struct hpux_sys_sigaltstack_args),
+ hpux_sys_sigaltstack }, /* 381 = sigaltstack */
{ 0, 0,
sys_nosys }, /* 382 = unimplemented waitid */
{ 0, 0,