summaryrefslogtreecommitdiffstats
path: root/selinux/file_contexts
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2016-11-19 17:21:50 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-11-19 16:36:52 -0800
commitf2a3063bc88ee0a075c04fa274c10c39c7abfc9b (patch)
tree0042544658ce6961403f6eac79ca6217b8efc5cc /selinux/file_contexts
parentb8ca7e9e41daaab93c33b136dd8f238606bf9352 (diff)
downloaddevice_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.zip
device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.gz
device_samsung_i9305-f2a3063bc88ee0a075c04fa274c10c39c7abfc9b.tar.bz2
Revert "i9305 : second cleanup"
I'll push single commits This reverts commit 2f6c7f36412046bd8b67ffbf511ffa74d7cc6842. Change-Id: I147666b0637e2950612653ad680b7a1f33e173f0
Diffstat (limited to 'selinux/file_contexts')
-rw-r--r--selinux/file_contexts70
1 files changed, 70 insertions, 0 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
new file mode 100644
index 0000000..36dc14c
--- /dev/null
+++ b/selinux/file_contexts
@@ -0,0 +1,70 @@
+# 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
+
+# RIL
+/dev/mdm u:object_r:radio_device:s0
+/dev/hsicctl[0-3]* u:object_r:radio_device:s0
+/dev/ttyUSB0 u:object_r:radio_device:s0
+/dev/diag u:object_r:diagnostic_device:s0
+
+# GPS
+/dev/ttySAC1 u:object_r:gps_device:s0
+
+# Bluetooth
+/dev/ttySAC0 u:object_r:hci_attach_dev:s0
+/efs/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0
+
+# Sensors
+/dev/akm8975 u:object_r:sensors_device:s0
+/efs/gyro_cal_data u:object_r:sensors_data_file:s0
+
+# Camera
+/data/ISP_CV u:object_r:camera_data_file:s0
+/dev/exynos-mem u:object_r:video_device:s0
+
+# for wpa_supp
+/dev/rfkill u:object_r:rfkill_device:s0
+
+# Firmwares
+/system/vendor/firmware(/.*)? u:object_r:firmware_camera:s0
+/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
+/system/vendor/firmware/fimc_is_fw.bin u:object_r:firmware_camera:s0
+/data/cfw(/.*)? u:object_r:firmware_camera:s0
+/tombstones u:object_r:system_data_file:s0
+/tombstones(/.*)? u:object_r:tombstone_data_file:s0
+/tombstones/qcks(/.*)? u:object_r:kickstart_data_file:s0
+
+# Vibrator
+/dev/tspdrv u:object_r:input_device:s0
+
+# Wifi
+/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
+
+# Sec-ril
+/efs/FactoryApp/keystr u:object_r:efs_file:s0
+/efs/FactoryApp/factorymode u:object_r:efs_file:s0
+/efs/FactoryApp/serial_no u:object_r:efs_file:s0
+/data/misc/radio/ramdumpmode.txt u:object_r:radio_data_file:s0
+/data/misc/radio/dlnk u:object_r:radio_data_file:s0
+
+# Binaries
+/system/bin/qmuxd u:object_r:qmux_exec:s0
+/system/bin/efsks u:object_r:kickstart_exec:s0
+/system/bin/ks u:object_r:kickstart_exec:s0
+/system/bin/qcks u:object_r:kickstart_exec:s0
+
+# Sockets
+/dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0
+/dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
+
+# Block devices
+/dev/block/mmcblk0p[3-6]* u:object_r:efs_block_device:s0
+/dev/block/mmcblk0p10 u:object_r:efs_block_device:s0
+/dev/block/mmcblk0p11 u:object_r:efs_block_device:s0
+
+# Audio related
+/data/local/audio(/.*)? u:object_r:volume_data_file:s0