This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

question about s390/bits/siginfo.h


Hi all,

working on a patch that updates siginfo.h files from glibc, we've
noticed something in sysdeps/unix/sysv/linux/s390/bits/siginfo.h that
seems to be inconsistent with the kernel source.

In the generic kernel header <asm-generic/siginfo.h> included by
arch/s390/include/uapi/asm/siginfo.h, _sigfault has an optional field
int _trapno that is included #ifdef __ARCH_SI_TRAPNO. On kernel 3.8,
__ARCH_SI_TRAPNO is defined for sparc, tile and alpha.

However, glibc doesn't use __ARCH_SI_TRAPNO and siginfo.h for s390 has
int _trapno hardcoded on _sigfault. Is that struct correct for s390?

Thanks!
-- 
Edjunior


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]