[PATCH] symlink nesting level change
From: Al Viro
Date: Tue May 02 2006 - 23:27:50 EST
On Tue, May 02, 2006 at 07:57:34PM -0700, H. Peter Anvin wrote:
> Followup to: <44580CF2.7070602@xxxxxxxxx>
> By author: Linda Walsh <lkml@xxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxx>
----
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/