Messages in this thread | | | Date | Tue, 23 Nov 1999 13:39:06 +0100 (CET) | From | Johannes Kloos <> | Subject | Re: [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/
| |