From 7ed21fcb707dda3712b355afb4da16d294c8bca8 Mon Sep 17 00:00:00 2001 From: Francescodario Cuzzocrea Date: Sat, 4 Jan 2020 17:45:01 +0100 Subject: [PATCH] msm8226-common: fix more sepolicy denials Change-Id: If81bc788428fdbbcd2c16d80f76316082e2c607f --- sepolicy/common/init.te | 3 +++ sepolicy/common/vold.te | 1 + 2 files changed, 4 insertions(+) diff --git a/sepolicy/common/init.te b/sepolicy/common/init.te index 9b31ac9..2e4c3ec 100644 --- a/sepolicy/common/init.te +++ b/sepolicy/common/init.te @@ -54,3 +54,6 @@ allow init { allow init { wcnss_device }:chr_file w_file_perms; + +allow init sysfs:file setattr; +allow init sysfs_devfreq:file setattr; diff --git a/sepolicy/common/vold.te b/sepolicy/common/vold.te index 5498768..5cfbaf5 100644 --- a/sepolicy/common/vold.te +++ b/sepolicy/common/vold.te @@ -1,5 +1,6 @@ allow vold efs_file:dir rw_dir_perms; allow vold efs_file:file create; +allow vold persist_data_file:dir { open read }; allow vold { block_device