Messages in this thread | | | Date | Mon, 14 Jul 2003 11:57:29 -0400 | From | Jakub Jelinek <> | Subject | Re: sizeof (siginfo_t) problem |
| |
On Mon, Jul 14, 2003 at 08:48:00AM -0700, David Mosberger wrote: > Jakub> The kernel unfortunately does this right on sparc64 and alpha > Jakub> from 64-bit arches only; ia64, s390x, ppc64 etc. got it > Jakub> wrong. > > The ia64 kernel defines in asm-ia64/siginfo.h: > > #define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 4) > > typedef struct siginfo { > int si_signo; > int si_errno; > int si_code; > int __pad0; > > What's wrong with that?
Oops, sorry, you're right, dunno where I was looking. So, the bug seems to exist on s390x, amd64, maybe parisc64 if such thing exists.
Jakub - 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/
| |