Smack: add support for modification of existing rules
authorRafal Krypa <r.krypa@samsung.com>
Thu, 10 Jan 2013 18:42:00 +0000 (19:42 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 19 Mar 2013 21:16:42 +0000 (14:16 -0700)
commite05b6f982a049113a88a1750e13fdb15298cbed4
tree2f59b25edb54ff44f743423268e934f87c60a359
parentcee7e443344a3845e5b9111614b41e0b1afb60ce
Smack: add support for modification of existing rules

Rule modifications are enabled via /smack/change-rule. Format is as follows:
"Subject Object rwaxt rwaxt"

First two strings are subject and object labels up to 255 characters.
Third string contains permissions to enable.
Fourth string contains permissions to disable.

All unmentioned permissions will be left unchanged.
If no rule previously existed, it will be created.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Documentation/security/Smack.txt
security/smack/smackfs.c
This page took 0.025541 seconds and 5 git commands to generate.