[PATCH 1/1] fs/proc/task_mmu.c: Include backslash when escaping file names

2016-05-30 Thread Nominal Animal
Files named "foo\nbar" and "foo\\012bar" are both shown as "foo\\012bar" in /proc/PID files, because show_map_vma() and show_numa_map() in fs/proc/task_mmu.c do not include backslash in the escaped set when calling seq_file_path(). Fix this by including backslash in the escaped set. diff -Nabpur l

[PATCH 1/1] fs/proc/task_mmu.c: Include backslash when escaping file names

2016-05-30 Thread Nominal Animal
Files named "foo\nbar" and "foo\\012bar" are both shown as "foo\\012bar" in /proc/PID files, because show_map_vma() and show_numa_map() in fs/proc/task_mmu.c do not include backslash in the escaped set when calling seq_file_path(). Fix this by including backslash in the escaped set. diff -Nabpur l