lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMore than 5 symlinks
Linux-2.1.x and 2.2.0-prex only follow 5 symlinks.  This is not enough
in some environments. I patch each kernel I install to follow 20
symlinks which is the same as in SunOS and Solaris.

I'd like to see this patch make it into 2.2.0


--- linux/fs/namei.c.orig Wed Dec 23 21:52:39 1998
+++ linux/fs/namei.c Thu Jan 14 10:17:00 1999
@@ -280,7 +280,7 @@
struct inode * inode = dentry->d_inode;

if (inode && inode->i_op && inode->i_op->follow_link) {
- if (current->link_count < 5) {
+ if (current->link_count < 20) {
struct dentry * result;

current->link_count++;


urs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.043 / U:2.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site