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

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