lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-02-29 18:39    [W:0.065 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site