[PATCH vfs/for-next] smack: fix parsing mount options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Recent changes removed "smack" prefix from smack mount options.

Fixes: 53c1d44b9071 ("smack: rewrite smack_sb_eat_lsm_opts()")
Signed-off-by: Andrei Vagin <avagin@xxxxxxxxx>
---
 security/smack/smack_lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 603ed7d20ab4..11da1e2531c8 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -61,7 +61,7 @@ static LIST_HEAD(smk_ipv6_port_list);
 static struct kmem_cache *smack_inode_cache;
 int smack_enabled;
 
-#define A(s) {#s, sizeof(#s) - 1, Opt_##s}
+#define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s}
 static struct {
 	const char *name;
 	int len;
-- 
2.17.2




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux