summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vserver-sources/old/2.1.1_rc21-r3/4416_vs2.1.1-rc21-vfsmnt-feat01.patch')
-rw-r--r--vserver-sources/old/2.1.1_rc21-r3/4416_vs2.1.1-rc21-vfsmnt-feat01.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vserver-sources/old/2.1.1_rc21-r3/4416_vs2.1.1-rc21-vfsmnt-feat01.patch b/vserver-sources/old/2.1.1_rc21-r3/4416_vs2.1.1-rc21-vfsmnt-feat01.patch
new file mode 100644
index 0000000..26d39fd
--- /dev/null
+++ b/vserver-sources/old/2.1.1_rc21-r3/4416_vs2.1.1-rc21-vfsmnt-feat01.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.16/fs/namespace.c
+===================================================================
+--- linux-2.6.16.orig/fs/namespace.c
++++ linux-2.6.16/fs/namespace.c
+@@ -406,7 +406,7 @@ static int show_vfsmnt(struct seq_file *
+
+ if (vx_flags(VXF_HIDE_MOUNT, 0))
+ return 0;
+- if (!mnt_is_reachable(mnt))
++ if (!mnt_is_reachable(mnt) && !vx_check(0, VX_WATCH))
+ return 0;
+
+ if (!vx_check(0, VX_ADMIN|VX_WATCH) &&