From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups Date: Wed, 19 Oct 2016 16:52:51 -0400 Message-ID: <20161019205251.GG3044@htj.duckdns.org> References: <1476743724-9104-1-git-send-email-john.stultz@linaro.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-disposition:in-reply-to:user-agent; bh=us69KpnSrkGn5p6yE+Xpznxf35qh+0D1PF9hXAqss00=; b=I3pPyuQLyLTcUw4nEdv9DSHHMCvvEM9Co/ChthUMOlcHgNPRYJ8nQwD2W4zpBXuesE xVrEyqYJFwk2a4Kps22TzaXRVupyR9eOTG4OeNx3Gh3rQ+6zH7/5I5XPzFJ3ygChiLIa 2Sv1fGgUnzRzvWw78OCYVXjEfJtatFL0bAwAlJrMWFcKgGZswDVAU1dj3efPY1kOe2aw YudLOan6jyxKLLAN23MWSlZOr8BMitYDMJrKOhOAI2c0z4NNCAilbyFfo5iT/6dygghM 1smS33LY+YqadoVdlVxAPRKv/rx8LCwDoW+oHS61kmWUrXZ3/svJVfBFlLzLEiFIa8sM NWlA== Content-Disposition: inline In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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