diff options
author | Vivek Trivedi <t.vivek@samsung.com> | 2015-06-22 15:36:06 +0530 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:48:24 +0900 |
commit | 44e48ee3e171c4c68a24a7419293c2a3ef458d93 (patch) | |
tree | a6d82807318730867b572a42a4903ad0dd97aeb6 /security/selinux/exports.c | |
parent | ca163035592b645c3fad9553585eac3adc045749 (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/exports.c')
0 files changed, 0 insertions, 0 deletions