linux/arch/x86/net
Peter Zijlstra 50b3d683dc x86/cfi: Fix CFI rewrite for odd alignments
[ Upstream commit 24c8147abb ]

Rustam reported his clang builds did not boot properly; turns out his
.config has: CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B=y set.

Fix up the FineIBT code to deal with this unusual alignment.

Fixes: 931ab63664 ("x86/ibt: Implement FineIBT")
Reported-by: Rustam Kovhaev <rkovhaev@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Rustam Kovhaev <rkovhaev@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-12 07:09:11 -04:00
..
bpf_jit_comp.c x86/cfi: Fix CFI rewrite for odd alignments 2026-03-12 07:09:11 -04:00
bpf_jit_comp32.c bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() 2024-03-14 19:28:52 -07:00
bpf_timed_may_goto.S bpf, x86: Fix objtool warning for timed may_goto 2025-03-15 15:55:14 -07:00
Makefile bpf, x86: Add x86 JIT support for timed may_goto 2025-03-15 11:48:28 -07:00