Re: [PATCH] x86, pkeys: fix siginfo ABI breakage from new field

From: Stephen Rothwell
Date: Fri Feb 26 2016 - 17:10:23 EST


Hi,

On Fri, 26 Feb 2016 09:44:00 -0800 "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
>
>
> __u64 is okay, "unsigned long" is really messy in the presence of 32-on-64 bit ABIs...

Yeah, but unfortunately, any 64 bit scalar type here will change the
alignment of the enclosing unions on (some) 32 bit platforms and thus
break the ABI.

--
Cheers,
Stephen Rothwell