Re: Symlink indirection

From: Andrew Walrond (andrew@walrond.org)
Date: Fri Dec 13 2002 - 10:20:17 EST


Thanks Marc

5 is very low isn't it? Certainly marginal for an application I have in
mind.

What's the reasoning behind it being a) 5 and b) so low?

Marc-Christian Petersen wrote:
> On Friday 13 December 2002 16:06, Andrew Walrond wrote:
>
> Hi Andrew,
>
>
>>Is the number of allowed levels of symlink indirection (if that is the
>>right phrase; I mean symlink -> symlink -> ... -> file) dependant on the
>>kernel, or libc ? Where is it defined, and can it be changed?
>
>
> fs/namei.c
>
> if (current->link_count >= 5)
>
> change to a higher value.
>
> So, the answer is: Kernel :)
>
> ciao, Marc
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:28 EST