summaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2013-12-19 13:23:26 -0800
committerCasey Schaufler <casey@schaufler-ca.com>2013-12-23 15:57:43 -0800
commit4afde48be8929b6da63a9e977aaff0894ba82984 (patch)
tree0e2ade1737801dd3a378278efabaaeaa7678cff5 /security/smack/smack_lsm.c
parent00f84f3f2e9d088f06722f4351d67f5f577abe22 (diff)
downloadlinux-4afde48be8929b6da63a9e977aaff0894ba82984.tar.bz2
Smack: change rule cap check
smk_write_change_rule() is calling capable rather than the more correct smack_privileged(). This allows for setting rules in violation of the onlycap facility. This is the simple repair. Targeted for git://git.gitorious.org/smack-next/kernel.git Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smack_lsm.c')
0 files changed, 0 insertions, 0 deletions