Allow vendor init to access compaction_proactiveness
Bug: 330670954 Test: boot Change-Id: Id274910e84d36cb662cea45d3b701c5fecada327 Merged-In: Id274910e84d36cb662cea45d3b701c5fecada327 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
150b800c90
commit
13f4811f5e
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
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue