about summary refs log tree commit diff
path: root/src/setjmp
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-21 23:17:45 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-21 23:17:45 -0400
commitbf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef (patch)
tree09873e1c784b4ac272accec695153bb7f6a2eb6b /src/setjmp
parent81a5577a860b1d320239a84c84266e4d7045f450 (diff)
downloadmusl-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/setjmp')
0 files changed, 0 insertions, 0 deletions