summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-12-13 09:16:25 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-13 09:16:25 -0800
commitcfbc199a1e9a361d2a38f2c61dd5b32115e2a9fd (patch)
tree31a0ecb774fd5e4342f790e48e582f63549c995c
parente2fbc9047706ee6546aa1d1ef223d02c189e9b31 (diff)
parentd5210e91a9005faa9ddf24d414b236689cfd4812 (diff)
downloadandroid_device_qcom_sepolicy-cfbc199a1e9a361d2a38f2c61dd5b32115e2a9fd.tar.gz
android_device_qcom_sepolicy-cfbc199a1e9a361d2a38f2c61dd5b32115e2a9fd.tar.bz2
android_device_qcom_sepolicy-cfbc199a1e9a361d2a38f2c61dd5b32115e2a9fd.zip
Merge "sepolicy: sensors: allow access to execmem"
-rw-r--r--common/sensors.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/sensors.te b/common/sensors.te
index f71c4444..60f889df 100644
--- a/common/sensors.te
+++ b/common/sensors.te
@@ -35,6 +35,9 @@ allow sensors persist_file:dir r_dir_perms;
allow sensors sensors_persist_file:dir create_dir_perms;
allow sensors sensors_persist_file:file create_file_perms;
+# Access to execmem
+allow sensors self:process execmem;
+
# Wake lock access
wakelock_use(sensors)