possible bug in powerpc LE compat syscalls with 64-bit args

Andreas Schwab schwab at linux-m68k.org
Fri Jun 17 07:42:14 AEST 2016


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.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


More information about the Linuxppc-dev mailing list