summaryrefslogtreecommitdiff
path: root/security/selinux/netlabel.c
diff options
context:
space:
mode:
authorVivek Trivedi <t.vivek@samsung.com>2015-06-22 15:36:06 +0530
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:48:24 +0900
commit44e48ee3e171c4c68a24a7419293c2a3ef458d93 (patch)
treea6d82807318730867b572a42a4903ad0dd97aeb6 /security/selinux/netlabel.c
parentca163035592b645c3fad9553585eac3adc045749 (diff)
smack: allow mount opts setting over filesystems with binary mount data
Add support for setting smack mount labels(using smackfsdef, smackfsroot, smackfshat, smackfsfloor, smackfstransmute) for filesystems with binary mount data like NFS. To achieve this, implement sb_parse_opts_str and sb_set_mnt_opts security operations in smack LSM similar to SELinux. Signed-off-by: Vivek Trivedi <t.vivek@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/selinux/netlabel.c')
0 files changed, 0 insertions, 0 deletions