summaryrefslogtreecommitdiff
blob: be2ce29b8bf8503cbb10add8453da002ab6d490c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: linux-2.6.18/kernel/pid.c
===================================================================
--- linux-2.6.18.orig/kernel/pid.c
+++ linux-2.6.18/kernel/pid.c
@@ -260,7 +260,7 @@ struct task_struct * fastcall pid_task(s
 		first = rcu_dereference(pid->tasks[type].first);
 		if (first)
 			result = hlist_entry(first, struct task_struct, pids[(type)].node);
-		if (result && !vx_check(vx_task_xid(result), VX_WATCH|VX_IDENT))
+		if (result && !vx_check(vx_task_xid(result), VX_WATCH|VX_ADMIN|VX_IDENT))
 			result = NULL;
 	}
 	return result;