call_usermodehelper fix
PATCH 1/1 call_usermodehelper fix
This gives the wait_for_helper thread its own sighand struct, so that it's not stomping on it's parent's SIGCHLD handler (which is intended to be SIG_IGN). Now the parent keventd thread properly reaps children. Look ok?
thanks,
-chris
kernel/kmod.c +1 -1
@@ -217,7 +217,7 @@* until that is done. */ if (sub_info->wait) pid =kernel_thread (wait_for_helper, sub_info, -CLONE_KERNEL |SIGCHLD ); +CLONE_FS |CLONE_FILES |SIGCHLD );else pid =kernel_thread (____call_usermodehelper, sub_info,CLONE_VFORK |SIGCHLD );