aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-02-19 13:25:17 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-02-19 13:25:17 +0000
commit8bd5639f180e60b47e7840866180b84163737e3e (patch)
treefa46c73d696205c432fe3cc3250efdb0806d4bce /sys
parentea04d82da86e4a8d2fb3c94bb8b529adef81f1db (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/security/mac_seeotheruids/mac_seeotheruids.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/security/mac_seeotheruids/mac_seeotheruids.c b/sys/security/mac_seeotheruids/mac_seeotheruids.c
index 62ccd619739a..c20dd8bcdc2d 100644
--- a/sys/security/mac_seeotheruids/mac_seeotheruids.c
+++ b/sys/security/mac_seeotheruids/mac_seeotheruids.c
@@ -126,7 +126,8 @@ mac_seeotheruids_check(struct ucred *u1, struct ucred *u2)
return (0);
if (suser_privileged) {
- if (priv_check_cred(u1, PRIV_SEEOTHERUIDS, 0) == 0)
+ if (priv_check_cred(u1, PRIV_SEEOTHERUIDS, SUSER_ALLOWJAIL)
+ == 0)
return (0);
}