allow powerhal to access PA_KILL knobs
Bug: 322916612 Test: check avc logs Change-Id: I637c6ad454b668f807b8d0eb4f66a83ca26dfa18 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
480bc0ce65
commit
2522590c40
1
performance/sepolicy/file.te
Normal file
1
performance/sepolicy/file.te
Normal file
@ -0,0 +1 @@
|
||||
type sysfs_pakills, fs_type, sysfs_type;
|
@ -1 +1,2 @@
|
||||
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
|
||||
|
2
performance/sepolicy/hal_power_default.te
Normal file
2
performance/sepolicy/hal_power_default.te
Normal file
@ -0,0 +1,2 @@
|
||||
allow hal_power_default sysfs_pakills:file rw_file_perms;
|
||||
allow hal_power_default sysfs_pakills:dir r_dir_perms;
|
Loading…
x
Reference in New Issue
Block a user