diff options
Diffstat (limited to 'sys/security/mac/mac_priv.c')
-rw-r--r-- | sys/security/mac/mac_priv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_priv.c b/sys/security/mac/mac_priv.c index f12b020..afd64b9 100644 --- a/sys/security/mac/mac_priv.c +++ b/sys/security/mac/mac_priv.c @@ -72,7 +72,7 @@ mac_priv_check(struct ucred *cred, int priv) { int error; - MAC_CHECK(priv_check, cred, priv); + MAC_CHECK_NOSLEEP(priv_check, cred, priv); MAC_CHECK_PROBE2(priv_check, error, cred, priv); return (error); @@ -89,7 +89,7 @@ mac_priv_grant(struct ucred *cred, int priv) { int error; - MAC_GRANT(priv_grant, cred, priv); + MAC_GRANT_NOSLEEP(priv_grant, cred, priv); MAC_GRANT_PROBE2(priv_grant, error, cred, priv); return (error); |