summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-05-09 11:34:23 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 21:30:53 +0200
commitc93465181fed0f8f5942a41108943dadea0aa345 (patch)
treea2c1a8fe514b97c31bd3832136894933c3f28fee /kernel
parentunify flush_work/flush_work_keventd and rename it to cancel_work_sync (diff)
downloadlinux-c93465181fed0f8f5942a41108943dadea0aa345.tar.xz
linux-c93465181fed0f8f5942a41108943dadea0aa345.zip
____call_usermodehelper: don't flush_signals()
____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 <oleg@tv-sign.ru> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kmod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 49cc4b9c1a8d..6cea9db25c3d 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(&current->sighand->siglock);
old_session = __install_session_keyring(current, new_session);
flush_signal_handlers(current, 1);