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

From: Ingo Molnar
Date: Sat Feb 27 2016 - 06:42:06 EST



* Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> 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.

Then a different solution has to be found.

Thanks,

Ingo