From 49a53ac07d06a17d05e9c0ac25fbd68b712273b5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 18 May 1998 21:41:46 +0000 Subject: add more signals to setuid part of cansignal() --- sys/kern/kern_sig.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/kern') 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 || -- cgit v1.2.3