diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-30 10:43:33 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-30 10:43:33 +0200 |
commit | 5b757a51b514ea163bbec0a53dbbc06bb1b29241 (patch) | |
tree | fb8d43f46725547a6cb977b5f76fee1483c423bd /resolv/Makefile | |
parent | 867c5c33e2735567c95bf3a8b0a520bedd34430a (diff) | |
download | glibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.tar.gz glibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.tar.xz glibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.zip |
resolv: Make RES_ROTATE start with a random name server [BZ #19570]
Do not copy the actual name server addresses to rotate them. Use a global rotation offset instead.
Diffstat (limited to 'resolv/Makefile')
-rw-r--r-- | resolv/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index 8294d9481c..bab1ac24a6 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -69,6 +69,9 @@ tests-internal += tst-inet_pton # This test sends millions of packets and is rather slow. xtests += tst-resolv-qtypes + +# This test has dropped packet tests and runs for a long time. +xtests += tst-resolv-rotate endif extra-libs-others = $(extra-libs) libresolv-routines := res_comp res_debug \ @@ -148,6 +151,7 @@ $(objpfx)tst-resolv-res_init: $(libdl) $(objpfx)libresolv.so $(objpfx)tst-resolv-res_init-thread: $(libdl) $(objpfx)libresolv.so \ $(shared-thread-library) $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library) +$(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library) $(objpfx)tst-resolv-search: $(objpfx)libresolv.so $(shared-thread-library) $(objpfx)tst-resolv-canonname: \ $(libdl) $(objpfx)libresolv.so $(shared-thread-library) |