Skip to content

Commit aea23e7

Browse files
committed
Merge tag 'pull-work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull /proc/mounts fix from Al Viro: "Fix for /proc/mounts escaping - escape the '#' character too" * tag 'pull-work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: vfs: escape hash as well
2 parents 332019e + ed5fce7 commit aea23e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/proc_namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
8686

8787
static inline void mangle(struct seq_file *m, const char *s)
8888
{
89-
seq_escape(m, s, " \t\n\\");
89+
seq_escape(m, s, " \t\n\\#");
9090
}
9191

9292
static void show_type(struct seq_file *m, struct super_block *sb)

0 commit comments

Comments
 (0)