[kernel] r13468 - dists/lenny-security/linux-2.6/debian/patches/features/all/vserver
Dann Frazier
dannf at alioth.debian.org
Tue Apr 21 21:22:18 UTC 2009
Author: dannf
Date: Tue Apr 21 21:22:16 2009
New Revision: 13468
Log:
fix vserver application
Modified:
dists/lenny-security/linux-2.6/debian/patches/features/all/vserver/vs2.3.0.35.patch
Modified: dists/lenny-security/linux-2.6/debian/patches/features/all/vserver/vs2.3.0.35.patch
==============================================================================
--- dists/lenny-security/linux-2.6/debian/patches/features/all/vserver/vs2.3.0.35.patch Tue Apr 21 17:18:17 2009 (r13467)
+++ dists/lenny-security/linux-2.6/debian/patches/features/all/vserver/vs2.3.0.35.patch Tue Apr 21 21:22:16 2009 (r13468)
@@ -16725,16 +16725,18 @@
ret = -ESRCH;
goto out_unlock;
}
-@@ -1145,6 +1167,9 @@
+@@ -1145,8 +1167,9 @@ static int kill_something_info(int sig,
struct task_struct * p;
for_each_process(p) {
+- if (task_pid_vnr(p) > 1 &&
+- !same_thread_group(p, current)) {
+ if (vx_check(vx_task_xid(p), VS_ADMIN|VS_IDENT) &&
+ task_pid_vnr(p) > 1 && !same_thread_group(p, current) &&
+ !vx_current_initpid(p->pid)) {
- if (task_pid_vnr(p) > 1 &&
- !same_thread_group(p, current)) {
int err = group_send_sig_info(sig, info, p);
+ ++count;
+ if (err != -EPERM)
@@ -1809,6 +1833,11 @@ relock:
!signal_group_exit(signal))
continue;
More information about the Kernel-svn-changes
mailing list