1
0
Fork 0
alistair23-linux/security/smack
Rafal Krypa e05b6f982a 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>
2013-03-19 14:16:42 -07:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h smack: SMACK_MAGIC to include/uapi/linux/magic.h 2013-03-19 14:16:15 -07:00
smack_access.c Smack: add missing support for transmute bit in smack_str_from_perm() 2013-03-19 14:15:41 -07:00
smack_lsm.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
smackfs.c Smack: add support for modification of existing rules 2013-03-19 14:16:42 -07:00