summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-26 08:27:16 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-26 08:27:16 +0000
commita8704f89991b36fd7bf24e7faab7543ac6263083 (patch)
tree6f994fee63fa6402ca242149c8e0757de4c94ec6 /sys/kern/kern_proc.c
parent0f59fe37a4c5171fb271b0ff82428be950aecba2 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index e0f9ec104d27..356282eafbe1 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -633,7 +633,7 @@ sysctl_kern_proc_args SYSCTL_HANDLER_ARGS
if (!p)
return (0);
- if (p_trespass(curproc, p))
+ if ((!ps_argsopen) && p_trespass(curproc, p))
return (0);
if (req->newptr && curproc != p)