aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorJiangyi <sam.andrew.jiang@gmail.com>2015-03-22 11:31:17 -0400
committerAndreas Blaesius <skate4life@gmx.de>2015-09-02 07:01:43 -0700
commit3f39a972108430b02161d161764eed7a001324bd (patch)
treec2079e8d385f629c027b86e7dc88fb77abd412fa /sepolicy/file_contexts
parent50303d94c99c94c93207f03db0d1a8f56d917981 (diff)
downloaddevice_samsung_espressowifi-3f39a972108430b02161d161764eed7a001324bd.zip
device_samsung_espressowifi-3f39a972108430b02161d161764eed7a001324bd.tar.gz
device_samsung_espressowifi-3f39a972108430b02161d161764eed7a001324bd.tar.bz2
espresso-common: Update SELinux Policies [1/2]
Update policies, as well as commonize them here. Big thanks to Andreas B. for starting this off! Note: moved to espresso-common, needs some cleanup later Change-Id: I52c676e1ebd0bfb040cdd10eae429ee94e666fc6
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts29
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 58bf32a..b699ab6 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -17,3 +17,32 @@
/data/system/yas*.cfg u:object_r:sensor_data_file:s0
/system/bin/geomagneticd u:object_r:geomagneticd_exec:s0
/system/bin/orientationd u:object_r:orientationd_exec:s0
+
+# GFX
+/dev/dsscomp u:object_r:video_device:s0
+/dev/gcioctl u:object_r:video_device:s0
+
+# RIL
+/dev/umts_boot0 u:object_r:radio_device:s0
+/dev/umts_boot1 u:object_r:radio_device:s0
+/dev/umts_ipc0 u:object_r:radio_device:s0
+/dev/umts_ramdump0 u:object_r:radio_device:s0
+/dev/umts_rfs0 u:object_r:radio_device:s0
+
+# Bluetooth
+/dev/ttyO1 u:object_r:hci_attach_dev:s0
+/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
+
+# GPS
+/dev/ttyO0 u:object_r:gps_device:s0
+
+# Wifi
+/dev/rfkill u:object_r:rfkill_device:s0
+/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
+
+# System binaries
+/system/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0
+/system/vendor/bin/pvrsrvctl_SGX540_120 u:object_r:pvrsrvinit_exec:s0
+
+# Firmwares
+/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0