commit | 363da4022c2753bf4b4b54a1bb9e4527fdcb9d5d | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Wed May 26 14:43:02 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 27 09:12:45 2010 -0700 |
tree | 103922ef0f185daebf5a3e8029663ab78eaed363 | |
parent | c70a626d3eba373514c72287c93588b6974a0059 [diff] |
call_usermodehelper: no need to unblock signals ____call_usermodehelper() correctly calls flush_signal_handlers() to set SIG_DFL, but sigemptyset(->blocked) and recalc_sigpending() are not needed. This kthread was forked by workqueue thread, all signals must be unblocked and ignored, no pending signal is possible. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>