Merge "Move compaction_proactiveness to vendor sepolicy" into main
This commit is contained in:
commit
d1dfe55442
3 changed files with 8 additions and 1 deletions
|
@ -1,2 +1,8 @@
|
||||||
|
# proactive kill
|
||||||
type sysfs_pakills, fs_type, sysfs_type;
|
type sysfs_pakills, fs_type, sysfs_type;
|
||||||
|
|
||||||
|
# bts dump
|
||||||
type vendor_bts_debugfs, fs_type, debugfs_type;
|
type vendor_bts_debugfs, fs_type, debugfs_type;
|
||||||
|
|
||||||
|
# proc_compaction_proactiveness type
|
||||||
|
type proc_compaction_proactiveness, fs_type, proc_type;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
genfscon proc /sys/kernel/sched_pelt_multiplier u:object_r:proc_sched:s0
|
genfscon proc /sys/kernel/sched_pelt_multiplier u:object_r:proc_sched:s0
|
||||||
genfscon sysfs /kernel/vendor_mm/pa_kill u:object_r:sysfs_pakills:s0
|
genfscon sysfs /kernel/vendor_mm/pa_kill u:object_r:sysfs_pakills:s0
|
||||||
genfscon debugfs /bts u:object_r:vendor_bts_debugfs:s0
|
genfscon debugfs /bts u:object_r:vendor_bts_debugfs:s0
|
||||||
|
genfscon proc /sys/vm/compaction_proactiveness u:object_r:proc_compaction_proactiveness:s0
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# MM
|
# MM
|
||||||
allow vendor_init proc_percpu_pagelist_high_fraction:file w_file_perms;
|
allow vendor_init proc_percpu_pagelist_high_fraction:file w_file_perms;
|
||||||
|
allow vendor_init proc_compaction_proactiveness:file w_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue