This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: Should we have MAXSYMLINKS?
- To: Alexander Viro <viro@math.psu.edu>
- Subject: Re: Should we have MAXSYMLINKS?
- From: Roland McGrath <roland@frob.com>
- Date: Wed, 13 Jan 1999 02:12:29 -0500
- Cc: "H.J. Lu" <hjl@lucon.org>, linux kernel <linux-kernel@vger.rutgers.edu>, GNU C Library <libc-hacker@cygnus.com>
- Emacs: the road to Hell is paved with extensibility.
There has always been an explicit check in BSD for following more than
MAXSYMLINKS links. It is not expressing an implementation limit. The
limit is there to catch infinite recursions (ln -s foo foo).
This is what the ELOOP error exists to report.