kernel/signal.c: change do_signal_stop/do_sigaction to use while_each_thread()
commit8d38f203b46c36626285400b9466b08abecaaa80
authorOleg Nesterov <oleg@redhat.com>
Thu, 23 Jan 2014 23:55:56 +0000 (23 15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:02 +0000 (23 16:37 -0800)
tree262015ec19a4d39c29d9b21e0e14cbe2863ffb26
parent2e1f38358246b8f8e5871026b21d374e9bb1a163
kernel/signal.c: change do_signal_stop/do_sigaction to use while_each_thread()

Change do_signal_stop() and do_sigaction() to avoid next_thread() and use
while_each_thread() instead.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Kees Cook <keescook@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c