summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2001-02-02 19:46:39 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2001-02-02 19:46:39 +0000
commit6df397adccd28bfcc8bf941a4ebaf0fdefb2b99a (patch)
tree06b9991ad676c966c623a29ba56cce9664cb9fb9 /sys
parentf2cb1cd341ed477e7f57380382cc6b03c2f210ab (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h16
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h28
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c12
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c21
4 files changed, 57 insertions, 20 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index c75281bf6f0..16fa87195a6 100644
--- a/sys/compat/freebsd/freebsd_syscall.h
+++ b/sys/compat/freebsd/freebsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscall.h,v 1.14 2000/07/07 18:29:30 brad Exp $ */
+/* $OpenBSD: freebsd_syscall.h,v 1.15 2001/02/02 19:46:37 tholo Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.14 2000/07/07 18:26:43 brad Exp
+ * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -611,4 +611,16 @@
/* syscall: "lchown" ret: "int" args: "char *" "int" "int" */
#define FREEBSD_SYS_lchown 254
+/* syscall: "sigprocmask40" ret: "int" args: "int" "const freebsd_sigset_t *" "freebsd_sigset_t *" */
+#define FREEBSD_SYS_sigprocmask40 340
+
+/* syscall: "sigsuspend40" ret: "int" args: "const freebsd_sigset_t *" */
+#define FREEBSD_SYS_sigsuspend40 341
+
+/* syscall: "sigaction40" ret: "int" args: "int" "const struct freebsd_sigaction *" "struct freebsd_sigaction *" */
+#define FREEBSD_SYS_sigaction40 342
+
+/* syscall: "sigpending40" ret: "int" args: "freebsd_sigset_t *" */
+#define FREEBSD_SYS_sigpending40 343
+
#define FREEBSD_SYS_MAXSYSCALL 364
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index aa0124f606f..1a3bf596100 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscallargs.h,v 1.15 2000/07/07 18:29:30 brad Exp $ */
+/* $OpenBSD: freebsd_syscallargs.h,v 1.16 2001/02/02 19:46:38 tholo Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.14 2000/07/07 18:26:43 brad Exp
+ * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -222,6 +222,26 @@ struct freebsd_sys_poll2_args {
syscallarg(int) timeout;
};
+struct freebsd_sys_sigprocmask40_args {
+ syscallarg(int) how;
+ syscallarg(const freebsd_sigset_t *) set;
+ syscallarg(freebsd_sigset_t *) oset;
+};
+
+struct freebsd_sys_sigsuspend40_args {
+ syscallarg(const freebsd_sigset_t *) sigmask;
+};
+
+struct freebsd_sys_sigaction40_args {
+ syscallarg(int) sig;
+ syscallarg(const struct freebsd_sigaction *) act;
+ syscallarg(struct freebsd_sigaction *) oact;
+};
+
+struct freebsd_sys_sigpending40_args {
+ syscallarg(freebsd_sigset_t *) set;
+};
+
/*
* System call prototypes.
*/
@@ -460,3 +480,7 @@ int sys_rfork __P((struct proc *, void *, register_t *));
int freebsd_sys_poll2 __P((struct proc *, void *, register_t *));
int sys_issetugid __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));
+int freebsd_sys_sigprocmask40 __P((struct proc *, void *, register_t *));
+int freebsd_sys_sigsuspend40 __P((struct proc *, void *, register_t *));
+int freebsd_sys_sigaction40 __P((struct proc *, void *, register_t *));
+int freebsd_sys_sigpending40 __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index a8d87bf6d8d..4d76509c376 100644
--- a/sys/compat/freebsd/freebsd_syscalls.c
+++ b/sys/compat/freebsd/freebsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscalls.c,v 1.14 2000/07/07 18:29:30 brad Exp $ */
+/* $OpenBSD: freebsd_syscalls.c,v 1.15 2001/02/02 19:46:38 tholo Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.14 2000/07/07 18:26:43 brad Exp
+ * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp
*/
char *freebsd_syscallnames[] = {
@@ -408,10 +408,10 @@ char *freebsd_syscallnames[] = {
"#337 (unimplemented kldsym)", /* 337 = unimplemented kldsym */
"#338 (unimplemented jail)", /* 338 = unimplemented jail */
"#339 (unimplemented pioctl)", /* 339 = unimplemented pioctl */
- "#340 (unimplemented 4.0 sigprocmask)", /* 340 = unimplemented 4.0 sigprocmask */
- "#341 (unimplemented 4.0 sigsuspend)", /* 341 = unimplemented 4.0 sigsuspend */
- "#342 (unimplemented 4.0 sigaction)", /* 342 = unimplemented 4.0 sigaction */
- "#343 (unimplemented 4.0 sigpending)", /* 343 = unimplemented 4.0 sigpending */
+ "sigprocmask40", /* 340 = sigprocmask40 */
+ "sigsuspend40", /* 341 = sigsuspend40 */
+ "sigaction40", /* 342 = sigaction40 */
+ "sigpending40", /* 343 = sigpending40 */
"#344 (unimplemented 4.0 sigreturn)", /* 344 = unimplemented 4.0 sigreturn */
"#345 (unimplemented sigtimedwait)", /* 345 = unimplemented sigtimedwait */
"#346 (unimplemented sigwaitinfo)", /* 346 = unimplemented sigwaitinfo */
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index 17a4828fc97..d2f4b867147 100644
--- a/sys/compat/freebsd/freebsd_sysent.c
+++ b/sys/compat/freebsd/freebsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_sysent.c,v 1.15 2000/07/07 18:29:30 brad Exp $ */
+/* $OpenBSD: freebsd_sysent.c,v 1.16 2001/02/02 19:46:38 tholo Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.14 2000/07/07 18:26:43 brad Exp
+ * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp
*/
#include <sys/param.h>
@@ -12,6 +12,7 @@
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
+#include <compat/freebsd/freebsd_signal.h>
#include <compat/freebsd/freebsd_syscallargs.h>
#include <machine/freebsd_machdep.h>
@@ -782,14 +783,14 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 338 = unimplemented jail */
{ 0, 0,
sys_nosys }, /* 339 = unimplemented pioctl */
- { 0, 0,
- sys_nosys }, /* 340 = unimplemented 4.0 sigprocmask */
- { 0, 0,
- sys_nosys }, /* 341 = unimplemented 4.0 sigsuspend */
- { 0, 0,
- sys_nosys }, /* 342 = unimplemented 4.0 sigaction */
- { 0, 0,
- sys_nosys }, /* 343 = unimplemented 4.0 sigpending */
+ { 3, s(struct freebsd_sys_sigprocmask40_args),
+ freebsd_sys_sigprocmask40 }, /* 340 = sigprocmask40 */
+ { 1, s(struct freebsd_sys_sigsuspend40_args),
+ freebsd_sys_sigsuspend40 }, /* 341 = sigsuspend40 */
+ { 3, s(struct freebsd_sys_sigaction40_args),
+ freebsd_sys_sigaction40 }, /* 342 = sigaction40 */
+ { 1, s(struct freebsd_sys_sigpending40_args),
+ freebsd_sys_sigpending40 }, /* 343 = sigpending40 */
{ 0, 0,
sys_nosys }, /* 344 = unimplemented 4.0 sigreturn */
{ 0, 0,