Re: [PATCH] Increase recursive symlink limit from 5 to 8

From: viro
Date: Thu Jan 15 2004 - 20:26:17 EST


On Fri, Jan 16, 2004 at 09:45:47AM +0900, GOTO Masanori wrote:

> But I still think 6 is too small from user level point of view, as
> Petter wrote. The example is /usr/lib library links. I got bug
> report which complained that a library want to use "bounce" link:
>
> /usr/lib/liba -> /etc/alternatives/liba -> /usr/lib/another/libb.
>
> If .so file uses major.minor scheme, then /usr/lib/liba.so links:
>
> /usr/lib/liba.so -> /usr/lib/liba.so.2 -> /usr/lib/liba.so.2.3
>
> and so on. It can easily exceed 6 symlinks. I think the correct fix
> is to make VFS not to overflow stacks. Is it allowable change?

You are quite welcome to submit clean patches that would do that.
So far all suggested "solutions" had turned out to be broken _and_ ugly.
-
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/