commit | ea0fed2b12649abcf2af37035a6991ec076aff33 | [log] [tgz] |
---|---|---|
author | Rom Lemarchand <romlem@android.com> | Fri Nov 07 09:42:40 2014 -0800 |
committer | Amit Pundir <amit.pundir@linaro.org> | Wed Nov 19 21:06:32 2014 +0530 |
tree | 35638c719bf8b92171cfda281726bd78ff7cba3e | |
parent | c74d3abeac4ff3051da7f39a47cafd02c1be1584 [diff] |
memcg: add permission check Use the 'allow_attach' handler for the 'mem' cgroup to allow non-root processes to add arbitrary processes to a 'mem' cgroup if it has the CAP_SYS_NICE capability set. Bug: 18260435 Change-Id: If7d37bf90c1544024c4db53351adba6a64966250 Signed-off-by: Rom Lemarchand <romlem@android.com>