Re: Forking shell bombs

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Jul 08 2003 - 17:01:21 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:29 EST