diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-05-24 19:49:04 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-07-11 18:09:00 +0200 |
commit | 75509fd88fbd580c793780b0001c71c3510f2726 (patch) | |
tree | bb9f7f285f5db2a50cc7cfc1d87a369c9f7e4314 /kernel/fork.c | |
parent | mnt: fs_fully_visible enforce noexec and nosuid if !SB_I_NOEXEC (diff) | |
download | linux-75509fd88fbd580c793780b0001c71c3510f2726.tar.xz linux-75509fd88fbd580c793780b0001c71c3510f2726.zip |
nsfs: Add a show_path method to fix mountinfo
Today mountinfo displays a very unhelpful "/" for nsfs files. Add a
show_path method returning the same string as ns_dname. This results
in a bind mount of /proc/<pid>/ns/net showing up in /proc/<pid>/mountinfo as
"net:[1234...]" instead of "/".
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions