Re: [patch v3] vfs: fix sys_getcwd for detached mounts

From: Matthew Wilcox
Date: Mon Jun 23 2008 - 14:29:20 EST


On Mon, Jun 23, 2008 at 08:25:26PM +0200, Miklos Szeredi wrote:
> I tested this one in various situations, and it appears to do what
> it's supposed to.
>
> A somewhat analogous issue is if we have cwd (or fd) outside
> current->root. Should we add a prefix for that case as well? Perhaps
> a double slash?

unreachable: ?

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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/