diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-09-10 15:40:44 -0700 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-09-17 12:11:50 +0100 |
commit | c27eccfe4d6c7481ce99f1c433ca043ab464080a (patch) | |
tree | b0857d724355e32bd3b6c065df3f4ea86d76f94c /LICENSES | |
parent | selftests, arm64: add kernel headers path for tags_test (diff) | |
download | linux-dev-c27eccfe4d6c7481ce99f1c433ca043ab464080a.tar.xz linux-dev-c27eccfe4d6c7481ce99f1c433ca043ab464080a.zip |
arm64: fix function types in COND_SYSCALL
Define a weak function in COND_SYSCALL instead of a weak alias to
sys_ni_syscall, which has an incompatible type. This fixes indirect
call mismatches with Control-Flow Integrity (CFI) checking.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions