OSDN Git Service

signal: Remove SEND_SIG_FORCED
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 3 Sep 2018 08:39:04 +0000 (10:39 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Sep 2018 19:19:48 +0000 (21:19 +0200)
commit4ff4c31a6e85f4c49fbeebeaa28018d002884b5a
treef52352dc15a1199f77e24d676ba17de98e885b0b
parent079b22dc9be985c591589fcb94769b8e13518aa0
signal: Remove SEND_SIG_FORCED

There are no more users of SEND_SIG_FORCED so it may be safely removed.

Remove the definition of SEND_SIG_FORCED, it's use in is_si_special,
it's use in TP_STORE_SIGINFO, and it's use in __send_signal as without
any users the uses of SEND_SIG_FORCED are now unncessary.

This makes the code simpler, easier to understand and use.  Users of
signal sending functions now no longer need to ask themselves do I
need to use SEND_SIG_FORCED.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/sched/signal.h
include/trace/events/signal.h
kernel/signal.c