Re: sizeof (siginfo_t) problem

Andreas Schwab (
Mon, 14 Jul 2003 17:02:26 +0200

Jamie Lokier <> writes:

|> Jakub Jelinek wrote:
|> > When siginfo_t was added, the intent obviously was that its size
|> > be 128 bytes on all arches.
|> >
|> > The kernel unfortunately does this right on sparc64 and alpha from 64-bit
|> > arches only; ia64, s390x, ppc64 etc. got it wrong.
|> That's not the only siginfo_t problem:
|> - Take a look at the placement of the _uid32 field on m68k.
|> It varies from sub-structure to sub-structure - yet it is
|> always written to the same offset by the kernel. Borken!

It should probably use the one from asm-generic as well. I could not
find anything that actually uses that field.


Andreas Schwab, SuSE Labs,
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at