mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
99135114ba
nss_db allows for getpwent et al to be called without a set*ent, but it only works once. After the last get*ent a set*ent is required to restart, because the end*ent did not properly reset the module. Resetting it to NULL allows for a proper restart. If the database doesn't exist, however, end*ent erroniously called munmap which set errno. The test case runs "makedb" inside the testroot, so needs selinux DSOs installed. |
||
---|---|---|
.. | ||
nss_compat | ||
nss_db | ||
nss_files | ||
tst-nss-db-endgrent.root/etc | ||
tst-nss-db-endpwent.root | ||
tst-nss-files-hosts-long.root/etc | ||
tst-nss-test3.root | ||
alias-lookup.c | ||
bug17079.c | ||
bug-erange.c | ||
compat-lookup.c | ||
databases.def | ||
db-Makefile | ||
Depend | ||
digits_dots.c | ||
ethers-lookup.c | ||
function.def | ||
getent.c | ||
getnssent_r.c | ||
getnssent.c | ||
getXXbyYY_r.c | ||
getXXbyYY.c | ||
getXXent_r.c | ||
getXXent.c | ||
grp-lookup.c | ||
hosts-lookup.c | ||
key-lookup.c | ||
makedb.c | ||
Makefile | ||
netgrp-lookup.c | ||
network-lookup.c | ||
nss_hash.c | ||
nss_test1.c | ||
nss_test2.c | ||
nss_test.h | ||
nss_test.ver | ||
nss.h | ||
nsswitch.c | ||
nsswitch.conf | ||
nsswitch.h | ||
proto-lookup.c | ||
pwd-lookup.c | ||
rewrite_field.c | ||
rpc-lookup.c | ||
service-lookup.c | ||
sgrp-lookup.c | ||
spwd-lookup.c | ||
test-digits-dots.c | ||
test-netdb.c | ||
tst-cancel-getpwuid_r.c | ||
tst-field.c | ||
tst-nss-db-endgrent.c | ||
tst-nss-db-endpwent.c | ||
tst-nss-files-alias-leak.c | ||
tst-nss-files-alias-truncated.c | ||
tst-nss-files-hosts-erange.c | ||
tst-nss-files-hosts-getent.c | ||
tst-nss-files-hosts-long.c | ||
tst-nss-files-hosts-multi.c | ||
tst-nss-getpwent.c | ||
tst-nss-static.c | ||
tst-nss-test1.c | ||
tst-nss-test2.c | ||
tst-nss-test3.c | ||
tst-nss-test4.c | ||
tst-nss-test5.c | ||
valid_field.c | ||
valid_list_field.c | ||
Versions | ||
XXX-lookup.c |