* [PATCH vfs/for-next] smack: fix parsing mount options
@ 2018-12-20 6:25 Andrei Vagin
0 siblings, 0 replies; only message in thread
From: Andrei Vagin @ 2018-12-20 6:25 UTC (permalink / raw)
To: Alexander Viro; +Cc: linux-fsdevel, Andrei Vagin
Recent changes removed "smack" prefix from smack mount options.
Fixes: 53c1d44b9071 ("smack: rewrite smack_sb_eat_lsm_opts()")
Signed-off-by: Andrei Vagin <avagin@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-20 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-20 6:25 [PATCH vfs/for-next] smack: fix parsing mount options Andrei Vagin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).