linux/arch/arm64/include
Sami Tolvanen cbdac8413e arm64: add __nocfi to functions that jump to a physical address
Disable CFI checking for functions that switch to linear mapping and
make an indirect call to a physical address, since the compiler only
understands virtual addresses and the CFI check for such indirect calls
would always fail.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210408182843.1754385-15-samitolvanen@google.com
2021-04-08 16:04:22 -07:00
..
asm arm64: add __nocfi to functions that jump to a physical address 2021-04-08 16:04:22 -07:00
uapi/asm KVM: arm64: Move 'struct kvm_arch_memory_slot' out of uapi/ 2020-11-27 18:59:05 +00:00