]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-vserver-fixes.patch
- up to 3.6.1; experimental vserver patch
[packages/kernel.git] / kernel-vserver-fixes.patch
1 Missing header for routes patch, caused vs2.3 route.h mixing
2 --- a/net/ipv4/netfilter/nf_nat_core.c~ 2008-01-24 23:58:37.000000000 +0100
3 +++ a/net/ipv4/netfilter/nf_nat_core.c  2008-03-30 21:00:19.349593833 +0200
4 @@ -15,6 +15,7 @@
5  #include <net/checksum.h>
6  #include <net/icmp.h>
7  #include <net/ip.h>
8 +#include <net/route.h>
9  #include <net/tcp.h>  /* For tcp_prot in getorigdst */
10  #include <linux/icmp.h>
11  #include <linux/udp.h>
12 --- linux-2.6.33/arch/x86/kernel/process.c~     2010-02-24 19:52:17.000000000 +0100
13 +++ linux-2.6.33/arch/x86/kernel/process.c      2010-02-25 23:44:56.487156216 +0100
14 @@ -147,8 +147,8 @@ void show_regs_common(void)
15         /* Board Name is optional */
16         board = dmi_get_system_info(DMI_BOARD_NAME);
17  
18 -       printk(KERN_DEFAULT "Pid: %d, comm: %.20s %s %s %.*s %s %s%s%s\n",
19 -              current->pid, current->comm, print_tainted(),
20 +       printk(KERN_DEFAULT "Pid: %d, xid: #%u, comm: %.20s %s %s %.*s %s %s%s%s\n",
21 +              current->pid, current->xid, current->comm, print_tainted(),
22                init_utsname()->release,
23                (int)strcspn(init_utsname()->version, " "),
24                init_utsname()->version,
25 --- linux-2.6.31/arch/x86/kernel/dumpstack.c~   2009-09-16 08:32:02.000000000 +0200
26 +++ linux-2.6.31/arch/x86/kernel/dumpstack.c    2009-09-17 21:58:13.778791960 +0200
27 @@ -180,8 +180,8 @@
28         unsigned long stack;
29  
30         bp = stack_frame(current, NULL);
31 -       printk("Pid: %d, comm: %.20s %s %s %.*s\n",
32 -               current->pid, current->comm, print_tainted(),
33 +       printk("Pid: %d, comm: %.20s xid: #%u %s %s %.*s\n",
34 +               current->pid, current->comm, current->xid, print_tainted(),
35                 init_utsname()->release,
36                 (int)strcspn(init_utsname()->version, " "),
37                 init_utsname()->version);
38
39
40 --- linux-3.3/fs/proc/base.c~   2012-03-19 21:44:42.000000000 +0100
41 +++ linux-3.3/fs/proc/base.c    2012-03-21 12:25:28.051092423 +0100
42 @@ -568,6 +568,8 @@
43                                  struct task_struct *task,
44                                  int hide_pid_min)
45  {
46 +       if (vx_check(0, VS_WATCH_P))
47 +               return true;
48         if (pid->hide_pid < hide_pid_min)
49                 return true;
50         if (in_group_p(pid->pid_gid))
This page took 0.122503 seconds and 4 git commands to generate.