diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-10-08 15:40:49 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-10-11 12:49:19 +0200 |
commit | 6e4847640c6aebcaa2d9b3686cecc91b41f09269 (patch) | |
tree | 791552641998f2b65b58819c7ddc1b56f7ef425d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f48f01a92cca09e86d46c91d8edf9d5a71c61727 (diff) |
syscalls/x86: 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.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H . Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20191008224049.115427-6-samitolvanen@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions