Commit 43f9f4c2 authored by Amit Pundir's avatar Amit Pundir
Browse files

Revert "cgroup: memcg: pass correct argument to subsys_cgroup_allow_attach"



This reverts commit 38ed781a.

Part of Chromium commit series:

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

Signed-off-by: default avatarDmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/394967


Reviewed-by: default avatarRicky Zhou <rickyz@chromium.org>
Reviewed-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent f19f4f75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment