Re: [RESEND v3 PATCH 3/3] vfs: make mounts and mountstats honor root dir like mountinfo does

From: Al Viro
Date: Mon Sep 29 2014 - 14:32:30 EST


On Mon, Sep 29, 2014 at 10:05:23PM +0400, Dmitry V. Levin wrote:
> Date: Wed, 17 Oct 2012 20:29:55 +0400
>
> Change show_vfsmnt() and show_vfsstat() to show mountpoints relative
> to the root directory and skip mountpoints outside of chroot jail
> the same way as show_mountinfo() does.

Sigh... Repeat after me: We Do Not Break Userland. Care to explain
why that change won't do just that?
--
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/