Re: siginfo_t fracturing, especially for 64/32-bit compatibility mode
From: Joe Korty
Date: Fri Jan 02 2004 - 15:39:37 EST
[ resend, accidently sent originally from a broken email account ]
> On Fri, 2 Jan 2004, Joe Korty wrote:
>> siginfo_t processing is fragile when in 32 bit compatibility mode on
>> a 64 bit processor.
>
> It shouldn't be.
> Inside the kernel, we should always use the "native" format (ie 64-bit).
Indeed we do, and that is the problem. 32 bit apps by definition use
the 32 bit version of siginfo_t and the first act the kernel has to do
on receiving one of these is convert it to 64 bit for consumption by
the rest of the kernel. In order to do that, the kernel must know what
fields in siginfo_t the user has set.
Joe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/