Re: [Nautilus-list] Cute bug.

On 18 Jul 2001, Havoc Pennington wrote:

> Ben Ford <ben kalifornia com> writes:
> >
> > Only problem is that /someday/ somebody will have a legitimate
> > reason for 50 levels of symlinks.  I know, it sounds silly, but so
> > did > 640k of memory at one time not that long ago . . .  .
> I believe the kernel or libc or something actually hardcodes a limit
> as well. We could find out that limit and use it, so we wouldn't be
> adding any extra limit.

The current Linux kernel limit is 8. The reason this is so low is that
recursion in kernelspace is very bad, due to the limited kernel stack

The kernel code in question has a hardcoded 8, so i don't think it is
possible to query this value at runtime, but it might be.

/ Alex

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]