android_system_core/libprocessgroup/cgrouprc
Marco Ballesio f16f9417b0 libprocessgroup: support for cgroup v2 hierarchy
for a first implementation the cgroup v2 freezer controller will be used in a
way similar to cgroup v1, that is a single child group will hold all frozen
processes. Some adjustments are needed for the new structure.

- Add support for cgroup v2 syntax under procfs.
- Separate creation of a directory with ownership/mode changes to allow changes
    after mounting the cgroup kernfs root.
- Allow the creation of sub-groups under a cgroup v2 hierarchy.

Bug: 154548692
Test: manually verified that a proper cgroup v2 hierarchy is created and
accessible

Change-Id: I9af59e8214acaead3f520a94c95e75394c0df948
2020-06-10 09:14:00 -07:00
..
include/android libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
Android.bp libprocessgroup: add flags to indicate when a controller failed to mount 2019-05-21 10:03:21 -07:00
cgroup_controller.cpp Revive ACgroupController_getFlags LLNDK function to detect missing cgroups 2020-01-29 17:24:06 +00:00
cgroup_file.cpp
cgrouprc_internal.h
libcgrouprc.llndk.txt Revive ACgroupController_getFlags LLNDK function to detect missing cgroups 2020-01-29 17:24:06 +00:00