signal/x86/traps: Use force_sig instead of open coding it.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 8 Aug 2017 15:55:19 +0000 (10:55 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 12:47:01 +0000 (14:47 +0200)
commitafe8448c0d9db1e1ffaa4a130a7df5f5e63b7188
treeaa3b798fc8174ca942bc757e17092b34c102209c
parent851ce9e697b8a432ad1847a0c2d464b412353829
signal/x86/traps: Use force_sig instead of open coding it.

The function "force_sig(sig, tsk)" is equivalent to "
force_sig_info(sig, SEND_SIG_PRIV, tsk)".  Using the siginfo variants can
be error prone so use the simpler old fashioned force_sig variant,
and with luck the force_sig_info variant can go away.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/x86/kernel/traps.c