mirror of https://gitee.com/openkylin/linux.git
f28e783ff6
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: Casey Schaufler <casey@schaufler-ca.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
smack.h | ||
smack_access.c | ||
smack_lsm.c | ||
smack_netfilter.c | ||
smackfs.c |