lkml.org 
[lkml]   [2003]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.862 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site