Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932364AbcDMTMk (ORCPT ); Wed, 13 Apr 2016 15:12:40 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:33994 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbcDMTMi (ORCPT ); Wed, 13 Apr 2016 15:12:38 -0400 Date: Wed, 13 Apr 2016 15:12:35 -0400 From: Tejun Heo To: "Serge E. Hallyn" Cc: linux-api@vger.kernel.org, adityakali@google.com, Linux Containers , "Eric W. Biederman" , cgroups@vger.kernel.org, lkml Subject: Re: [RFC PATCH] cgroup namespaces: add a 'nsroot=' mountinfo field Message-ID: <20160413191235.GA20142@htj.duckdns.org> References: <20160321234133.GA22463@mail.hallyn.com> <20160413175736.GC3676@htj.duckdns.org> <20160413184639.GA29483@mail.hallyn.com> <20160413185033.GH3676@htj.duckdns.org> <20160413190152.GA29753@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160413190152.GA29753@mail.hallyn.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 310 Lines: 13 Hello, On Wed, Apr 13, 2016 at 02:01:52PM -0500, Serge E. Hallyn wrote: > I don't think so - we could be in a cgroup namespace but still have > access only to bind-mounted cgroups. So we need to compare the > superblock dentry root field to the nsroot= value. I see. No objection then. Thanks. -- tejun