]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4a60360b6e23af07df418542c300f378a073b7a
tree5b1c833f37071a7a8c4547502c9aa276afd6d943
parent3c5a613313146321de085080a0f5f92c4c165f9d
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