diff options
author | Rafal Krypa <r.krypa@samsung.com> | 2013-01-10 19:42:00 +0100 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2013-03-19 14:16:42 -0700 |
commit | e05b6f982a049113a88a1750e13fdb15298cbed4 (patch) | |
tree | 2f59b25edb54ff44f743423268e934f87c60a359 /security/smack/smack_lsm.c | |
parent | cee7e443344a3845e5b9111614b41e0b1afb60ce (diff) |
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>
Diffstat (limited to 'security/smack/smack_lsm.c')
0 files changed, 0 insertions, 0 deletions