android_system_core/libprocessgroup
Marco Ballesio 4d45b59f80 libprocessgroup: uid/pid hierarchy for cgroup v2
Enable the uid/pid hierarchy for all groups when using cgroup v2. Mount
the hierarchy under the cgroup v2 root. Make sure that all files under
the hierarchy are accessible by the system user.

Test: booted the device, tested the freezer cgroup, manually verified
the working of the freezer from logs and by checking statuses of
processes.

Bug: 168907513
Test: Booted the device, verified no regressions on process group access
Change-Id: I73f3e767d377902af6e12facb503b9136fb39e08
2020-12-02 09:51:42 -08:00
..
cgrouprc Make libraries {vendor_,}ramdisk_available. 2020-10-28 10:57:51 -07:00
cgrouprc_format Make libraries {vendor_,}ramdisk_available. 2020-10-28 10:57:51 -07:00
include/processgroup libprocessgroup: Prevent SetProcessProfiles from using cached fd 2020-02-14 01:42:11 +00:00
profiles libprocessgroup: uid/pid hierarchy for cgroup v2 2020-12-02 09:51:42 -08:00
setup libprocessgroup: Support per-API level task profiles 2020-11-23 22:08:41 +00:00
Android.bp Make libraries {vendor_,}ramdisk_available. 2020-10-28 10:57:51 -07:00
cgroup_map.cpp libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
cgroup_map.h Fix IsUsable to check for each controller separately 2019-06-26 11:35:11 -07:00
OWNERS Add surenb@ to libprocessgroup OWNERS 2019-09-17 08:50:04 -07:00
processgroup.cpp libprocessgroup: uid/pid hierarchy for cgroup v2 2020-12-02 09:51:42 -08:00
sched_policy.cpp libprocessgroup: ensure schedboost_enabled is true with uclamp 2020-01-27 11:04:03 +00:00
task_profiles.cpp libprocessgroup: Support per-API level task profiles 2020-11-23 22:08:41 +00:00
task_profiles.h libprocessgroup: Support write to file feature 2020-11-03 20:56:48 +08:00