linux/arch
Peter Zijlstra 5891271055 x86/ibt,bpf: Add ENDBR instructions to prologue and trampoline
With IBT enabled builds we need ENDBR instructions at indirect jump
target sites, since we start execution of the JIT'ed code through an
indirect jump, the very first instruction needs to be ENDBR.

Similarly, since eBPF tail-calls use indirect branches, their landing
site needs to be an ENDBR too.

The trampolines need similar adjustment.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Fixed-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154318.464998838@infradead.org
2022-03-15 10:32:38 +01:00
..
alpha
arc
arm ARM: Spectre-BHB: provide empty stub for non-config 2022-03-11 12:42:49 -08:00
arm64 Merge branch 'arm64/for-next/linkage' 2022-03-15 10:32:31 +01:00
csky
h8300
hexagon
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2022-01-30 09:56:58 +02:00
m68k
microblaze
mips MIPS: ralink: mt7621: use bitwise NOT instead of logical 2022-03-01 10:08:45 +01:00
nds32
nios2
openrisc
parisc parisc/unaligned: Fix ldw() and stw() unalignment handlers 2022-02-23 18:01:06 +01:00
powerpc x86/ibt,kprobes: Cure sym+0 equals fentry woes 2022-03-15 10:32:38 +01:00
riscv RISC-V Fixes for 5.17-rc8 2022-03-11 12:28:21 -08:00
s390 s390 updates for 5.17-rc7 2022-03-05 11:25:26 -08:00
sh
sparc
um
x86 x86/ibt,bpf: Add ENDBR instructions to prologue and trampoline 2022-03-15 10:32:38 +01:00
xtensa
.gitignore
Kconfig