Merge "Allow vendor init to access compaction_proactiveness" into main

This commit is contained in:
Inseob Kim 2024-04-23 15:45:46 +00:00 committed by Gerrit Code Review
commit 81bf7bd5a7

View file

@ -217,6 +217,9 @@ allow vendor_init self:global_capability_class_set net_admin;
# Write to /proc/sys/vm/page-cluster
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.
allow vendor_init sysfs_type:dir r_dir_perms;
allow vendor_init sysfs_type:lnk_file read;