aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-10-10 17:04:19 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-10-10 17:04:19 +0000
commitd7dd2bd6ed9d590b133388ad5c9f951635b59eee (patch)
tree545f71cd5d223e3303fa2a0300faad617f394b90
parent06399e90bc50079a7355a321f32eedec7e80c928 (diff)
Notes
-rw-r--r--sys/security/mac_portacl/mac_portacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_portacl/mac_portacl.c b/sys/security/mac_portacl/mac_portacl.c
index 589ba67bc796..80cd0539c90d 100644
--- a/sys/security/mac_portacl/mac_portacl.c
+++ b/sys/security/mac_portacl/mac_portacl.c
@@ -427,7 +427,7 @@ rules_check(struct ucred *cred, int family, int type, u_int16_t port)
mtx_unlock(&rule_mtx);
if (error != 0 && mac_portacl_suser_exempt != 0)
- error = suser_cred(cred, 0);
+ error = suser_cred(cred, SUSER_ALLOWJAIL);
return (error);
}