summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-11-22 21:13:30 +0000
committerguenther <guenther@openbsd.org>2011-11-22 21:13:30 +0000
commit3b196c124d1cd2fc70c021007a33e8007d744e89 (patch)
treeb74751679f8d87a6287accea2b6a393c6a05859c /sys
parentdocument SYSTRACE_FILTER_CCACHE, prompted by espie@ (diff)
downloadwireguard-openbsd-3b196c124d1cd2fc70c021007a33e8007d744e89.tar.xz
wireguard-openbsd-3b196c124d1cd2fc70c021007a33e8007d744e89.zip
sigstack() is long dead, and the compat sigaltstack syscall is gone too.
Correct the namespace protections for sigreturn(), sigwait(), and psignal() ok millert@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/signal.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 3aa0eb4b877..8f8e032f8d8 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.22 2011/07/06 17:39:22 guenther Exp $ */
+/* $OpenBSD: signal.h,v 1.23 2011/11/22 21:13:30 guenther Exp $ */
/* $NetBSD: signal.h,v 1.21 1996/02/09 18:25:32 christos Exp $ */
/*
@@ -169,14 +169,6 @@ struct sigvec {
#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
/*
- * Structure used in sigstack call.
- */
-struct sigstack {
- void *ss_sp; /* signal stack pointer */
- int ss_onstack; /* current status */
-};
-
-/*
* Structure used in sigaltstack call.
*/
typedef struct sigaltstack {
@@ -189,14 +181,6 @@ typedef struct sigaltstack {
#define MINSIGSTKSZ 8192 /* minimum allowable stack */
#define SIGSTKSZ (MINSIGSTKSZ + 32768) /* recommended stack size */
-#ifdef _KERNEL
-struct osigaltstack {
- void *ss_sp; /* signal stack base */
- int ss_size; /* signal stack length */
- int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */
-};
-#endif
-
typedef struct sigcontext ucontext_t;
#endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */