possible bug in powerpc LE compat syscalls with 64-bit args
Chris Metcalf
cmetcalf at mellanox.com
Sat Jun 18 06:46:38 AEST 2016
On 6/16/2016 5:42 PM, Andreas Schwab wrote:
> Chris Metcalf <cmetcalf at mellanox.com> writes:
>
>> Reviewing what other platforms do, it seems like powerpc compat mode may
>> have the opposite problem in little-endian mode, since arguments are passed
>> in "hi, lo" order unconditionally in arch/powerpc/kernel/sys_ppc32.c.
> PPC32 is always big-endian.
Sounds good then.
Commit 422b9b9684db ("powerpc/compat: 32-bit little endian machine
name is ppcle, not ppc") made me think there was support for a
little-endian 32-bit mode.
--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com
More information about the Linuxppc-dev
mailing list