[Bug libc/18696] New: x86 bits/siginfo.h is out of date

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Mon Jul 20 15:38:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=18696

            Bug ID: 18696
           Summary: x86 bits/siginfo.h is out of date
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Since kernel 3.19, struct siginfo has

                /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
                struct {
                        void __user *_addr; /* faulting insn/memory ref. */
#ifdef __ARCH_SI_TRAPNO
                        int _trapno;    /* TRAP # which caused the signal */
#endif
                        short _addr_lsb; /* LSB of the reported address */
                        struct {
                                void __user *_lower;
                                void __user *_upper;
                        } _addr_bnd;
                } _sigfault;

But sysdeps/unix/sysv/linux/x86/bits/siginfo.h has

        /* SIGILL, SIGFPE, SIGSEGV, SIGBUS.  */
        struct
          {
            void *si_addr;      /* Faulting insn/memory ref.  */
            short int si_addr_lsb;      /* Valid LSB of the reported address. 
*/
          } _sigfault;

I'd like to fix it for 2.22.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list