From 8be7295c84f8db5a0abde433b1f50c5cd38ba609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosme=20Dom=C3=ADnguez=20D=C3=ADaz?= Date: Thu, 22 Mar 2018 00:27:36 +0100 Subject: msm8996-common: Fix some SELinux denials. --- sepolicy/installd.te | 1 + sepolicy/location.te | 5 ++--- sepolicy/priv_app.te | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 sepolicy/installd.te diff --git a/sepolicy/installd.te b/sepolicy/installd.te new file mode 100644 index 0000000..0195b22 --- /dev/null +++ b/sepolicy/installd.te @@ -0,0 +1 @@ +allow installd adsprpcd_file:filesystem quotaget; diff --git a/sepolicy/location.te b/sepolicy/location.te index 552344d..4a38218 100644 --- a/sepolicy/location.te +++ b/sepolicy/location.te @@ -1,3 +1,2 @@ -allow location system_data_file:dir { write remove_name }; -allow location system_data_file:dir add_name; -allow location wcnss_prop:file read; +allow location system_data_file:dir { write remove_name add_name }; +allow location wcnss_prop:file { read getattr open }; diff --git a/sepolicy/priv_app.te b/sepolicy/priv_app.te index 16583dc..7af2f83 100644 --- a/sepolicy/priv_app.te +++ b/sepolicy/priv_app.te @@ -2,3 +2,4 @@ allow priv_app device:dir { open read }; allow priv_app { camera_prop proc_interrupts }:file { open read }; allow priv_app camera_prop:file getattr; allow priv_app proc_modules:file { getattr open read }; +allow priv_app adsprpcd_file:filesystem getattr; -- cgit v1.2.3