summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2017-11-17 15:30:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 16:10:03 -0800
commitac25385089f673560867eb5179228a44ade0cfc1 (patch)
treedb30cc877ae01470a59fe0a1ccb633b8fb945053 /kernel/exit.c
parent628c1bcba204052d19b686b5bac149a644cdb72e (diff)
downloadlinux-stable-ac25385089f673560867eb5179228a44ade0cfc1.tar.gz
linux-stable-ac25385089f673560867eb5179228a44ade0cfc1.tar.bz2
linux-stable-ac25385089f673560867eb5179228a44ade0cfc1.zip
kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
Change sig_task_ignored() to drop the SIG_DFL && !sig_kernel_only() signals even if force == T. This simplifies the next change and this matches the same check in get_signal() which will drop these signals anyway. Link: http://lkml.kernel.org/r/20171103184227.GC21036@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Tested-by: Kyle Huey <me@kylehuey.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions