diff options
author | Sami Tolvanen | 2019-05-25 00:11:18 +0200 |
---|---|---|
committer | Will Deacon | 2019-05-29 14:46:00 +0200 |
commit | 1e29ab3186e33c77dbb2d7566172a205b59fa390 (patch) | |
tree | 1afbe4c0b12c895cf99c20f0ef80616a3fbd73e1 /drivers/net | |
parent | arm64: use the correct function type in SYSCALL_DEFINE0 (diff) | |
download | kernel-qcow2-linux-1e29ab3186e33c77dbb2d7566172a205b59fa390.tar.gz kernel-qcow2-linux-1e29ab3186e33c77dbb2d7566172a205b59fa390.tar.xz kernel-qcow2-linux-1e29ab3186e33c77dbb2d7566172a205b59fa390.zip |
arm64: use the correct function type for __arm64_sys_ni_syscall
Calling sys_ni_syscall through a syscall_fn_t pointer trips indirect
call Control-Flow Integrity checking due to a function type
mismatch. Use SYSCALL_DEFINE0 for __arm64_sys_ni_syscall instead and
remove the now unnecessary casts.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions