ChangeSet 1.889.26.15, 2003/01/12 00:21:36-08:00, [EMAIL PROTECTED]

[PATCH] USB: Fix from Jeff and Pete to keep khubd from being able to be killed by a 
signal


diff -Nru a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
--- a/drivers/usb/core/hub.c    Mon Jan 13 14:25:05 2003
+++ b/drivers/usb/core/hub.c    Mon Jan 13 14:25:05 2003
@@ -1085,6 +1085,12 @@
 
        daemonize();
 
+       /* keep others from killing us */
+       spin_lock_irq(&current->sig->siglock);
+       sigemptyset(&current->blocked);
+       recalc_sigpending();
+       spin_unlock_irq(&current->sig->siglock);
+
        /* Setup a nice name */
        strcpy(current->comm, "khubd");
 



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to