lkml.org 
[lkml]   [1999]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Configure option for symlink depth



On Mon, 22 Nov 1999, Alexander Viro wrote:

>
>
> On Mon, 22 Nov 1999, Johannes Kloos wrote:
>
> > Hello everybody,
> > I've written a small patch that allows you to set the maximum symlink
> > depth as a configure option.
> > It will probably not break anything, but if it causes bugs, I'd like to
> > head about these.
> > Btw: I think this should really go into /proc or so.
>
> Not really. Real fix for symlink problems is to cut down on the amount of
> stack space used by the recursion in question. I have it an we can push
> the limit to tolerable 32. I will post the thing once I'll run the tests
> on the current kernel. It works with 2.3.26 and earlier, so I hope that it
> will be OK. With the depth 32 we will be able to forget about the problem
> - it's _way_ beyond any reasonable setup.
>
Hmmm, at least do_follow_link in 2.2.11 looks rather iterative to me, so
there shouldn't be any stack issues ...
Correct me if I'm wrong.
-- Johannes



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

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean