diff options
author | Borislav Petkov <[email protected]> | 2022-01-27 12:56:23 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-04-04 10:16:57 +0200 |
commit | dbae0a934f09208075ec3e73491bd0844e1397b3 (patch) | |
tree | ad673206368782f4db7edb97bcc23ad9497cf20a /lib/mpi/mpi-sub-ui.c | |
parent | c949110ef4e31cb5d3387bd8273fd5de66b5227b (diff) |
x86/cpu: Remove CONFIG_X86_SMAP and "nosmap"
Those were added as part of the SMAP enablement but SMAP is currently
an integral part of kernel proper and there's no need to disable it
anymore.
Rip out that functionality. Leave --uaccess default on for objtool as
this is what objtool should do by default anyway.
If still needed - clearcpuid=smap.
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Lai Jiangshan <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions