commit | 3da2d1c6e73c15f9f1f6ed65da764e9626b56a72 | [log] [tgz] |
---|---|---|
author | Rom Lemarchand <romlem@android.com> | Fri Nov 07 12:48:17 2014 -0800 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Aug 08 12:02:17 2016 +0530 |
tree | ed77425ccafa66a88a18eaf42a4abd12a85412f9 | |
parent | b798a14789cd980db581539003a9a8919871c0c4 [diff] |
cgroup: refactor allow_attach function into common code move cpu_cgroup_allow_attach to a common subsys_cgroup_allow_attach. This allows any process with CAP_SYS_NICE to move tasks across cgroups if they use this function as their allow_attach handler. Bug: 18260435 Change-Id: I6bb4933d07e889d0dc39e33b4e71320c34a2c90f Signed-off-by: Rom Lemarchand <romlem@android.com>