Re: Recursion level of symlinks limitted to five?

Chris Wedgwood (cw@ix.net.nz)
Tue, 9 Mar 1999 09:04:33 +1300


On Mon, Mar 08, 1999 at 07:21:30PM +0100, Andi Kleen wrote:

> 5
>
> The reason for the small number is that the routine that parses the
> path name in the kernel does actually recurse on symlinks. Kernel
> stack space is very limited (~6K - stack space for interrupt handlers
> on 2.2). To avoid overflowing the kernel stack the maximum nesting
> has to be limited. AFAIK there are no plans to change it.

I was reading somewhere that X/Open or something requires _atleast_
20... I forget now, so can any one confirm or deny this?

-cw

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