[Bug libc/23656] New: [mips n32] sys/procfs.h pr_sigpend, pr_sighold, pr_flag have wrong type

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Sep 14 14:39:00 GMT 2018


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

            Bug ID: 23656
           Summary: [mips n32] sys/procfs.h pr_sigpend, pr_sighold,
                    pr_flag have wrong type
           Product: glibc
           Version: 2.28
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: mips*-*-linux*

As discussed at <https://sourceware.org/ml/libc-alpha/2018-09/msg00191.html>
and followup discussions, the MIPS n32 definitions of pr_sigpend and pr_sighold
in struct elf_prstatus, and pr_flag in struct elf_prpsinfo, are wrong to use
unsigned long long int; actual n32 core dumps use a 32-bit type there, so
userspace unsigned long int is correct for all MIPS ABIs.

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


More information about the Glibc-bugs mailing list