Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754225AbcJDTti (ORCPT ); Tue, 4 Oct 2016 15:49:38 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:36637 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751479AbcJDTtf (ORCPT ); Tue, 4 Oct 2016 15:49:35 -0400 Date: Tue, 4 Oct 2016 15:49:32 -0400 From: Tejun Heo To: John Stultz Cc: lkml , Li Zefan , Jonathan Corbet , cgroups@vger.kernel.org, Android Kernel Team , Rom Lemarchand , Colin Cross , Dmitry Shmidt , Todd Kjos , Christian Poetzsch , Amit Pundir , Serge Hallyn Subject: Re: [RFC][PATCH 0/2] Another pass at Android style loosening of cgroup attach permissions Message-ID: <20161004194932.GI4205@htj.duckdns.org> References: <1475556090-6278-1-git-send-email-john.stultz@linaro.org> <20161004161630.GC4205@htj.duckdns.org> <20161004193838.GH4205@htj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 641 Lines: 19 Hello, On Tue, Oct 04, 2016 at 12:46:24PM -0700, John Stultz wrote: > Ok. I'll respin this introducing and using a new CAP value. > > That said, while CAP_SYS_NICE seems a bit overloaded here, it doesn't > conceptually have that much friction for use with cpuset and cpuctrl > cgroups: We need to solve it for userns too and I wanna avoid pushing permission logic into specific controllers. The logical extensions of that would be protecting control interface files by different CAPs too. It might work for some knobs and then there will all but certainly unclear corner cases and so on. Let's please not go there. Thanks. -- tejun