Penguin
Annotated edit history of ELOOP version 3, including all changes. View license author blame.
Rev Author # Line
1 PerryLorier 1 !!!Too many symbolic links encountered
2
3 To prevent symbolic links linking back to themselves and causing an infinite loop in the kernel, the kernel stops after a certain number of symbolic links have been followed with ELOOP. This doesn't necessarily mean that there is a loop, but that there are too many symbolic links encountered.
2 JuergenNickelsen 4
5 The maximum number of symbolic links followed is currently 5 (with Linux 2.4.27). To match other operating systems with higher limits (e. g. Solaris 9 with 20, FreeBSD 5.3 with 32), there is ongoing work to increase that limit.
3 JohnMcPherson 6
7 In linux kernel 2.6.9, fs/namei.h contains the following:
8 <verbatim>
9 enum { MAX_NESTED_LINKS = 5 };
10 </verbatim>
11 and fs/namei.c contains the following:
12 <verbatim>
13 ...
14 static inline int do_follow_link(struct dentry *dentry, struct nameidata *nd)
15 {
16 int err = -ELOOP;
17 if (current->link_count >= MAX_NESTED_LINKS)
18 goto loop;
19 if (current->total_link_count >= 40)
20 goto loop;
21 ...
22
23 </verbatim>
24
25 <verbatim>
26 error = -ELOOP;
27 if (count++==32) {
28 putname(nd->last.name);
29 goto exit;
30 }
31 </verbatim>
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • JuergenNickelsen
The following authors of this page have agreed to the WlugWikiLicense.

PHP Warning

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors