Re: si_band type

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Feb 23 2000 - 12:27:36 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:33 EST