diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-09-18 20:15:49 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:53 +0300 |
commit | 5cabf8ffd867e630bb7bae364cbe255abe466a62 (patch) | |
tree | aca210e73c20ac0424584dc91286d1213041e07b /sepolicy | |
parent | e45b1fc5b44acb9a479e307a078e9423cb67f629 (diff) |
sdm660-common: sepolicy: Allow qti_init_shell to write to read_ahead_kb
avc: denied { write } for pid=4565 comm="init.qcom.post_" name="read_ahead_kb" dev="sysfs" ino=52742 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:sysfs_dm:s0 tclass=file
Change-Id: I3e5350eb67aa9a0e539d74c2ecbd7114e03ffdc5
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/vendor/qti_init_shell.te | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/vendor/qti_init_shell.te b/sepolicy/vendor/qti_init_shell.te index aa81398..f5584a6 100644 --- a/sepolicy/vendor/qti_init_shell.te +++ b/sepolicy/vendor/qti_init_shell.te @@ -1,4 +1,4 @@ allow qti_init_shell sysfs_cpu_boost:file write; -allow qti_init_shell sysfs:file write; +allow qti_init_shell { sysfs sysfs_dm }:file write; allow qti_init_shell vendor_radio_data_file:dir { getattr read search }; allow qti_init_shell vendor_radio_data_file:file { getattr read setattr write }; |