pnp_dock_thread() calls allow_signal() which plays with parent process's ->sighand.
Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 2.6.21-rc5/drivers/pnp/pnpbios/core.c~3_pnp 2006-12-17 19:06:40.000000000 +0300 +++ 2.6.21-rc5/drivers/pnp/pnpbios/core.c 2007-04-13 03:44:34.000000000 +0400 @@ -589,7 +589,7 @@ static int __init pnpbios_thread_init(vo return 0; #ifdef CONFIG_HOTPLUG init_completion(&unload_sem); - if (kernel_thread(pnp_dock_thread, NULL, CLONE_KERNEL) > 0) + if (kernel_thread(pnp_dock_thread, NULL, CLONE_FS | CLONE_FILES) > 0) unloading = 0; #endif return 0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/