This is the mail archive of the
mailing list for the glibc project.
Re: Should we have MAXSYMLINKS?
- To: Alexander Viro <email@example.com>
- Subject: Re: Should we have MAXSYMLINKS?
- From: Roland McGrath <firstname.lastname@example.org>
- Date: Wed, 13 Jan 1999 02:12:29 -0500
- Cc: "H.J. Lu" <email@example.com>, linux kernel <firstname.lastname@example.org>, GNU C Library <email@example.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.