diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-18 21:41:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-18 21:41:46 +0000 |
commit | 49a53ac07d06a17d05e9c0ac25fbd68b712273b5 (patch) | |
tree | d4cd786d073b8df6aff0177e4ab617c98c2dbd90 /sys/kern | |
parent | 766b80be3e4beddda92a8835ad57042f38c1d941 (diff) |
add more signals to setuid part of cansignal()
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_sig.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 3ad73d5fb27..eb811f601b5 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.27 1998/05/17 19:38:43 deraadt Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.28 1998/05/18 21:41:45 deraadt Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -101,6 +101,10 @@ cansignal(p, pc, q, signum) case SIGINT: case SIGTERM: case SIGSTOP: + case SIGTTIN: + case SIGTTOU: + case SIGTSTP: + case SIGHUP: 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 || |