summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-12-01 12:00:43 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-01 12:00:43 -0800
commit6ecb77aaa07546f1afefad806478d0c7d6f78099 (patch)
tree819afa10c318d729a08cb60471ed6aacba729e7f /common
parentef7ec7ddf5ad82d84009efd13d0dde712aeb5813 (diff)
parentb988394216ed456e1091f36474f38de5d769ce81 (diff)
downloadandroid_device_qcom_sepolicy-6ecb77aaa07546f1afefad806478d0c7d6f78099.tar.gz
android_device_qcom_sepolicy-6ecb77aaa07546f1afefad806478d0c7d6f78099.tar.bz2
android_device_qcom_sepolicy-6ecb77aaa07546f1afefad806478d0c7d6f78099.zip
Merge "sepolicy: allow system apps to access sensors settings file"
Diffstat (limited to 'common')
-rw-r--r--common/system_app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/system_app.te b/common/system_app.te
index 0a4238a0..1666d69d 100644
--- a/common/system_app.te
+++ b/common/system_app.te
@@ -19,6 +19,9 @@ allow system_app cne_service:service_manager add;
userdebug_or_eng(`
allow system_app debugfs:file r_file_perms;
allow system_app su:unix_dgram_socket sendto;
+ allow system_app persist_file:dir r_dir_perms;
+ allow system_app sensors_persist_file:dir r_dir_perms;
+ allow system_app sensors_persist_file:file rw_file_perms;
')
allow system_app cnd_data_file:dir w_dir_perms;
allow system_app cnd_data_file:file create_file_perms;