From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [RESEND v3 PATCH 3/3] vfs: make mounts and mountstats honor root dir like mountinfo does Date: Mon, 29 Sep 2014 19:32:22 +0100 Message-ID: <20140929183222.GJ7996@ZenIV.linux.org.uk> References: <20140929180523.GC15829@altlinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: "Dmitry V. Levin" Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:53250 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752565AbaI2ScZ (ORCPT ); Mon, 29 Sep 2014 14:32:25 -0400 Content-Disposition: inline In-Reply-To: <20140929180523.GC15829@altlinux.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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?