This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4527] getgrouplist() returns 1, if user does not refer to a valid user on the system
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 May 2007 14:15:25 -0000
- Subject: [Bug libc/4527] getgrouplist() returns 1, if user does not refer to a valid user on the system
- References: <20070521143958.4527.lex@ispras.ru>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-05-21 15:15 -------
To me this looks like something the LSB folks made up without doing a reality
check. getgrouplist is originally a BSD function and nothing like that is
documented for it, nor glibc ever behaved that way.
1 is returned because the supplied group number has been stored into the
array.
For non-POSIX etc. functions LSB should just document what glibc does, not
come up with something and afterwards require that glibc changes to what
LSB folks made up.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4527
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.