On 02/28/2014 03:40 PM, Chris Hegarty wrote:
Either:
  1) FD_SETSIZE needs to be set to a larger value, but what value, the
     kernel limit, or other? This is wasteful for most typical apps that
     don't use large numbers of file descriptors. Or,
  2) If fd is greater than 1024, then an appropriate amount of memory
     could be allocated and cast to an fd_set. The FD_SET macro will
     write past FD_SETSIZE.

3) use poll

Why do we have to use select here?

--
Florian Weimer / Red Hat Product Security

Reply via email to