summaryrefslogtreecommitdiffstats
path: root/selinux/file_contexts
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/file_contexts')
-rw-r--r--selinux/file_contexts63
1 files changed, 38 insertions, 25 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
index 0e01fb0..0b7febc 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -1,41 +1,54 @@
# GFX
-/dev/mali u:object_r:mali_device:s0
-/dev/ump u:object_r:mali_device:s0
-/dev/fimg2d u:object_r:mali_device:s0
+/dev/mali u:object_r:gpu_device:s0
+/dev/ump u:object_r:gpu_device:s0
+/dev/fimg2d u:object_r:gpu_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
-
-/dev/block/mmcblk0p8 u:object_r:efs_block_device:s0
-/efs u:object_r:efs_device_file:s0
+/dev/link_pm u:object_r:radio_device:s0
+/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
+/data/misc/radio(/.*)? u:object_r:radio_data:s0
+/sys/devices/platform/s5p-ehci/ehci_power u:object_r:sysfs_radio:s0
+
+# Block labeling
+/dev/block/mmcblk0p1 u:object_r:efs_block_device:s0
+/dev/block/mmcblk0p7 u:object_r:cache_block_device:s0
+/dev/block/mmcblk0p8 u:object_r:efs_block_device:s0
+/dev/block/mmcblk0p9 u:object_r:system_block_device:s0
+/dev/block/mmcblk0p10 u:object_r:userdata_block_device:s0
+/dev/block/zram0 u:object_r:swap_block_device:s0
+/efs u:object_r:efs_device_file:s0
# Camera
-/dev/s3c-mfc u:object_r:mfc_device:s0
-/dev/s5p-jpeg u:object_r:video_device:s0
+/dev/s3c-mfc u:object_r:mfc_device:s0
+/dev/s5p-jpeg u:object_r:video_device:s0
# Bluetooth
-/dev/ttySAC0 u:object_r:hci_attach_dev:s0
-/efs/bluetooth/bt_addr u:object_r:bluetooth_data_file:s0
-/sys/class/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
+/dev/ttySAC0 u:object_r:hci_attach_dev:s0
+/efs/bluetooth/bt_addr u:object_r:bluetooth_data_file:s0
+/sys/devices/platform/bcm4330_bluetooth/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
# GPS
-/dev/ttySAC1 u:object_r:gps_device:s0
+/dev/ttySAC1 u:object_r:gps_device:s0
# Sensors
-/dev/akm8975 u:object_r:sensors_device:s0
+/dev/akm8975 u:object_r:sensors_device:s0
-# for wpa_supp
-/dev/rfkill u:object_r:rfkill_device:s0
+# WiFi
+/dev/rfkill u:object_r:rfkill_device:s0
+/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
# Firmwares
-/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
+/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
+
# Display
-/sys/class/lcd/panel/power_reduce u:object_r:sysfs_display:s0
-/sys/class/mdnie/mdnie/scenario u:object_r:sysfs_display:s0
-/sys/class/mdnie/mdnie/mode u:object_r:sysfs_display:s0
-/sys/class/mdnie/mdnie/negative u:object_r:sysfs_display:s0
+/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario u:object_r:sysfs_display:s0
+/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode u:object_r:sysfs_display:s0
+/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/negative u:object_r:sysfs_display:s0
+
+# Executables
+/system/bin/macloader u:object_r:macloader_exec:s0