mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
3056dcdb78
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 |
||
---|---|---|
.. | ||
nss_compat | ||
nss_nis | ||
nss_nisplus | ||
rpcsvc | ||
Depend | ||
libnsl.h | ||
Makefile | ||
nis_add.c | ||
nis_addmember.c | ||
nis_call.c | ||
nis_callback.c | ||
nis_checkpoint.c | ||
nis_clone_dir.c | ||
nis_clone_obj.c | ||
nis_clone_res.c | ||
nis_creategroup.c | ||
nis_defaults.c | ||
nis_destroygroup.c | ||
nis_domain_of_r.c | ||
nis_domain_of.c | ||
nis_error.c | ||
nis_error.h | ||
nis_file.c | ||
nis_findserv.c | ||
nis_free.c | ||
nis_getservlist.c | ||
nis_hash.c | ||
nis_intern.h | ||
nis_ismember.c | ||
nis_local_names.c | ||
nis_lookup.c | ||
nis_mkdir.c | ||
nis_modify.c | ||
nis_ping.c | ||
nis_print_group_entry.c | ||
nis_print.c | ||
nis_remove.c | ||
nis_removemember.c | ||
nis_rmdir.c | ||
nis_server.c | ||
nis_subr.c | ||
nis_table.c | ||
nis_util.c | ||
nis_verifygroup.c | ||
nis_xdr.c | ||
nis_xdr.h | ||
nisplus-parser.h | ||
nss | ||
nss-default.c | ||
nss-nis.c | ||
nss-nis.h | ||
nss-nisplus.c | ||
nss-nisplus.h | ||
Versions | ||
yp_xdr.c | ||
ypclnt.c | ||
ypupdate_xdr.c |