Messages in this thread | | | Date | Tue, 22 Jul 2003 02:24:24 +1000 | From | Stephen Rothwell <> | Subject | Re: siginfo pad problem. |
| |
On Mon, 21 Jul 2003 16:23:00 +0200 Kurt Roeckx <Q@ping.be> wrote: > > It seems the _timer part of siginfo is a little bit broken. > > It has: > char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; > > Where __ARCH_SI_UID_T can be a short.
Except __ARCH_SI_UID_T is defined to be uid_t everywhere except sparc where it is "unsigned int". In include/linux/types.h, uid_t is typdef'ed to be __kernel_uid32_t (in the kernel), so __ARCH_SI_UID_T is always (at least) 32 bits.
I was worried about that the first time I saw it as well.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ - 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/
| |