aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-03-22 00:27:36 +0100
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-03-22 00:31:40 +0100
commit8be7295c84f8db5a0abde433b1f50c5cd38ba609 (patch)
tree46dae54dbc14c77fb07874b7ce79968fc531b15d
parent75f1bfc69423641d4bc515e190b293d56c754922 (diff)
msm8996-common: Fix some SELinux denials.
-rw-r--r--sepolicy/installd.te1
-rw-r--r--sepolicy/location.te5
-rw-r--r--sepolicy/priv_app.te1
3 files changed, 4 insertions, 3 deletions
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;