diff options
author | Sami Tolvanen <[email protected]> | 2019-10-08 15:40:45 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-10-11 12:49:18 +0200 |
commit | 8661d769ab77c675b5eb6c3351a372b9fbc1bf40 (patch) | |
tree | 3f79c8ba1cde7245036e6d4d66ec0821de2272ef /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 8a8c600de5dc1d9a7f4b83269fddc80ebd3dd045 (diff) |
syscalls/x86: Use the correct function type in SYSCALL_DEFINE0
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 <[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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions