]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-CVE-2008-0163.patch
- updated to 2.6.29.2 (builds and works --without apparmor --without grsecurity)
[packages/kernel.git] / kernel-CVE-2008-0163.patch
1 --- linux-2.6.22/kernel/ptrace.c        2007-07-09 13:20:03 +0200
2 +++ linux-2.6.22-vs2.2.0-rc5/kernel/ptrace.c    2007-06-15 04:28:02 +0200
3 @@ -145,6 +146,8 @@ static int may_attach(struct task_struct
4                 dumpable = task->mm->dumpable;
5         if (!dumpable && !capable(CAP_SYS_PTRACE))
6                 return -EPERM;
7 +       if (!vx_check(task->xid, VX_ADMIN|VX_IDENT))
8 +               return -EPERM;
9  
10         return security_ptrace(current, task);
11  }
This page took 0.064811 seconds and 3 git commands to generate.