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)
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>

No differences found