diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-13 17:35:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-13 17:35:58 -0700 |
commit | aea23e7c464bfdec04b52cf61edb62030e9e0d0a (patch) | |
tree | 6ea34812cda170a756b900ff6de5aa8ede93dca7 /fs | |
parent | 332019e23a51db1aa46fec695a9a763445fbe09f (diff) | |
parent | ed5fce76b5ea40c87b44cafbe4f3222da8ec981a (diff) |
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
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc_namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index 49650e54d2f8..846f9455ae22 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c @@ -86,7 +86,7 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) static inline void mangle(struct seq_file *m, const char *s) { - seq_escape(m, s, " \t\n\\"); + seq_escape(m, s, " \t\n\\#"); } static void show_type(struct seq_file *m, struct super_block *sb) |