Skip to content
Commit f28e783f authored by Casey Schaufler's avatar Casey Schaufler
Browse files

Smack: Use cap_capable in privilege check



Use cap_capable() rather than capable() in the Smack privilege
check as the former does not invoke other security module
privilege check, while the later does. This becomes important
when stacking. It may be a problem even with minor modules.

Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 51d59af2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment