This patch set changes x64 and ia32 syscall wrappers and related functions to use function types that match sys_call_ptr_t. This fixes indirect call mismatches with Control-Flow Integrity (CFI) checking.
Sami Tolvanen (4): x86: use the correct function type in SYSCALL_DEFINE0 x86: use the correct function type for sys32_(rt_)sigreturn x86: use the correct function type for sys_ni_syscall x86: fix function types in COND_SYSCALL arch/x86/entry/syscall_32.c | 13 ++++++-- arch/x86/entry/syscall_64.c | 12 +++++-- arch/x86/entry/syscalls/syscall_32.tbl | 4 +-- arch/x86/ia32/ia32_signal.c | 4 +-- arch/x86/include/asm/syscall_wrapper.h | 44 ++++++++++++++++---------- 5 files changed, 51 insertions(+), 26 deletions(-) -- 2.23.0.237.gc6a4ce50a0-goog