This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/4459] New: MIPS mips64 setregid and friends fail
- From: "pwatkins at sicortex dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 May 2007 15:45:05 -0000
- Subject: [Bug ports/4459] New: MIPS mips64 setregid and friends fail
- Reply-to: sourceware-bugzilla at sourceware dot org
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.