History

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.

Dave Hansen committed 7 years ago

Commit f2406521 parent e28df792 files · +3 −15Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/prctl.h+1−1
@@ -181,7 +181,7 @@ struct prctl_mm_map { · 180 unmodified lines
181#define PR_GET_THP_DISABLE 42181#define PR_GET_THP_DISABLE 42
182 182
183/*183/*
184 * Tell the kernel to start/stop helping userspace manage bounds tables.184 * No longer implemented, but left here to ensure the numbers stay reserved:
185 */185 */
186#define PR_MPX_ENABLE_MANAGEMENT 43186#define PR_MPX_ENABLE_MANAGEMENT 43
187#define PR_MPX_DISABLE_MANAGEMENT 44187#define PR_MPX_DISABLE_MANAGEMENT 44