hal/hald callout.c,1.15.2.3,1.15.2.4

David Zeuthen david at freedesktop.org
Wed Jan 12 10:12:15 PST 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv14011/hald

Modified Files:
      Tag: hal-0_4-stable-branch
	callout.c 
Log Message:
2005-01-12  David Zeuthen  <davidz at redhat.com>

	* hald/callout.c (callout_timeout_handler): Be tough and kill
	the misbehaving child the hard way - suggestion from Joe Shaw.



Index: callout.c
===================================================================
RCS file: /cvs/hal/hal/hald/callout.c,v
retrieving revision 1.15.2.3
retrieving revision 1.15.2.4
diff -u -d -r1.15.2.3 -r1.15.2.4
--- callout.c	12 Jan 2005 17:38:44 -0000	1.15.2.3
+++ callout.c	12 Jan 2005 18:12:13 -0000	1.15.2.4
@@ -217,8 +217,8 @@
 	
 	HAL_WARNING (("Timeout (%d ms) for callout %s", CALLOUT_TIMEOUT, callout->filename));
 
-	/* kill the child.. kill it! */
-	kill (callout->pid, SIGTERM);
+	/* kill the child.. kill it the hard way */
+	kill (callout->pid, SIGKILL);
 
 	active_callout = NULL;
 




More information about the hal-commit mailing list