diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2021-04-08 21:28:39 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2021-04-09 02:04:22 +0300 |
commit | cbdac8413e33bd1b9de45eeb10221c4686d743a6 (patch) | |
tree | a77fa0fe9ae124d57881ede5010ebb4eeeb1bf53 /tools/perf/scripts/python/syscall-counts.py | |
parent | bde33977bf24b7ed52e2bac0eb9235769a0a11f6 (diff) | |
download | linux-cbdac8413e33bd1b9de45eeb10221c4686d743a6.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions