x86/mpx: Remove MPX APIs
authorDave Hansen <dave.hansen@linux.intel.com>
Fri, 5 Jul 2019 17:53:21 +0000 (10:53 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 09:54:57 +0000 (11:54 +0200)
commitf240652b6032b48ad7fa35c5e701cc4c8d697c0b
tree5b1c833f37071a7a8c4547502c9aa276afd6d943
parente28df79ae2dfebf18e08dc66c0948b7950e4368a
x86/mpx: Remove MPX APIs

MPX is being removed from the kernel due to a lack of support in the
toolchain going forward (gcc).

The first step is to remove the userspace-visible ABIs so that applications
will stop using it.  The most visible one are the enable/disable prctl()s.
Remove them first.

This is the most minimal and least invasive change needed to ensure that
apps stop using MPX with new kernels.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190705175321.DB42F0AD@viggo.jf.intel.com
include/uapi/linux/prctl.h
kernel/sys.c