summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/netbsd/netbsd_syscall.h13
-rw-r--r--sys/compat/netbsd/netbsd_syscallargs.h17
-rw-r--r--sys/compat/netbsd/netbsd_syscalls.c10
-rw-r--r--sys/compat/netbsd/netbsd_sysent.c14
4 files changed, 38 insertions, 16 deletions
diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h
index f3421bd4617..ba2321f0668 100644
--- a/sys/compat/netbsd/netbsd_syscall.h
+++ b/sys/compat/netbsd/netbsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscall.h,v 1.3 1999/09/14 01:07:01 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscall.h,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.3 1999/09/14 01:05:25 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -637,6 +637,9 @@
/* syscall: "__sigaltstack14" ret: "int" args: "const struct netbsd_sigaltstack *" "struct netbsd_sigaltstack *" */
#define NETBSD_SYS___sigaltstack14 281
+/* syscall: "__vfork14" ret: "int" args: */
+#define NETBSD_SYS___vfork14 282
+
/* syscall: "getsid" ret: "int" args: "pid_t" */
#define NETBSD_SYS_getsid 286
@@ -646,6 +649,12 @@
/* syscall: "__sigpending14" ret: "int" args: "netbsd_sigset_t *" */
#define NETBSD_SYS___sigpending14 292
+/* syscall: "__sigprocmask14" ret: "int" args: "int" "const netbsd_sigset_t *" "netbsd_sigset_t *" */
+#define NETBSD_SYS___sigprocmask14 293
+
+/* syscall: "__sigsuspend14" ret: "int" args: "const netbsd_sigset_t *" */
+#define NETBSD_SYS___sigsuspend14 294
+
/* syscall: "__sigreturn14" ret: "int" args: "struct netbsd_sigcontext *" */
#define NETBSD_SYS___sigreturn14 295
diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h
index 7ad5d311516..717d2197523 100644
--- a/sys/compat/netbsd/netbsd_syscallargs.h
+++ b/sys/compat/netbsd/netbsd_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscallargs.h,v 1.3 1999/09/14 01:07:01 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscallargs.h,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.3 1999/09/14 01:05:25 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -39,6 +39,16 @@ struct netbsd_sys___sigpending14_args {
syscallarg(netbsd_sigset_t *) set;
};
+struct netbsd_sys___sigprocmask14_args {
+ syscallarg(int) how;
+ syscallarg(const netbsd_sigset_t *) set;
+ syscallarg(netbsd_sigset_t *) oset;
+};
+
+struct netbsd_sys___sigsuspend14_args {
+ syscallarg(const netbsd_sigset_t *) set;
+};
+
struct netbsd_sys___sigreturn14_args {
syscallarg(struct netbsd_sigcontext *) sigcntxp;
};
@@ -306,11 +316,14 @@ int netbsd_sys___stat13 __P((struct proc *, void *, register_t *));
int netbsd_sys___fstat13 __P((struct proc *, void *, register_t *));
int netbsd_sys___lstat13 __P((struct proc *, void *, register_t *));
int netbsd_sys___sigaltstack14 __P((struct proc *, void *, register_t *));
+int netbsd_sys___vfork14 __P((struct proc *, void *, register_t *));
int sys_getsid __P((struct proc *, void *, register_t *));
#ifdef KTRACE
#else
#endif
int netbsd_sys___sigaction14 __P((struct proc *, void *, register_t *));
int netbsd_sys___sigpending14 __P((struct proc *, void *, register_t *));
+int netbsd_sys___sigprocmask14 __P((struct proc *, void *, register_t *));
+int netbsd_sys___sigsuspend14 __P((struct proc *, void *, register_t *));
int netbsd_sys___sigreturn14 __P((struct proc *, void *, register_t *));
int netbsd_sys___getcwd __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c
index 147343d4c9d..cde5a63e0e6 100644
--- a/sys/compat/netbsd/netbsd_syscalls.c
+++ b/sys/compat/netbsd/netbsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscalls.c,v 1.3 1999/09/14 01:07:01 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscalls.c,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.3 1999/09/14 01:05:25 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
*/
char *netbsd_syscallnames[] = {
@@ -364,7 +364,7 @@ char *netbsd_syscallnames[] = {
"__fstat13", /* 279 = __fstat13 */
"__lstat13", /* 280 = __lstat13 */
"__sigaltstack14", /* 281 = __sigaltstack14 */
- "#282 (unimplemented)", /* 282 = unimplemented */
+ "__vfork14", /* 282 = __vfork14 */
"#283 (unimplemented)", /* 283 = unimplemented */
"#284 (unimplemented)", /* 284 = unimplemented */
"#285 (unimplemented)", /* 285 = unimplemented */
@@ -379,8 +379,8 @@ char *netbsd_syscallnames[] = {
"#290 (unimplemented)", /* 290 = unimplemented */
"__sigaction14", /* 291 = __sigaction14 */
"__sigpending14", /* 292 = __sigpending14 */
- "#293 (unimplemented)", /* 293 = unimplemented */
- "#294 (unimplemented)", /* 294 = unimplemented */
+ "__sigprocmask14", /* 293 = __sigprocmask14 */
+ "__sigsuspend14", /* 294 = __sigsuspend14 */
"__sigreturn14", /* 295 = __sigreturn14 */
"__getcwd", /* 296 = __getcwd */
"#297 (unimplemented)", /* 297 = unimplemented */
diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c
index 319bb0bbf53..9d2e9cc06ee 100644
--- a/sys/compat/netbsd/netbsd_sysent.c
+++ b/sys/compat/netbsd/netbsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_sysent.c,v 1.3 1999/09/14 01:07:01 kstailey Exp $ */
+/* $OpenBSD: netbsd_sysent.c,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.3 1999/09/14 01:05:25 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
*/
#include <sys/param.h>
@@ -696,7 +696,7 @@ struct sysent netbsd_sysent[] = {
{ 2, s(struct netbsd_sys___sigaltstack14_args),
netbsd_sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
{ 0, 0,
- sys_nosys }, /* 282 = unimplemented */
+ netbsd_sys___vfork14 }, /* 282 = __vfork14 */
{ 0, 0,
sys_nosys }, /* 283 = unimplemented */
{ 0, 0,
@@ -722,10 +722,10 @@ struct sysent netbsd_sysent[] = {
netbsd_sys___sigaction14 }, /* 291 = __sigaction14 */
{ 1, s(struct netbsd_sys___sigpending14_args),
netbsd_sys___sigpending14 }, /* 292 = __sigpending14 */
- { 0, 0,
- sys_nosys }, /* 293 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 294 = unimplemented */
+ { 3, s(struct netbsd_sys___sigprocmask14_args),
+ netbsd_sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
+ { 1, s(struct netbsd_sys___sigsuspend14_args),
+ netbsd_sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
{ 1, s(struct netbsd_sys___sigreturn14_args),
netbsd_sys___sigreturn14 }, /* 295 = __sigreturn14 */
{ 2, s(struct netbsd_sys___getcwd_args),