Messages in this thread | | | Subject | Re: sizeof (siginfo_t) problem | From | Andreas Schwab <> | Date | Mon, 14 Jul 2003 17:02:26 +0200 |
| |
Jamie Lokier <jamie@shareable.org> 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.
-- Andreas Schwab, SuSE Labs, schwab@suse.de 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |