summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-07-02 19:57:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-07-02 19:57:16 +0000
commitae925fd12cfb7f45b45cdc7d9949a532f7036b20 (patch)
tree806a9b8a6a49f2e117aa7a7926f3df486a4b6d79 /sys/kern/kern_sig.c
parent60e9a7fdfa994a34001f5c17cd3a32546ee4e9a0 (diff)
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.