| From: |
| Al Viro <viro@ftp.linux.org.uk> |
| To: |
| "H. Peter Anvin" <hpa@zytor.com> |
| Subject: |
| [PATCH] symlink nesting level change |
| Date: |
| Wed, 3 May 2006 04:08:49 +0100 |
| Cc: |
| linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org> |
On Tue, May 02, 2006 at 07:57:34PM -0700, H. Peter Anvin wrote:
> Followup to: <44580CF2.7070602@tlinx.org>
> By author: Linda Walsh <lkml@tlinx.org>
> In newsgroup: linux.dev.kernel
> > Is this what you are looking for?
> > include/linux/namei.h MAX_NESTED_LINKS = 5
> > (used in fs/namei.c, where comment claims MAX_NESTING is equal to 8)
>
> Wonder if it would make sense to make this a sysctl...
No. It's way past time to bump it to 8. Everyone had been warned - for
months now.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
--- a/include/linux/namei.h 2006-03-31 20:08:42.000000000 -0500
+++ b/include/linux/namei.h 2006-05-02 23:06:46.000000000 -0400
@@ -11,7 +11,7 @@
struct file *file;
};
-enum { MAX_NESTED_LINKS = 5 };
+enum { MAX_NESTED_LINKS = 8 };
struct nameidata {
struct dentry *dentry;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/