CHROMIUM: remove Android's cgroup generic permissions checks
authorDmitry Torokhov <dtor@chromium.org>
Thu, 6 Oct 2016 22:53:38 +0000 (15:53 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 18 Oct 2016 05:55:19 +0000 (22:55 -0700)
commite78f134a78a0ae95b83ac0cac47ab0bb584ebaa7
tree7752358f6a7cd129bf3226bad41b6da03a65ebec
parent663cc539523fbf35732ba0af6a15bcb6d6370c91
CHROMIUM: remove Android's cgroup generic permissions checks

The implementation is utterly broken, resulting in all processes being
allows to move tasks between sets (as long as they have access to the
"tasks" attribute), and upstream is heading towards checking only
capability anyway, so let's get rid of this code.

BUG=b:31790445,chromium:647994
TEST=Boot android container, examine logcat

Change-Id: I2f780a5992c34e52a8f2d0b3557fc9d490da2779
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/394967
Reviewed-by: Ricky Zhou <rickyz@chromium.org>
Reviewed-by: John Stultz <john.stultz@linaro.org>
Documentation/cgroups/cgroups.txt
include/linux/cgroup-defs.h
include/linux/cgroup.h
kernel/cgroup.c
kernel/sched/core.c
mm/memcontrol.c