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

2 messages, 2 authors, 2016-06-17 · open the first message on its own page

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

From: Andreas Schwab <hidden>
Date: 2016-06-16 21:42:27

Chris Metcalf [off-list ref] 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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

From: Chris Metcalf <hidden>
Date: 2016-06-17 20:46:59

On 6/16/2016 5:42 PM, Andreas Schwab wrote:
Chris Metcalf [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help