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
..
2021-02-26 10:19:03 -08:00
2021-02-23 09:28:51 -08:00
2021-02-04 13:59:49 +00:00
2019-07-08 09:54:55 -07:00
2021-03-22 12:45:13 +00:00
2020-06-01 15:18:27 -07:00
2020-09-07 15:00:52 +01:00
2021-02-04 13:59:49 +00:00
2020-05-01 16:28:59 +01:00
2021-01-07 18:06:52 -05:00
2021-02-04 13:59:49 +00:00
2020-12-15 12:13:41 -08:00
2021-02-21 13:31:43 -08:00