signal/x86: Move mpx siginfo generation into do_bounds
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 4 Jan 2018 01:22:04 +0000 (19:22 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 19 Sep 2018 13:53:11 +0000 (15:53 +0200)
commit8d68fa0e083995b48be6b66e04afe746d4654b0c
tree6c939685f89f57cbc13b178c0310c79b98db4072
parent8a35eb22c02baf0c58b44ba28fc163270ef147f8
signal/x86: Move mpx siginfo generation into do_bounds

This separates the logic of generating the signal from the logic of
gathering the information about the bounds violation.

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