linux/arch/x86/entry
Peter Zijlstra 8f93402b92 x86/ibt,entry: Sprinkle ENDBR dust
Kernel entry points should be having ENDBR on for IBT configs.

The SYSCALL entry points are found through taking their respective
address in order to program them in the MSRs, while the exception
entry points are found through UNWIND_HINT_IRET_REGS.

The rule is that any UNWIND_HINT_IRET_REGS at sym+0 should have an
ENDBR, see the later objtool ibt validation patch.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154317.933157479@infradead.org
2022-03-15 10:32:35 +01:00
..
syscalls mm/mempolicy: wire up syscall set_mempolicy_home_node 2022-01-15 16:30:30 +02:00
vdso - Get rid of all the .fixup sections because this generates 2022-01-12 16:31:19 -08:00
vsyscall x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
calling.h x86/entry: Split PUSH_AND_CLEAR_REGS into two submacros 2021-05-12 10:49:15 +02:00
common.c X86 entry code related updates: 2021-06-29 12:44:51 -07:00
entry_32.S Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
entry_64_compat.S x86/ibt,entry: Sprinkle ENDBR dust 2022-03-15 10:32:35 +01:00
entry_64.S x86/ibt,entry: Sprinkle ENDBR dust 2022-03-15 10:32:35 +01:00
Makefile x86/syscalls: Don't adjust CFLAGS for syscall tables 2021-05-25 16:59:23 +02:00
syscall_32.c x86/syscalls: Stop filling syscall arrays with *_sys_ni_syscall 2021-05-20 15:03:59 +02:00
syscall_64.c x86/syscalls: Stop filling syscall arrays with *_sys_ni_syscall 2021-05-20 15:03:59 +02:00
syscall_x32.c x86/syscalls: Stop filling syscall arrays with *_sys_ni_syscall 2021-05-20 15:03:59 +02:00
thunk_32.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
thunk_64.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00