Re: d_path() and overlay fs

From: Al Viro
Date: Fri Mar 20 2015 - 09:31:25 EST


On Fri, Mar 20, 2015 at 02:29:14PM +0100, Karel Zak wrote:

> It seems like serious problem because kernel uses d_path() (and
> friends) on many places to generate path strings for userspace in
> /proc and /sys and people already use overlay fs in containers.

It's not d_path(), it's file->f_path being wrong to start with. Same
problem as what dhowells is fighting wrt LSM shite.
--
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/