Thread (53 messages) 53 messages, 4 authors, 2018-06-20

[PATCHv3 16/19] arm64: use {COMPAT, }SYSCALL_DEFINE0 for sigreturn

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2018-06-19 15:48:33
Also in: linux-fsdevel

On Mon, Jun 18, 2018 at 01:03:07PM +0100, Mark Rutland wrote:
We don't currently annotate our various sigreturn functions as syscalls,
as we need to do to use pt_regs syscall wrappers.

Let's mark them as real syscalls.

For compat_sys_sigreturn and compat_sys_rt_sigreturn, this changes the
return type from int to long, matching the prototypes in sys32.c.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help