aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 12:24:37 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-04-19 00:23:48 -0700
commit8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6 (patch)
tree601797ab771e81d818173183bed51cfe547723d6 /sepolicy/file_contexts
parent7ba368eefea595ea4e07be5ad7eb041a3c42fedb (diff)
downloaddevice_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.zip
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.gz
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.bz2
sepolicy: address current denials
Change-Id: Ied12c2b588856e7cb874e8693da7e07d9b8d0e6c
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts22
1 files changed, 15 insertions, 7 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 44fd317..0a6e40e 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -22,21 +22,29 @@
/dev/gcioctl u:object_r:video_device:s0
# Bluetooth
-/dev/ttyO1 u:object_r:hci_attach_dev:s0
-/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
+/dev/ttyO1 u:object_r:hci_attach_dev:s0
+/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
+/sys/devices/platform/bcm4330_bluetooth/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable: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/vendor/bin/pvrsrvctl_SGX540_120 u:object_r:pvrsrvinit_exec:s0
-
# Firmwares
-/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0
+/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0
# variant setup
/system/bin/init\.espresso\.variant\.sh u:object_r:variant_setup_exec:s0
+
+# Block devices
+/dev/block/mmcblk0 u:object_r:root_block_device:s0
+/dev/block/platform/omap/omap_hsmmc.1/by-name/KERNEL u:object_r:boot_block_device:s0
+/dev/block/platform/omap/omap_hsmmc.1/by-name/RECOVERY u:object_r:recovery_block_device:s0
+/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS u:object_r:system_block_device:s0
+/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE u:object_r:cache_block_device:s0
+/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS u:object_r:userdata_block_device:s0
+
+# Swap
+/dev/block/zram(.*) u:object_r:swap_block_device:s0