diff options
author | Sami Tolvanen | 2019-05-25 00:11:16 +0200 |
---|---|---|
committer | Will Deacon | 2019-05-29 14:45:59 +0200 |
commit | 8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64 (patch) | |
tree | 15bcc8f93707752af437f537d389bfb36d7a465e /arch/arm64/kernel/sys.c | |
parent | signal/arm64: Use force_sig not force_sig_fault for SIGKILL (diff) | |
download | kernel-qcow2-linux-8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64.tar.gz kernel-qcow2-linux-8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64.tar.xz kernel-qcow2-linux-8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64.zip |
arm64: fix syscall_fn_t type
Syscall wrappers in <asm/syscall_wrapper.h> use const struct pt_regs *
as the argument type. Use const in syscall_fn_t as well to fix indirect
call type mismatches with Control-Flow Integrity checking.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys.c')
0 files changed, 0 insertions, 0 deletions