diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-30 09:52:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:33 +0200 |
commit | 2acb024d5524eda305523c1d6061fe5ef1949165 (patch) | |
tree | 036d7a02f2e6db3be810e42947f4caaa3b290d7f /kernel/compat.c | |
parent | signals: turn LEGACY_QUEUE macro into static inline function (diff) | |
download | linux-2acb024d5524eda305523c1d6061fe5ef1949165.tar.xz linux-2acb024d5524eda305523c1d6061fe5ef1949165.zip |
signals: consolidate checking for ignored/legacy signals
Two callers for send_signal() - the specific_send_sig_info and the
__group_send_sig_info - both check for sig to be ignored or already queued.
Move these checks into send_signal() and make it return 1 to indicate that the
signal is dropped, but there's no error in this.
Besides, merge comments and spell-check them.
[oleg@tv-sign.ru: simplifications]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions