This website requires JavaScript.
Explore
Help
Register
Sign In
tequilaOS
/
platform_system_core
Watch
2
Star
0
Fork
You've already forked platform_system_core
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
b1ac9b4275
platform_system_core
/
libprocessgroup
/
profiles
/
cgroups.recovery.json
9 lines
111 B
JSON
Raw
Normal View
History
Unescape
Escape
Fix cgroup support for recovery mode In recovery mode a separate set of cgroups should be mounted. Add a cgroups.recovery.json file to describe cgroups mounted during recovery. Change cgroups descriptor parset to allow cgroups and cgroups2 sections to be omitted. Bug: 124270406 Test: "adb reboot sideload; adb devices" shows 'sideload' as expected Change-Id: Ic32bd2b4612ec8390064f87d4655d1bd1183d741 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-13 03:20:38 +01:00
{
libprocessgroup: fix uid/pid hierarchy for recovery mode configure the cgroup v2 hierarchy for recovery mode, and create uid/pid groups with attributes following the container cgroup directory. Bug: 168907513 Test: verified correct pid migration in normal and recovery modes Change-Id: Idc8b96b4db075383a6a2e523c241b0bc632c7030
2021-02-11 23:44:53 +01:00
"Cgroups2"
:
{
"Path"
:
"/sys/fs/cgroup"
,
"Mode"
:
"0755"
,
"UID"
:
"root"
,
"GID"
:
"root"
}
Fix cgroup support for recovery mode In recovery mode a separate set of cgroups should be mounted. Add a cgroups.recovery.json file to describe cgroups mounted during recovery. Change cgroups descriptor parset to allow cgroups and cgroups2 sections to be omitted. Bug: 124270406 Test: "adb reboot sideload; adb devices" shows 'sideload' as expected Change-Id: Ic32bd2b4612ec8390064f87d4655d1bd1183d741 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-13 03:20:38 +01:00
}
Reference in a new issue
Copy permalink