]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-vserver-fixes.patch
- restore disabling USER_NS for vserver
[packages/kernel.git] / kernel-vserver-fixes.patch
1 --- linux-3.3/fs/proc/base.c~   2012-03-19 21:44:42.000000000 +0100
2 +++ linux-3.3/fs/proc/base.c    2012-03-21 12:25:28.051092423 +0100
3 @@ -568,6 +568,8 @@
4                                  struct task_struct *task,
5                                  int hide_pid_min)
6  {
7 +       if (vx_check(0, VS_WATCH_P))
8 +               return true;
9         if (pid->hide_pid < hide_pid_min)
10                 return true;
11         if (in_group_p(pid->pid_gid))
12 diff -NurpP --minimal linux-3.14.17/init/Kconfig linux-3.14.17-vs2.3.6.13/init/Kconfig
13 --- linux-3.14.17/init/Kconfig  2014-08-14 01:38:34.000000000 +0000
14 +++ linux-3.14.17-vs2.3.6.13/init/Kconfig       2014-08-30 14:37:19.000000000 +0000
15 @@ -1117,6 +1118,7 @@ config IPC_NS
16  
17  config USER_NS
18         bool "User namespace"
19 +       depends on VSERVER_DISABLED
20         default n
21         help
22           This allows containers, i.e. vservers, to use user namespaces
This page took 0.053954 seconds and 3 git commands to generate.