From cdcf6d117d4da93eed4f293e44ef2d1d52bf6375 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Sun, 27 Oct 1996 02:26:56 +0000 Subject: Correct last fix --- sys/kern/kern_sig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 6a524063520..323900fd363 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.9 1996/10/26 07:28:13 tholo Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.10 1996/10/27 02:26:55 tholo Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -79,7 +79,7 @@ void killproc __P((struct proc *, char *)); #define CANSIGNAL(p, pc, q, signum) \ ((pc)->pc_ucred->cr_uid == 0 || \ (pc)->p_ruid == (q)->p_cred->p_ruid || \ - (pc)->p_ruid == (q)->p_cred->p_svuid || \ + (pc)->pc_ucred->cr_uid == (q)->p_cred->p_svuid || \ (pc)->pc_ucred->cr_uid == (q)->p_cred->p_ruid || \ (pc)->p_ruid == (q)->p_ucred->cr_uid || \ (pc)->pc_ucred->cr_uid == (q)->p_ucred->cr_uid || \ -- cgit v1.2.3