Re: max symlink = 5? ?bug? ?feature deficit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 12, 2006 at 06:06:01PM +0000, Al Viro wrote:
 > On Fri, Feb 10, 2006 at 07:31:07PM -0800, Linda Walsh wrote:
 > > The maximum number of followed symlinks seems to be set to 5.
 > > 
 > > This seems small when compared to other filesystem limits.
 > > Is there some objection to it being raised?  Should it be
 > > something like Glib's '20' or '255'?
 > 
 > 	20 or 255 - not feasible (we'll get stack overflow from hell).
 > 8 - probably can be switched already; anybody who hadn't converted their
 > fs ->follow_link() to new model will just lose; in-tree instances are
 > already OK with that and out-of-tree folks had at least half a year
 > of warning.
 > 
 > 	Unless anybody yells right now, I'm switching it to 8 in post-2.6.16.

FWIW, Fedora/RHEL4 has done this for a long time.
I don't think I've ever seen any problems arise, but then symlink
mazes are thankfully somewhat rare.

		Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux