diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-30 20:54:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-30 20:54:43 +0000 |
commit | 37380f610d0c9dfe800d7bae153d3711b0a0badf (patch) | |
tree | f75540079324ef7d49a7882fad4083a127afd546 | |
parent | 0eb395d2d744b58fbeb0d847e18c3be0bf5fa01b (diff) |
permit sig 0 (existance checking) to setuid parents; ibo@ragnarok.val-axs.net
-rw-r--r-- | sys/kern/kern_sig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index eb811f601b5..4ed1a0f0a4f 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.28 1998/05/18 21:41:45 deraadt Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.29 1998/05/30 20:54:42 deraadt Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -97,6 +97,7 @@ cansignal(p, pc, q, signum) */ if (q->p_flag & P_SUGID) { switch (signum) { + case 0: case SIGKILL: case SIGINT: case SIGTERM: |