diff options
author | Sami Tolvanen <[email protected]> | 2019-10-08 15:40:49 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-10-11 12:49:19 +0200 |
commit | 6e4847640c6aebcaa2d9b3686cecc91b41f09269 (patch) | |
tree | 791552641998f2b65b58819c7ddc1b56f7ef425d /arch/x86/mm/pgtable.c | |
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 <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H . Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions