diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-10-08 15:40:47 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-10-11 12:49:18 +0200 |
commit | 00198a6eaf66609de5e4de9163bb42c7ca9dd7b7 (patch) | |
tree | df35e38be20199596795633eaa2f3bf807a994d0 /arch/x86/entry/syscall_32.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 <samitolvanen@google.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H . Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20191008224049.115427-4-samitolvanen@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/entry/syscall_32.c')
0 files changed, 0 insertions, 0 deletions