Commit ef57f63f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 62a1f9ed
......@@ -1085,6 +1085,12 @@ static int usb_hub_thread(void *__hub)
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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment