[RESEND PATCH v2 1/5] x86: use the correct function type in SYSCALL_DEFINE0

2019-10-08 Thread Sami Tolvanen
Although a syscall defined using SYSCALL_DEFINE0 doesn't accept parameters, use the correct function type to avoid type mismatches with Control-Flow Integrity (CFI) checking. Signed-off-by: Sami Tolvanen Acked-by: Andy Lutomirski --- arch/x86/include/asm/syscall_wrapper.h | 23

[PATCH v2 1/5] x86: use the correct function type in SYSCALL_DEFINE0

2019-09-18 Thread Sami Tolvanen
Although a syscall defined using SYSCALL_DEFINE0 doesn't accept parameters, use the correct function type to avoid type mismatches with Control-Flow Integrity (CFI) checking. Signed-off-by: Sami Tolvanen Acked-by: Andy Lutomirski --- arch/x86/include/asm/syscall_wrapper.h | 23