lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: si_band type
Hi,

On 22 Feb 2000 15:54:11 -0800, Ulrich Drepper <drepper@redhat.com> said:

> The type of the si_band (more correctly: _sifields._sigpoll._fd) field in
> include/asm-*/siginfo.h

> is wrong. It should be `long', not `int'. We can easily change it
> for 32-bit architectures, but what to do for 64bit? If nobody is
> using it (is it possible at all?) we can probably just do it without
> disturbing anybody.

It is already in use by the F_SETSIG FASYNC code in 2.3. Worse, the
"_fd" member which follows it is also in use, even on 2.2.

si_band isn't in use in 2.2 to my knowledge, so we could conceivably
move it after the si_fd member and replace the old si_band with padding,
but is this really any better than leaving si_band as an int?

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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