Skip to content
Commit caccf2ac authored by Joseph J Allen's avatar Joseph J Allen Committed by Michael Ellerman
Browse files

powerpc: use kernel endianness in MSR in 32-bit signal handler



This mirrors the behavior in handle_rt_signal32, to obey kernel endianness
rather than assume a 32-bit process is big-endian. Without this change,
any 32-bit little-endian process will SIGILL immediately upon handling a
signal.

Signed-off-by: default avatarJoseph J Allen <eerykitty@gmail.com>
Signed-off-by: default avatarWill Springer <skirmisher@protonmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2058876.irdbgypaU6@sheen
parent 2377c92e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment