Move compaction_proactiveness to vendor sepolicy
Move compaction_proactiveness sepolicy from the system to vendor since it breaks other vendors. Bug: 361985704 Test: check knob value Flag: NONE sepolicy doesn't support flag Change-Id: I14cff8dfe4e143995b9011cd34a1e7d74613ae33 Merged-In: I14cff8dfe4e143995b9011cd34a1e7d74613ae33 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
6c82faf70b
commit
d1adbe0cb2
3 changed files with 8 additions and 1 deletions
|
@ -1,2 +1,8 @@
|
|||
# proactive kill
|
||||
type sysfs_pakills, fs_type, sysfs_type;
|
||||
|
||||
# bts dump
|
||||
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 sysfs /kernel/vendor_mm/pa_kill u:object_r:sysfs_pakills: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
|
||||
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