aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/wprintf_buffer_done.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-08-11 10:10:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-08-11 10:55:10 +0200
commit6b99458d197ab779ebb6ff632c168e2cbfa4f543 (patch)
treee991116e3486b9bdf9182d3e8e1ae5f52566115a /stdio-common/wprintf_buffer_done.c
parentced101ed9d3b7cfd12d97ef24940cb00b8658c81 (diff)
downloadglibc-6b99458d197ab779ebb6ff632c168e2cbfa4f543.tar
glibc-6b99458d197ab779ebb6ff632c168e2cbfa4f543.tar.gz
glibc-6b99458d197ab779ebb6ff632c168e2cbfa4f543.tar.bz2
glibc-6b99458d197ab779ebb6ff632c168e2cbfa4f543.zip
nscd: Do not rebuild getaddrinfo (bug 30709)
The nscd daemon caches hosts data from NSS modules verbatim, without filtering protocol families or sorting them (otherwise separate caches would be needed for certain ai_flags combinations). The cache implementation is complete separate from the getaddrinfo code. This means that rebuilding getaddrinfo is not needed. The only function actually used is __bump_nl_timestamp from check_pf.c, and this change moves it into nscd/connections.c. Tested on x86_64-linux-gnu with -fexceptions, built with build-many-glibcs.py. I also backported this patch into a distribution that still supports nscd and verified manually that caching still works. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org> (cherry picked from commit 039ff51ac7e02db1cfc0c23e38ac7bfbb00221d1)
Diffstat (limited to 'stdio-common/wprintf_buffer_done.c')
0 files changed, 0 insertions, 0 deletions