summaryrefslogtreecommitdiffstats
path: root/kernel/locking/Makefile
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-03-08 16:30:17 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-03-15 10:32:33 +0100
commit156ff4a544ae13c5fd6759a09ecb069f7059c1a1 (patch)
tree4e429b976672a1634463f7792a84604a80a63d82 /kernel/locking/Makefile
parent5cff2086b01526b8c7deacc86473ffbab0cddfa9 (diff)
downloadlinux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.tar.gz
linux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.tar.bz2
linux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.zip
x86/ibt: Base IBT bits
Add Kconfig, Makefile and basic instruction support for x86 IBT. (Ab)use __DISABLE_EXPORTS to disable IBT since it's already employed to mark compressed and purgatory. Additionally mark realmode with it as well to avoid inserting ENDBR instructions there. While ENDBR is technically a NOP, inserting them was causing some grief due to code growth. There's also a problem with using __noendbr in code compiled without -fcf-protection=branch. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20220308154317.519875203@infradead.org
Diffstat (limited to 'kernel/locking/Makefile')
0 files changed, 0 insertions, 0 deletions