Re: sizeof (siginfo_t) problem

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Jul 22 2003 - 08:42:18 EST


On Mon, Jul 21, 2003 at 10:08:19AM +1000, Stephen Rothwell wrote:
> On Sun, 20 Jul 2003 04:32:54 +1000 Anton Blanchard <anton@samba.org> wrote:
> > > I am not sure if the s390 fix is correct (since s390x has been merged) or
> > > if x86_64 needs this (as I cannot remember the alignment needs of the
> > > x86_64 compiler - though I suspect it is needed).
> >
> > I didnt follow this thread very carefully :) Is ppc64 broken?
>
> It is broken subtly (but noone would probably notice :-)). It is OK
> on the structure size, but copy_siginfo will copy sizeof(int) bytes less
> than necessary sometimes (particularly in the case of a SIGCHILD).

Maybe it'd be a good idea to copy the architecture maintainers. I'm
certainly deleting a couple of thousand lkml mails at the moment, so
its pretty lucky that I just read Anton's message.

Is ARM broken?

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:46 EST