CHROMIUM: remove Android's cgroup generic permissions checks
authorDmitry Torokhov <dtor@chromium.org>
Thu, 6 Oct 2016 22:53:38 +0000 (15:53 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 25 Oct 2016 13:50:52 +0000 (21:50 +0800)
commit6ddbd662d0bac4e4cb998b4c1fa44cd7c679c3cb
treecccfa0ddd0b22f7f69cd9646fc40d8fec5857c79
parent5c713517b6fbd969659f56214129b76dd9ba13a3
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