zygote: Add setattr permission to cgroup
Credit to Himanshu Agrawal <quic_hagraw@quicinc.com> for this fix. Like we do with cgroup_v2, we set attribute permission to cgroup as well. Test: On a Go device, which uses cgroup instead of cgroup_v2 Bug: 209933729 Change-Id: I5d58c9f549d205f1a8bdce6c5fba1cc833f2b492
This commit is contained in:
parent
53c18dc939
commit
f62ef0d798
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ r_dir_file(zygote, vendor_overlay_file)
|
|||
|
||||
# Control cgroups.
|
||||
allow zygote cgroup:dir create_dir_perms;
|
||||
allow zygote cgroup:{ file lnk_file } r_file_perms;
|
||||
allow zygote cgroup:{ file lnk_file } { r_file_perms setattr };
|
||||
allow zygote cgroup_v2:dir create_dir_perms;
|
||||
allow zygote cgroup_v2:{ file lnk_file } { r_file_perms setattr };
|
||||
allow zygote self:global_capability_class_set sys_admin;
|
||||
|
|
Loading…
Reference in a new issue