Do we need Linux/alpha and Linux/sparc versions of <bits/siginfo.h>?
Andreas Jaeger
aj@suse.de
Sun Jan 23 23:15:00 GMT 2000
Looking through the various asm-*/siginfo.h files in Linux 2.3.41pre2,
I've encountered only two platforms with problems: Alpha and Sparc.
Could the maintainers of these platforms please check the following
and take appropriate action?
Alpha defines:
#define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 4)
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
but all other platforms have a 3 instead of a 4 for these two defines:
#define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 3)
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
Sparc and Sparc64 additionally define the member _trapno for _sigfault
- and SIGEMT is also only used by Sparc*:
/* SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGEMT */
struct {
void *_addr; /* faulting insn/memory ref. */
int _trapno; /* TRAP # which caused the signal */
} _sigfault;
Do we need Linux/alpha and Linux/sparc versions of <bits/siginfo.h>?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list