aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 03:48:25 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-03-29 19:44:18 +0200
commit491824c82435b9e22aa95da3e8a554956e3d74b6 (patch)
treecf3ba3fadbdc8e8689c7af77a64c73e804b44a0c /sepolicy/file_contexts
parentd7911aa4d4f13863ae26e6d8f485cf0e106e3167 (diff)
downloaddevice_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.zip
device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.gz
device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.bz2
libsensors: fix selinux denials
Moved geomagneticd calibration data to /data/sensors to allow relabeling it. Change-Id: Ibe596b5903aa309f862a568b9876e79acaff5d19
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 8d9d1dd..2161cde 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -14,7 +14,7 @@
/system/bin/gpsd u:object_r:gpsd_exec:s0
# Sensors
-/data/system/yas*.cfg u:object_r:sensor_data_file:s0
+/data/sensors(/.*)? u:object_r:sensors_data_file:s0
/system/bin/geomagneticd u:object_r:geomagneticd_exec:s0
/system/bin/orientationd u:object_r:orientationd_exec:s0