Re: /dev/poll vs. aio_ (was: Re: Proposal: Get rid of most accept

Stephen C. Tweedie (sct@redhat.com)
Sat, 29 May 1999 02:53:44 +0100 (BST)


Hi,

On Sat, 29 May 1999 07:51:25 +1000, Richard Gooch <rgooch@atnf.csiro.au> said:

> Why not just increase the RT signal queue size? Add a command to
> prctl(2) so the application can tune this.

Letting the application increase the queue size opens up a DOS attack:
you can lock down arbitrarily much non-swappable memory with it. root
can already tune it via /proc/sys/kernel/rtsig-max.

--Stephen

-
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/