diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-21 23:17:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-21 23:17:45 -0400 |
commit | bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef (patch) | |
tree | 09873e1c784b4ac272accec695153bb7f6a2eb6b /src/network/getnameinfo.c | |
parent | 81a5577a860b1d320239a84c84266e4d7045f450 (diff) | |
download | musl-bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef.tar.gz musl-bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef.tar.xz musl-bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef.zip |
use poll rather than select in dns lookups (also clock_gettime)
if the file descriptor resource limit has been increased past FD_SETSIZE, this is actually a security issue; we could write past the end of the fd_set object. using poll makes it a non-issue, and simplifies the code at the same time. also, use clock_gettime instead of gettimeofday, for reduced bloat and better entropy.
Diffstat (limited to 'src/network/getnameinfo.c')
0 files changed, 0 insertions, 0 deletions