diff options
author | Satya Durga Srinivasu Prabhala <satyap@codeaurora.org> | 2014-12-09 10:24:54 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-12-09 10:39:34 -0800 |
commit | bfe065cb7e6ecd8ac9d8b73bb45180554e2e1b79 (patch) | |
tree | 47255167736d1a36d3c524fdbe5f2c96275e6530 /common | |
parent | 0574cf97bd8931d2ba7987a8c436e1340f33a967 (diff) | |
download | android_device_qcom_sepolicy-bfe065cb7e6ecd8ac9d8b73bb45180554e2e1b79.tar.gz android_device_qcom_sepolicy-bfe065cb7e6ecd8ac9d8b73bb45180554e2e1b79.tar.bz2 android_device_qcom_sepolicy-bfe065cb7e6ecd8ac9d8b73bb45180554e2e1b79.zip |
sepolicy: sensors: allow access to execmem
Allow sensor daemon to access execmem to supress denial for execmem.
Change-Id: I535996736e94eb6d323de28c38b1bb70b0fd3a05
Diffstat (limited to 'common')
-rw-r--r-- | common/sensors.te | 3 |
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) |