diff options
author | James Youngman <jay@gnu.org> | 2008-02-21 15:01:15 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-21 15:02:07 +0100 |
commit | 49f7ebaac45f4d20a70c83c8302444b64259c6d3 (patch) | |
tree | 5de5689987d61d6247f0683887b9ed830ed434d4 /TODO | |
parent | bf9e98344df01e5a66cc9657bd975ef357773eb2 (diff) | |
download | coreutils-49f7ebaac45f4d20a70c83c8302444b64259c6d3.tar.gz coreutils-49f7ebaac45f4d20a70c83c8302444b64259c6d3.tar.bz2 coreutils-49f7ebaac45f4d20a70c83c8302444b64259c6d3.zip |
id: use getgrouplist when possible
* gl/m4/mgetgroups.m4: Check for getgrouplist.
* gl/lib/mgetgroups.c (mgetgroups): Use getgrouplist, if available.
* TODO: Remove the item about switching to getgrouplist.
* NEWS: mention this
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -142,17 +142,6 @@ Add a distcheck-time test to ensure that every distributed file is either read-only(indicating generated) or is version-controlled and up to date. -Implement Ulrich Drepper's suggestion to use getgrouplist rather than - getugroups. This affects both `id' and `setuidgid', but makes a big - difference on systems with many users and/or groups, and makes id usable - once again on systems where access restrictions make getugroups fail. - But first we'll need a run-test (either in an autoconf macro or at - run time) to avoid the segfault bug in libc-2.3.2's getgrouplist. - In that case, we'd revert to using a new (to-be-written) getgrouplist - module that does most of what `id' already does. Or just avoid the - buggy use of getgrouplist by never passing it a buffer of length zero. - See http://bugzilla.redhat.com/200327 - remove `%s' notation (now that they're all gone, add a Makefile.maint sc_ rule to ensure no new ones are added): grep -E "\`%.{,4}s'" src/*.c |