summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-07 20:17:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-07 20:17:26 +0000
commitaa63f47ee7c9bc442ea4dbe254cda3e049623c05 (patch)
tree8e51100a3c6be4fc75e2d55091b075e06155cb59 /sys/kern
parentd65f1085091a7ffed91233cf171666ad2f1566a1 (diff)
permit SIGUSR1/USR2 through as well in cansignal()
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 4ed1a0f0a4f..4f96e9ce750 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.29 1998/05/30 20:54:42 deraadt Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.30 1998/06/07 20:17:25 deraadt Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -106,6 +106,8 @@ cansignal(p, pc, q, signum)
case SIGTTOU:
case SIGTSTP:
case SIGHUP:
+ case SIGUSR1:
+ case SIGUSR2:
if (pc->p_ruid == q->p_cred->p_ruid ||
pc->pc_ucred->cr_uid == q->p_cred->p_ruid ||
pc->p_ruid == q->p_ucred->cr_uid ||