Messages in this thread | | | Date | Mon, 14 Jul 2003 14:55:40 +0100 | From | Jamie Lokier <> | Subject | Re: sizeof (siginfo_t) problem |
| |
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!
Other cleanups:
- SI_* codes on S390 are identical to the generic ones. They can be removed from the S390 file.
- Comment in MIPS siginfo about IRIX compatibility is no longer true; the layout was changed when uid32 added.
- __ARCH_SI_UID_T can be removed. Only Sparc sets it, and to the same type as uid_t (unsigned int).
-- Jamie - 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/
| |