Merge branch 'nmi' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[deliverable/linux.git] / security / selinux / hooks.c
index 564079c5c49dce530f56fd0626827d81c0ec75d4..cdf4c589a3914bbc7d315b1e55fb1264f4be0309 100644 (file)
@@ -1100,7 +1100,7 @@ static void selinux_write_opts(struct seq_file *m,
                seq_puts(m, prefix);
                if (has_comma)
                        seq_putc(m, '\"');
-               seq_puts(m, opts->mnt_opts[i]);
+               seq_escape(m, opts->mnt_opts[i], "\"\n\\");
                if (has_comma)
                        seq_putc(m, '\"');
        }
This page took 0.028414 seconds and 5 git commands to generate.