summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-27 02:26:56 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-27 02:26:56 +0000
commitcdcf6d117d4da93eed4f293e44ef2d1d52bf6375 (patch)
treec8277b6ee661dde1ec5ce57e5169bdc64b2ba10c
parentb8afa373b9b9017b0af30d5ed21d41c68b94640e (diff)
Correct last fix
-rw-r--r--sys/kern/kern_sig.c4
1 files 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 || \