summaryrefslogtreecommitdiffstats
path: root/common/sensors.te
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2014-12-29 16:25:58 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2014-12-29 16:25:58 +0000
commitc76fa3504d2596a9a8f82a8145b7e0e521cc927f (patch)
treee06c1295504a6c1dfef22245884ba09eab751cbf /common/sensors.te
parent0066d40fd35e6a351a621ccad38ec0a6ad640543 (diff)
parent414d97d5c10456a3f3888371a20718864d6b514c (diff)
downloadandroid_device_qcom_sepolicy-c76fa3504d2596a9a8f82a8145b7e0e521cc927f.tar.gz
android_device_qcom_sepolicy-c76fa3504d2596a9a8f82a8145b7e0e521cc927f.tar.bz2
android_device_qcom_sepolicy-c76fa3504d2596a9a8f82a8145b7e0e521cc927f.zip
Merge remote-tracking branch 'caf/LA.BF.2.1_rb1.6' into cm-12.0
Conflicts: Android.mk common/file_contexts common/ims.te common/mm-pp-daemon.te common/netmgrd.te common/radio.te common/service.te common/service_contexts common/system_app.te common/system_server.te common/thermal-engine.te common/untrusted_app.te common/wpa.te msm8960/Android.mk msm8960/file.te msm8960/file_contexts Change-Id: I8308142c06d36380d422fd2256cceae2227fd04f
Diffstat (limited to 'common/sensors.te')
-rw-r--r--common/sensors.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/sensors.te b/common/sensors.te
index 27a5836e..0e9c8478 100644
--- a/common/sensors.te
+++ b/common/sensors.te
@@ -14,7 +14,7 @@ allow sensors self:capability chown;
dontaudit sensors self:capability fsetid;
# Access /data/misc/sensors/debug and /data/system/sensors/settings
-allow sensors self:capability { dac_override dac_read_search };
+allow sensors self:capability { dac_override dac_read_search net_bind_service };
# Sensors socket
allow sensors sensors_socket:sock_file create_file_perms;
@@ -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)