/[vps]/vserver-sources/2.0.2-r6/4412_vs2.0.2-vkill-fix01.patch
Gentoo

Contents of /vserver-sources/2.0.2-r6/4412_vs2.0.2-vkill-fix01.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 486 - (show annotations) (download)
Sun Sep 24 18:03:03 2006 UTC (11 years, 9 months ago) by phreak
File size: 550 byte(s)
Header updates for 2.0.2-r6/4412_vs2.0.2-vkill-fix01.patch.
1 Index: linux-2.6.18/kernel/pid.c
2 ===================================================================
3 --- linux-2.6.18.orig/kernel/pid.c
4 +++ linux-2.6.18/kernel/pid.c
5 @@ -260,7 +260,7 @@ struct task_struct * fastcall pid_task(s
6 first = rcu_dereference(pid->tasks[type].first);
7 if (first)
8 result = hlist_entry(first, struct task_struct, pids[(type)].node);
9 - if (result && !vx_check(vx_task_xid(result), VX_WATCH|VX_IDENT))
10 + if (result && !vx_check(vx_task_xid(result), VX_WATCH|VX_ADMIN|VX_IDENT))
11 result = NULL;
12 }
13 return result;

  ViewVC Help
Powered by ViewVC 1.1.20