Messages in this thread | | | Subject | Re: [PATCH] Polling > 16000 FDs | Date | Sat, 8 Jan 2000 22:11:28 +0000 (GMT) | From | Alan Cox <> |
| |
> On Sat, Jan 08, 2000 at 09:56:36PM +0000, Alan Cox wrote: > > Just cover the 1Gb poll array DoS case and it should be fine > > We already do > > err = -EINVAL; > if (nfds > current->files->max_fds) > goto out; > > ie you can't poll for more file descriptors than the process has. > Which is in turn ulimited. What else can we reasonably check?
That should be more than adequate.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |