Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S944464AbcJSUw4 (ORCPT ); Wed, 19 Oct 2016 16:52:56 -0400 Received: from mail-yb0-f180.google.com ([209.85.213.180]:35821 "EHLO mail-yb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933869AbcJSUwx (ORCPT ); Wed, 19 Oct 2016 16:52:53 -0400 Date: Wed, 19 Oct 2016 16:52:51 -0400 From: Tejun Heo To: John Stultz Cc: Michael Kerrisk , Andy Lutomirski , lkml , Li Zefan , Jonathan Corbet , "open list:CONTROL GROUP (CGROUP)" , Android Kernel Team , Rom Lemarchand , Colin Cross , Dmitry Shmidt , Ricky Zhou , Dmitry Torokhov , Todd Kjos , Christian Poetzsch , Amit Pundir , "Serge E . Hallyn" , Linux API Subject: Re: [PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups Message-ID: <20161019205251.GG3044@htj.duckdns.org> References: <1476743724-9104-1-git-send-email-john.stultz@linaro.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: 548 Lines: 19 Hello, On Tue, Oct 18, 2016 at 09:54:37AM -0700, John Stultz wrote: > > Also, CAP_SYS_RESOURCE deserves consideration (34 uses in capable() > > checks). I'd say, since cgroups are about resources, so there's > > something of a match there., so it's also worth considering. > > I'll try to look into CAP_SYS_RESOURCE. > > Colin/Todd: Any objection from the Android side on CAP_SYS_RESOURCE? > > (Or we could just create a new 512bit CAP2_ capabilities interface! :P) FWIW, if CAP_SYS_RESOURCE works, I'd be happy with that. Thanks. -- tejun