Re: [PATCH] syscall(2): note parisc handling of aligned register pairs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/11/2017 10:04 PM, Mike Frysinger wrote:
> While parisc would normally have the same behavior as ARM/PowerPC,
> they decide to write shim syscall stubs to unpack/realign rather
> than expose the padding to userspace.

Thanks, Mike. Patch applied.

Cheers,

Michael


> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> ---
>  man2/syscall.2 | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index f8c89b84356d..b55540e039b7 100644
> --- a/man2/syscall.2
> +++ b/man2/syscall.2
> @@ -133,6 +133,10 @@ on PowerPC with the 32-bit ABI, and on Xtensa.
>  .\" Mike Frysinger: this issue ends up forcing MIPS
>  .\" O32 to take 7 arguments to syscall()
>  
> +.\" See arch/parisc/kernel/sys_parisc.c.
> +Note that while the parisc C ABI also uses aligned register pairs,
> +it uses a shim layer to hide the issue from userspace.
> +
>  The affected system calls are
>  .BR fadvise64_64 (2),
>  .BR ftruncate64 (2),
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux