Re: Forking shell bombs

Alan Cox (alan@lxorguk.ukuu.org.uk)
08 Jul 2003 23:01:21 +0100


On Maw, 2003-07-08 at 19:55, Charles Cazabon wrote:
> Ryan Underwood <nemesis-lists@icequake.net> wrote:
> >
> > [Fork bomb] and watch linux die. (2.4.21 stock)
>
> That's what per-user process limits are for. Doesn't matter if it's a
> shellscript or something else; any system without limits set is vulnerable.

In general turning on vm overcommit protection on a -ac tree should
be sufficient - per user limits are better

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/