commit | 1e29ab3186e33c77dbb2d7566172a205b59fa390 | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Fri May 24 15:11:18 2019 -0700 |
committer | Will Deacon <will.deacon@arm.com> | Wed May 29 13:46:00 2019 +0100 |
tree | 1afbe4c0b12c895cf99c20f0ef80616a3fbd73e1 | |
parent | 0e358bd7b7ebd27e491dabed938eae254c17fe3b [diff] |
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>