SOURCES (LINUX_2_6): linux-2.6-vs2.3.patch - fix bug where kill from one gu...

arekm arekm at pld-linux.org
Thu Jun 26 00:30:44 CEST 2008


Author: arekm                        Date: Wed Jun 25 22:30:44 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- fix bug where kill from one guest could partialy reach other guest and then hang

---- Files affected:
SOURCES:
   linux-2.6-vs2.3.patch (1.2.4.11.2.35 -> 1.2.4.11.2.36) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-vs2.3.patch
diff -u SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.35 SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.36
--- SOURCES/linux-2.6-vs2.3.patch:1.2.4.11.2.35	Wed Jun 25 12:57:27 2008
+++ SOURCES/linux-2.6-vs2.3.patch	Thu Jun 26 00:30:37 2008
@@ -28704,3 +28704,15 @@
  #include <linux/parser.h>
  #include <linux/nfs_mount.h>
  #include <net/ipv6.h>
+diff -Nurp linux-2.6.25-vs2.3.0.34.5.2/kernel/signal.c linux-2.6.25-vs2.3.0.34.5.3/kernel/signal.c
+--- linux-2.6.25-vs2.3.0.34.5.2/kernel/signal.c	2008-04-30 07:09:17.000000000 -0400
++++ linux-2.6.25-vs2.3.0.34.5.3/kernel/signal.c	2008-06-25 17:56:22.000000000 -0400
+@@ -1070,7 +1070,7 @@ int kill_pid_info(int sig, struct siginf
+ 
+ retry:
+ 	p = pid_task(pid, PIDTYPE_PID);
+-	if (p) {
++	if (p && vx_check(vx_task_xid(p), VS_WATCH | VS_IDENT)) {
+ 		error = group_send_sig_info(sig, info, p);
+ 		if (unlikely(error == -ESRCH))
+ 			/*
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/linux-2.6-vs2.3.patch?r1=1.2.4.11.2.35&r2=1.2.4.11.2.36&f=u



More information about the pld-cvs-commit mailing list