diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 564079c5c49d..cdf4c589a391 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -1100,7 +1100,7 @@ static void selinux_write_opts(struct seq_file *m, | |||
1100 | seq_puts(m, prefix); | 1100 | seq_puts(m, prefix); |
1101 | if (has_comma) | 1101 | if (has_comma) |
1102 | seq_putc(m, '\"'); | 1102 | seq_putc(m, '\"'); |
1103 | seq_puts(m, opts->mnt_opts[i]); | 1103 | seq_escape(m, opts->mnt_opts[i], "\"\n\\"); |
1104 | if (has_comma) | 1104 | if (has_comma) |
1105 | seq_putc(m, '\"'); | 1105 | seq_putc(m, '\"'); |
1106 | } | 1106 | } |