From: Oleg Nesterov ____call_usermodehelper() has no reason for flush_signals(). It is a fresh forked process which is going to exec a user-space application or exit on failure. Signed-off-by: Oleg Nesterov Cc: Rusty Russell Signed-off-by: Andrew Morton --- kernel/kmod.c | 1 - 1 file changed, 1 deletion(-) diff -puN kernel/kmod.c~____call_usermodehelper-dont-flush_signals kernel/kmod.c --- a/kernel/kmod.c~____call_usermodehelper-dont-flush_signals +++ a/kernel/kmod.c @@ -135,7 +135,6 @@ static int ____call_usermodehelper(void /* 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); _