> I think I see a potential problem (I'm looking at 2.4.10) in fs/namei.c.
>
> If path_init() returns 0 in __user_walk() then err is not set to anything
> (it defaults to 0)
path_init() returns 0 only if you are in altroot situation (running with
personality that has its own /usr/gnuemul/<...>/) _and_ it had succeeded
doing lookup from the altroot. Otherwise it returns non-zero and lets
path_walk() do the right thing.
-
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/