[PATCH] Make libc/inet/resolv.c use poll() rather than select()

Mike Frysinger vapier at gentoo.org
Thu Jan 10 18:01:08 UTC 2008


On Thursday 10 January 2008, Peter Kjellerstedt wrote:
> I intend to apply the patch below unless anyone has any objections.
> The reason is that if one has used setrlimit(RLIMIT_NOFILE, x) with
> x > 1024, using the FD_ macros will cause memory corruptions if a
> file descriptor >= 1024 happens to be used since the macros are
> limited to FD_SETSIZE (which is 1024).

looks like good stuff, thanks.  just pointing out smaller code size is a good 
enough argument :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080110/71496c96/attachment-0002.pgp 


More information about the uClibc mailing list