From 5cabf8ffd867e630bb7bae364cbe255abe466a62 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 18 Sep 2019 20:15:49 +0200 Subject: 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 --- sepolicy/vendor/qti_init_shell.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- cgit v1.2.3