Re: [PATCH 1/2] arm64: fix syscall_fn_t type

2019-05-03 Thread Mark Rutland
On Wed, May 01, 2019 at 01:04:50PM -0700, Sami Tolvanen wrote: > Use const struct pt_regs * instead of struct pt_regs * as > the argument type to fix indirect call type mismatches with > Control-Flow Integrity checking. It's probably worth noting that in all syscall wrappers take a const struct

[PATCH 1/2] arm64: fix syscall_fn_t type

2019-05-01 Thread Sami Tolvanen
Use const struct pt_regs * instead of struct pt_regs * as the argument type to fix indirect call type mismatches with Control-Flow Integrity checking. Signed-off-by: Sami Tolvanen --- arch/arm64/include/asm/syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git