[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0802290934130.17889@woody.linux-foundation.org>
Date: Fri, 29 Feb 2008 09:35:17 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
cc: Michael Kerrisk <michael.kerrisk@...glemail.com>,
aaw <aaw@...gle.com>, Andrew Morton <akpm@...ux-foundation.org>,
michael.kerrisk@...il.com, carlos@...esourcery.com,
Alan Cox <alan@...rguk.ukuu.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>, drepper@...hat.com,
mtk.manpages@...il.com
Subject: Re: [RFC/PATCH] RLIMIT_ARG_MAX
On Fri, 29 Feb 2008, Peter Zijlstra wrote:
>
> You fail to mention that <23 will still fault the first time it tries to
> grow the stack when you set rlimit_stack to 128k and actually supply
> 128k of env+arg.
So? That's what rlimit_stack has always meant (and not just on Linux
either, afaik). That's not a bug, it's a feature. If the system has a
limited stack, it has a limited stack. That's what RLIMIT_STACK means.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists