From: Tejun Heo Subject: Re: [PATCH 2/2] net: Implement SO_PASSCGROUP to enable passing cgroup path Date: Wed, 16 Apr 2014 12:21:49 -0400 Message-ID: <20140416162149.GI1257@htj.dyndns.org> References: <20140416002010.GA5035@redhat.com> <20140416.085743.1614257692560892039.davem@davemloft.net> <1397664837.19767.410.camel@willson.li.ssimo.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=50/wl4djJbZQUXi9Z/egfehTGpnNPb/+R29lAIGkCK8=; b=KosI0SSsg1VmoLtoluZA0Ve2AKVcqbqH6NVc7qlI+MFNkUC15GzJF1B4r+MpWMbkYQ Z4I82cSw0IbpfTrjZ20Y9dW5Na3GU9htKOuOXwbqYDKp5VuvzPrDf/wAWvEtcF4pNAU2 XpjduPA3ftp6R/NdTeSy24ooffwKdYJoTnjY8ZUHsvElnu2o80zWs/R/210lBCwxzTqW kxABRdm3FO/IIVAQBLCkhtCqni76Y80CKmY/65G4a/SOHRs+Y3tYEXrDIxXZD+OuWe5s hlw317zC9+WCcxX4yhU8VMYWo9rqtlipTCSe2ozdV1LWQ5slgUExGKAk3a+JgVRNBhrr 9MbQ== Content-Disposition: inline In-Reply-To: <1397664837.19767.410.camel@willson.li.ssimo.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Simo Sorce Cc: Andy Lutomirski , David Miller , Vivek Goyal , Daniel Walsh , "linux-kernel@vger.kernel.org" , lpoetter@redhat.com, cgroups@vger.kernel.org, kay@redhat.com, Network Development Hello, On Wed, Apr 16, 2014 at 12:13:57PM -0400, Simo Sorce wrote: > The only one that *may* be reasonable is the "secret" cgroup name one, > however nobody seem to come up with a reason why it is legitimate to > allow to keep cgroup names secret. Ugh, please don't play security games with cgroup names. It is one of the identifying properties of a task, like a pid, and will be used in other parts of the kernel to match groups of tasks. If we play security peekaboo with cgroup names, it has to be transitive and puts burdens on all its future uses. Unless there are *REALLY* strong rationales, which can also justify hiding pids, this isn't happening. Thanks. -- tejun