[RFC]cgroup: Change from CAP_SYS_NICE to CAP_SYS_RESOURCE for cgroup migration permis...
authorJohn Stultz <john.stultz@linaro.org>
Tue, 18 Oct 2016 23:20:23 +0000 (16:20 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 24 Oct 2016 19:46:15 +0000 (12:46 -0700)
commit64f0245f312a849acc83b7c6cdcc8f7c1a14cca3
tree100962ef79de95d4882e868e098f650178762c42
parenta3c8dc25c446485dcbf8a978f755eead9eac3671
[RFC]cgroup: Change from CAP_SYS_NICE to CAP_SYS_RESOURCE for cgroup migration permissions

Try to better match what we're pushing upstream, use CAP_SYS_RESOURCE
instead of CAP_SYS_NICE, which shoudln't affect Android as Zygote and
system_server already use CAP_SYS_RESOURCE.

Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/cgroup.c