summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2010-07-02 19:57:14 +0000
committertedu <tedu@openbsd.org>2010-07-02 19:57:14 +0000
commit3d5b65aa2580690493fab122bdd66df723cfc189 (patch)
tree49296dba16460faf27f6dc0864d5890172850a07 /sys/kern/kern_sig.c
parentfix mistakes that have been created by my porting to OpenBSD. (diff)
downloadwireguard-openbsd-3d5b65aa2580690493fab122bdd66df723cfc189.tar.xz
wireguard-openbsd-3d5b65aa2580690493fab122bdd66df723cfc189.zip
remove support for compat_sunos (and m68k4k). ok deraadt guenther
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 61750042796..eaff0b94351 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.114 2010/07/01 02:41:12 guenther Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.115 2010/07/02 19:57:15 tedu Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -313,17 +313,6 @@ setsigvec(struct proc *p, int signum, struct sigaction *sa)
ps->ps_sigonstack |= bit;
else
ps->ps_sigonstack &= ~bit;
-#ifdef COMPAT_SUNOS
- {
- extern struct emul emul_sunos;
- if (p->p_emul == &emul_sunos) {
- if (sa->sa_flags & SA_USERTRAMP)
- ps->ps_usertramp |= bit;
- else
- ps->ps_usertramp &= ~bit;
- }
- }
-#endif
/*
* Set bit in p_sigignore for signals that are set to SIG_IGN,
* and for signals set to SIG_DFL where the default is to ignore.