summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-06-27 02:04:50 +0000
committerderaadt <deraadt@openbsd.org>2002-06-27 02:04:50 +0000
commit88e59dca6907bfaab1ec867b2911346b7411a9c0 (patch)
tree58b44dbbb2ea06c1e0c6253c39739dca7e7fc620 /sys/kern/sys_process.c
parentboundary check in IPv4/v6 mapped address case (affects dig(1)). (diff)
downloadwireguard-openbsd-88e59dca6907bfaab1ec867b2911346b7411a9c0.tar.xz
wireguard-openbsd-88e59dca6907bfaab1ec867b2911346b7411a9c0.zip
KNF
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r--sys/kern/sys_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 2921ef101f9..e0a36f1925f 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_process.c,v 1.22 2002/04/10 17:31:59 fgsch Exp $ */
+/* $OpenBSD: sys_process.c,v 1.23 2002/06/27 02:04:50 deraadt Exp $ */
/* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */
/*-
@@ -144,7 +144,7 @@ sys_ptrace(p, v, retval)
* traced. This is good security.]
*/
if ((t->p_cred->p_ruid != p->p_cred->p_ruid ||
- ISSET(t->p_flag, P_SUGID)) &&
+ ISSET(t->p_flag, P_SUGID)) &&
(error = suser(p->p_ucred, &p->p_acflag)) != 0)
return (error);