Merge "Allow vendor init to access compaction_proactiveness" into main
This commit is contained in:
commit
81bf7bd5a7
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ allow vendor_init self:global_capability_class_set net_admin;
|
||||||
# Write to /proc/sys/vm/page-cluster
|
# Write to /proc/sys/vm/page-cluster
|
||||||
allow vendor_init proc_page_cluster:file w_file_perms;
|
allow vendor_init proc_page_cluster:file w_file_perms;
|
||||||
|
|
||||||
|
# Write to /proc/sys/vm/compaction_proactiveness
|
||||||
|
allow vendor_init proc_compaction_proactiveness:file w_file_perms;
|
||||||
|
|
||||||
# Write to sysfs nodes.
|
# Write to sysfs nodes.
|
||||||
allow vendor_init sysfs_type:dir r_dir_perms;
|
allow vendor_init sysfs_type:dir r_dir_perms;
|
||||||
allow vendor_init sysfs_type:lnk_file read;
|
allow vendor_init sysfs_type:lnk_file read;
|
||||||
|
|
Loading…
Reference in a new issue