This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: SYMLOOP_MAX
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Carlos O'Donell <carlos_odonell at mentor dot com>, <libc-alpha at sourceware dot org>
- Date: Wed, 1 Aug 2012 09:46:01 -0700 (PDT)
- Subject: Re: SYMLOOP_MAX
- References: <20120731173240.4DEB52C0D7@topped-with-meat.com><50181FC6.1060203@mentor.com><20120801000946.54CE42C0B6@topped-with-meat.com><m2zk6ft5jf.fsf@igel.home>
> Roland McGrath <roland@hack.frob.com> writes:
>
> > What I think would be best overall is if the kernel were to drop its
> > extra "nested_symlink" logic so there is a clear single value that has
> > the POSIX meaning of SYMLOOP_MAX.
>
> I think the motivation for the separate recursive limit is to conserve
> stack space.
But link-following is iterative.