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
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
2 matches
Mail list logo