Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754427AbcJEP1P (ORCPT ); Wed, 5 Oct 2016 11:27:15 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:33991 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647AbcJEP1N (ORCPT ); Wed, 5 Oct 2016 11:27:13 -0400 Date: Wed, 5 Oct 2016 11:27:11 -0400 From: Tejun Heo To: "Serge E. Hallyn" Cc: John Stultz , lkml , Li Zefan , Jonathan Corbet , cgroups@vger.kernel.org, Android Kernel Team , Rom Lemarchand , Colin Cross , Dmitry Shmidt , Todd Kjos , Christian Poetzsch , Amit Pundir Subject: Re: [RFC][PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups Message-ID: <20161005152711.GB26977@htj.duckdns.org> References: <1475626874-22949-1-git-send-email-john.stultz@linaro.org> <20161005003833.GA29239@mail.hallyn.com> <20161005042529.GA30929@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161005042529.GA30929@mail.hallyn.com> 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: 579 Lines: 19 Hello, On Tue, Oct 04, 2016 at 11:25:29PM -0500, Serge E. Hallyn wrote: > > > If anything I'd say the GLOBAL_ROOT_UID check could be taken out since > > > otherwise a host-root task effectively cannot drop this capability. > > > > Is this ok to leave for a separate patch? > > Yeah. And I'm not sure whether Tejun would object to that idea. With the capability, I think it'd be better to get rid of the explicit UID check, but can we please rename the cap to CAP_CGROUP_MIGRATE and loop in linux-api mailing list and ppl who are more familiar with CAPs? Thanks! -- tejun