summaryrefslogtreecommitdiff
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
authorVivek Trivedi <t.vivek@samsung.com>2015-06-22 10:06:06 (GMT)
committerCasey Schaufler <casey@schaufler-ca.com>2015-07-22 19:31:28 (GMT)
commit3bf2789cad9e6573dc19a6c3d123c2c049f2d90f (patch)
tree35d1609228bbaee7231478f0ee7538bbb39420e1 /security/smack/smackfs.c
parentfe6c59dc17908effd4e2caa666795b9ad984005b (diff)
downloadlinux-3bf2789cad9e6573dc19a6c3d123c2c049f2d90f.tar.xz
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/smack/smackfs.c')
0 files changed, 0 insertions, 0 deletions