This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: setresgid fails for GID > 65535 on s390
- From: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- To: Chandru <chandru at 2fdiibm450 dot in dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 14 Feb 2005 10:49:50 +0100
- Subject: Re: setresgid fails for GID > 65535 on s390
> On a local s390 (32-bit) system with glibc-2.2.5-233 and 2.4.21-266
> kernel, setresgid() fails for users with gid > 65535. Replacing the
> glibc-2.2 with glibc-2.3 helps. Looking through the glibc code, it
> seemed like glibc is supporting a 16-bit setresgid(). The problem does
> not occur on x86. man page of setresgid() mentions that the prototype
> of setresgid() is not available in glibc-2.2 but is available in higher
> versions (2.3). Can anybody suggest on how we can make setresgid() work
> for large gid's ( gid > 65535 ) on glibc-2.2.5-233, or how the changes
> in glibc-2.3 can be backported to glibc-2.2 for setresgid() call.
The glibc-2-2-5 branch in the CVS is fine. It's the distributions
glibc package that has it wrong.
blue skies,
Martin
Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH