Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1504339

Re: [PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups
Date 2016-10-19 23:00 +0200
Message-ID <su67T-6o5-9@gated-at.bofh.it> (permalink)
References (1 earlier) <stoTg-1G1-15@gated-at.bofh.it> <stpFD-2bU-7@gated-at.bofh.it> <stxMR-7wa-1@gated-at.bofh.it> <stFU6-4q4-15@gated-at.bofh.it> <su67T-6o5-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 19, 2016 at 1:52 PM, Tejun Heo <tj@kernel.org> wrote:
> 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.

CAP_SYS_RESOURCE would work for Android right now (system_server
already has CAP_SYS_RESOURCE), so I'm optimistic this will be the best
approach (I've got a newer, much simpler patch queued for sending out
here).

But I'm waiting to hear back from folks on the Android side to make
sure they aren't planning on removing that CAP from system_server any
time soon.

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups John Stultz <john.stultz@linaro.org> - 2016-10-18 00:40 +0200
  Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups Andy Lutomirski <luto@amacapital.net> - 2016-10-18 00:50 +0200
    Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups John Stultz <john.stultz@linaro.org> - 2016-10-18 01:40 +0200
      Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-10-18 10:20 +0200
        Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups John Stultz <john.stultz@linaro.org> - 2016-10-18 19:00 +0200
          Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-10-19 18:30 +0200
          Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups John Stultz <john.stultz@linaro.org> - 2016-10-19 23:00 +0200
          Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups Tejun Heo <tj@kernel.org> - 2016-10-19 23:00 +0200
    Re: [PATCH] cgroup: Add new capability to allow a process to migrate  other tasks between cgroups Tejun Heo <tj@kernel.org> - 2016-10-19 23:00 +0200

csiph-web