aboutsummaryrefslogtreecommitdiff
path: root/include/linux/math64.h
diff options
context:
space:
mode:
authorChintan Pandya <cpandya@codeaurora.org>2014-07-17 19:47:04 +0530
committerMoyster <oysterized@gmail.com>2019-07-19 00:01:24 +0200
commita8492fe290916d2fc464f5772f48dbf412eaf9d6 (patch)
treea33256a8af937d082ceb6f4090b0a31b67ddcaf4 /include/linux/math64.h
parent774e33ad445c3f70ec5bbcabf0aee39355d816ef (diff)
memcg: Allow non-root users permission to control memory
In a system like Android, a process with SYS_ADMIN rights controls the system for things like moving process from one cgroup to another. The native cgroup capabilities are only allowed to execute by root user and not system. While adding a new cgroup sub-system, one may override and relax the permission so that 'system' can also control cgroup. Here, memcg is one such cgroup sub system which requires system level control for that. Allow non-root processes to add arbitrary into 'memory' cgroups if it has 'CAP_SYS_ADMIN' capability set. Change-Id: I43d4468186f142c176cb5b5f060751bb1b160344 Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Diffstat (limited to 'include/linux/math64.h')
0 files changed, 0 insertions, 0 deletions