diff options
author | Sami Tolvanen <[email protected]> | 2019-10-08 15:40:47 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-10-11 12:49:18 +0200 |
commit | 00198a6eaf66609de5e4de9163bb42c7ca9dd7b7 (patch) | |
tree | df35e38be20199596795633eaa2f3bf807a994d0 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | cf3b83e19d7c928e05a5d193c375463182c6029a (diff) |
syscalls/x86: Use COMPAT_SYSCALL_DEFINE0 for IA32 (rt_)sigreturn
Use COMPAT_SYSCALL_DEFINE0 to define (rt_)sigreturn() syscalls to
replace sys32_sigreturn() and sys32_rt_sigreturn(). 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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions