summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2021-04-08 21:28:40 +0300
committerKees Cook <keescook@chromium.org>2021-04-09 02:04:23 +0300
commit9562f3dc6f502d78fd5c8c56f5826e93b781bd46 (patch)
treeabc24fa2fbbd466329211e1b16e3120d100b2d49 /tools/perf/scripts/python/syscall-counts.py
parentcbdac8413e33bd1b9de45eeb10221c4686d743a6 (diff)
downloadlinux-9562f3dc6f502d78fd5c8c56f5826e93b781bd46.tar.xz
arm64: add __nocfi to __apply_alternatives
__apply_alternatives makes indirect calls to functions whose address is taken in assembly code using the alternative_cb macro. With non-canonical CFI, the compiler won't replace these function references with the jump table addresses, which trips CFI. Disable CFI checking in the function to work around the issue. 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-16-samitolvanen@google.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions