summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/procfs/procfs.h')
-rw-r--r--sys/miscfs/procfs/procfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h
index 9236cbf6cd70d..efc982a4da456 100644
--- a/sys/miscfs/procfs/procfs.h
+++ b/sys/miscfs/procfs/procfs.h
@@ -97,7 +97,7 @@ struct pfsnode {
((((p1)->p_cred->pc_ucred->cr_uid == (p2)->p_cred->p_ruid) && \
((p1)->p_cred->p_ruid == (p2)->p_cred->p_ruid) && \
((p1)->p_cred->p_svuid == (p2)->p_cred->p_ruid) && \
- ((p2)->p_flag & (P_SUGID|P_INEXEC)) == 0) || \
+ ((p2)->p_flag & P_SUGID) == 0) || \
(suser_xxx((p1)->p_cred->pc_ucred, (p1), PRISON_ROOT) == 0))
/*