"David S. Miller" wrote: > The standard also says that any pollfd with (fd < 0) is ignored. Holes are > explicitly ALLOWED. > > Dude, it ignores negative fds, check fs/select.c:do_pollfd() Right - we're running in circles. The standard says negative fd's are ignored. We get that right. What we are left with is an overly paranoid check against max_fds. This check should go away. You should be able to pass in up to your rlimit fds, and let negative ones (holes or tails) be ignored. I'm attaching a patch :). Am I still not making the problem clear? -- Tim Hockin Systems Software Engineer Sun Microsystems, Cobalt Server Appliances thockin@sun.com