diff options
| author | Rom Lemarchand <romlem@android.com> | 2014-11-07 09:42:40 -0800 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:43 -0800 |
| commit | e6f5c0c0ec80c5f4c029499e987f9daba9dcc3ad (patch) | |
| tree | 11e68a6720c755c814741cf657fde5407cf5b07d /kernel/sysctl_binary.c | |
| parent | 6809864a2cc59332b246c183a2b78328f6aa551e (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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
