This is the mail archive of the glibc-bugs@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]

[Bug ports/4459] New: MIPS mips64 setregid and friends fail


Passing arg -1 on mips64 to setregid causes failures.

OK, -1 is a flag value for certain setuid and setgid system calls. The 32 bit
value in uid_t and gid_t is not sign extended by glibc when passed to the
kernel, but the kernel does sign extend in it's comparison check rgid !=
(gid_t)-1.

This may be broken on all mips64 versions of glibc.

-- 
           Summary: MIPS mips64 setregid and friends fail
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ports
        AssignedTo: roland at gnu dot org
        ReportedBy: pwatkins at sicortex dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: mips64el-gentoo-linux-gnu
GCC target triplet: mips64el-gentoo-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=4459

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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