From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Gladkov Subject: Re: [RFC] Add option to mount only a pids subset Date: Sat, 11 Mar 2017 01:05:55 +0100 Message-ID: <20170311000555.GE4554@comp-core-i7-2640m-0182e6> References: <20170221145746.GA31914@redhat.com> <20170306230515.GA3453@comp-core-i7-2640m-0182e6> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski Cc: Djalal Harouni , Linux Kernel Mailing List , Linux API , "Kirill A. Shutemov" , Vasiliy Kulikov , Al Viro , "Eric W. Biederman" , Oleg Nesterov , Pavel Emelyanov , James Bottomley , "Dmitry V. Levin" List-Id: linux-api@vger.kernel.org On Tue, Mar 07, 2017 at 08:24:12AM -0800, Andy Lutomirski wrote: > On Mon, Mar 6, 2017 at 3:05 PM, Alexey Gladkov wrote: > > > > After discussion with Oleg Nesterov I reimplement my patch as an additional > > option for /proc. This option affects the mountpoint. It means that in one > > pid namespace it possible to have both the whole traditional /proc and > > /proc with only pids subset. > > > > I like this. I think you should split it into two patches, though: > one that reworks how procfs gets mounted and one that makes adds the > new functionality. Sure, but first I wanted to discuss the idea. My patch isn't very useful without the ability to add additional files. I will split it into parts in the new version. -- Rgrds, legion