cfi: Add CFI_NOSEAL()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 15 Dec 2023 09:12:21 +0000 (10:12 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 16 Dec 2023 00:25:55 +0000 (16:25 -0800)
commite9d13b9d2f99ccf7afeab490d97eaa5ac9846598
tree51bae8a1316eb43a74aefebb60a641c89bba6f9e
parent2cd3e3772e41377f32d6eea643e0590774e9187c
cfi: Add CFI_NOSEAL()

Add a CFI_NOSEAL() helper to mark functions that need to retain their
CFI information, despite not otherwise leaking their address.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20231215092707.669401084@infradead.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/x86/include/asm/cfi.h
include/linux/cfi.h