X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Fkmod.c;h=4d32eb077179a2babd3f49b9f31631d4c6e27bb7;hb=8ff6f48d99a0351bcc9ceab422042ef9d3bad9aa;hp=49cc4b9c1a8d8ad8a0a602d7ea4cf0a6fe900a0b;hpb=02a93208edec0d655c9f18613d830dc6afeda7d4;p=mv-sheeva.git diff --git a/kernel/kmod.c b/kernel/kmod.c index 49cc4b9c1a8..4d32eb07717 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -135,7 +135,6 @@ static int ____call_usermodehelper(void *data) /* Unblock all signals and set the session keyring. */ new_session = key_get(sub_info->ring); - flush_signals(current); spin_lock_irq(¤t->sighand->siglock); old_session = __install_session_keyring(current, new_session); flush_signal_handlers(current, 1); @@ -186,14 +185,9 @@ static int wait_for_helper(void *data) { struct subprocess_info *sub_info = data; pid_t pid; - struct k_sigaction sa; /* Install a handler: if SIGCLD isn't handled sys_wait4 won't * populate the status, but will return -ECHILD. */ - sa.sa.sa_handler = SIG_IGN; - sa.sa.sa_flags = 0; - siginitset(&sa.sa.sa_mask, sigmask(SIGCHLD)); - do_sigaction(SIGCHLD, &sa, NULL); allow_signal(SIGCHLD); pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD);