From db70d22263602fb90fffdfa277eff287c3fee757 Mon Sep 17 00:00:00 2001 From: RGIB Date: Mon, 4 Apr 2016 16:23:21 +0200 Subject: kona : MM sepolicy Change-Id: Ib7816ea15871cc75d8cd68a5d0cbcf5e6fe66c18 --- selinux/file_contexts | 107 ++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 77 deletions(-) (limited to 'selinux/file_contexts') diff --git a/selinux/file_contexts b/selinux/file_contexts index e733c9e..460cfc9 100644 --- a/selinux/file_contexts +++ b/selinux/file_contexts @@ -1,77 +1,30 @@ -# 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/s3c-mfc u:object_r:mfc_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 - -/dev/umts_boot0 u:object_r:ril_device:s0 -/dev/umts_ipc0 u:object_r:ril_device:s0 -/dev/umts_rfs0 u:object_r:ril_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/akm8963 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 -/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/netmgrd u:object_r:netmgrd_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 -/system/bin/sec-ril u:object_r:secril-daemon_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/mmcblk0p13 u:object_r:efs_block_device:s0 -/dev/block/mmcblk0p14 u:object_r:efs_block_device:s0 - -# Audio related -/data/local/audio(/.*)? u:object_r:volume_data_file:s0 +/sbin/cbd u:object_r:cpboot-daemon_exec:s0 +/system/bin/gpsd u:object_r:gpsd_exec:s0 +/system/bin/at_distributor u:object_r:at_distributor_exec:s0 +/system/bin/smdexe u:object_r:SMD-daemon_exec:s0 +/system/bin/ddexe u:object_r:DR-daemon_exec:s0 +/system/bin/orientationd u:object_r:orientationd_exec:s0 +/system/bin/geomagneticd u:object_r:geomagneticd_exec:s0 + +/data/system/yas.cfg u:object_r:gps_data_file:s0 +/data/system/gps(/.*)? u:object_r:gps_data_file:s0 +/data/misc/radio(/.*)? u:object_r:radio_data_file:s0 +/data/.socket_stream u:object_r:radio_data_file:s0 +/data/cfw(/.*)? u:object_r:camera_data_file:s0 + +/dev/__cbd_msg_ u:object_r:radio_device:s0 +/dev/ttySAC0 u:object_r:serial_device:s0 +/dev/ttySAC2 u:object_r:serial_device:s0 +/dev/ttyGS0 u:object_r:serial_device:s0 +/dev/mali u:object_r:gpu_device:s0 +/dev/ump u:object_r:gpu_device:s0 +/dev/umts_boot0 u:object_r:radio_device:s0 +/dev/umts_ipc0 u:object_r:radio_device:s0 +/dev/umts_rfs0 u:object_r:radio_device:s0 +/dev/link_pm u:object_r:radio_device:s0 + +/dev/block/mmcblk0p3 u:object_r:userdata_block_device:s0 +/dev/block/mmcblk0p7 u:object_r:userdata_block_device:s0 +/dev/block/mmcblk0p8 u:object_r:userdata_block_device:s0 +/dev/block/mmcblk0p9 u:object_r:userdata_block_device:s0 +/dev/block/mmcblk0p12 u:object_r:userdata_block_device:s0 -- cgit v1.1