[PATCH 0/2] fix function type mismatches in syscall wrappers

From: Sami Tolvanen
Date: Wed May 01 2019 - 16:05:20 EST


These patches fix type mismatches in arm64 syscall wrapper
definitions, which trip indirect call checks with Control-Flow
Integrity.

Sami Tolvanen (2):
arm64: fix syscall_fn_t type
arm64: use the correct function type in SYSCALL_DEFINE0

arch/arm64/include/asm/syscall.h | 2 +-
arch/arm64/include/asm/syscall_wrapper.h | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)

--
2.21.0.593.g511ec345e18-goog