diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2010-11-22 11:11:24 -0500 |
|---|---|---|
| committer | Andreas Schwab <schwab@redhat.com> | 2010-12-01 15:35:20 +0100 |
| commit | d1d5508011bfbd594f4d1c61d20b0ab9fb1bdc1d (patch) | |
| tree | f324d85726dfccbeb68070839ac9791fc8260235 /scripts/cpp | |
| parent | 24990266ba20fcff9fe4f08646350fdece96f27a (diff) | |
| download | glibc-d1d5508011bfbd594f4d1c61d20b0ab9fb1bdc1d.tar.xz glibc-d1d5508011bfbd594f4d1c61d20b0ab9fb1bdc1d.zip | |
Fix multiple nss_compat initgroups() bugs
Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.
This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.
Conflicts:
ChangeLog
(cherry picked from commit 3056dcdb783a177158a5617657d1a33f872358d6)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
