diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-05-09 13:34:23 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 23:30:53 +0400 |
commit | c93465181fed0f8f5942a41108943dadea0aa345 (patch) | |
tree | a2c1a8fe514b97c31bd3832136894933c3f28fee /kernel | |
parent | 28e53bddf814485699a4142bc056fd37d4e11dd4 (diff) | |
download | linux-c93465181fed0f8f5942a41108943dadea0aa345.tar.xz |
____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.c | 1 |
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(¤t->sighand->siglock); old_session = __install_session_keyring(current, new_session); flush_signal_handlers(current, 1); |