Home | History | Annotate | Download | only in sepolicy
      1 # Used by keystore to access trustzone
      2 /dev/qseecom        u:object_r:tee_device:s0
      3 
      4 # GPS
      5 /dev/gss               u:object_r:sensors_device:s0
      6 
      7 # WLAN
      8 /dev/wcnss_wlan         u:object_r:wlan_device:s0
      9 
     10 ###### GPU device (world r/w)
     11 /dev/kgsl-3d0       u:object_r:gpu_device:s0
     12 /dev/kgsl           u:object_r:gpu_device:s0
     13 
     14 # Image Rotator Driver
     15 /dev/msm_rotator    u:object_r:video_device:s0
     16 
     17 # Qualcomm MSM Interface (QMI) devices
     18 /dev/socket/qmux_audio(/.*)?           u:object_r:qmuxd_socket:s0
     19 /dev/socket/qmux_bluetooth(/.*)?       u:object_r:qmuxd_socket:s0
     20 /dev/socket/qmux_gps(/.*)?             u:object_r:qmuxd_socket:s0
     21 /dev/socket/qmux_radio(/.*)?           u:object_r:qmuxd_socket:s0
     22 
     23 /dev/bcm2079x-i2c                  u:object_r:nfc_device:s0
     24 /dev/diag                          u:object_r:diag_device:s0
     25 
     26 # efs block labeling
     27 /dev/block/platform/msm_sdcc\.1/by-name/m9kefs[123c] u:object_r:efs_block_device:s0
     28 # Root block labeling
     29 /dev/block/mmcblk0                 u:object_r:root_block_device:s0
     30 # modemst1, modemst2, fsg, ssd labeling
     31 /dev/block/platform/msm_sdcc\.1/by-name/modemst[12] u:object_r:modem_block_device:s0
     32 /dev/block/platform/msm_sdcc\.1/by-name/fsg u:object_r:modem_block_device:s0
     33 /dev/block/platform/msm_sdcc\.1/by-name/ssd u:object_r:modem_block_device:s0
     34 # system and recovery labeling
     35 /dev/block/platform/msm_sdcc\.1/by-name/system u:object_r:system_block_device:s0
     36 /dev/block/platform/msm_sdcc\.1/by-name/recovery u:object_r:recovery_block_device:s0
     37 /dev/block/platform/msm_sdcc\.1/by-name/boot u:object_r:boot_block_device:s0
     38 # cache and userdata labeling
     39 /dev/block/platform/msm_sdcc\.1/by-name/cache u:object_r:cache_block_device:s0
     40 /dev/block/platform/msm_sdcc\.1/by-name/userdata u:object_r:userdata_block_device:s0
     41 # encryption metadata
     42 /dev/block/platform/msm_sdcc\.1/by-name/metadata u:object_r:metadata_block_device:s0
     43 
     44 # CPU governor controls
     45 /dev/socket/mpdecision(/.*)?           u:object_r:mpdecision_socket:s0
     46 
     47 ## Radio related
     48 # modem driver
     49 /dev/mdm                               u:object_r:radio_device:s0
     50 # high speed inter-chip controls
     51 /dev/hsicctl[0-3]                      u:object_r:radio_device:s0
     52 # mux controller
     53 /dev/rmnet_mux_ctrl                    u:object_r:radio_device:s0
     54 # qmi protocol driver
     55 /dev/qmi[0-2]                          u:object_r:radio_device:s0
     56 # shared memory drivers
     57 /dev/smdcntl[0-7]                      u:object_r:radio_device:s0
     58 /dev/smd7                              u:object_r:radio_device:s0
     59 
     60 # Bluetooth shared memory interfaces
     61 /dev/smd2                              u:object_r:hci_attach_dev:s0
     62 /dev/smd3                              u:object_r:hci_attach_dev:s0
     63 # Default label for shared memory drivers
     64 /dev/smd([0-9])+                       u:object_r:smd_device:s0
     65 /dev/smem_log                          u:object_r:shared_log_device:s0
     66 
     67 # Serial console
     68 /dev/ttyHS0                            u:object_r:hci_attach_dev:s0
     69 /dev/ttyMSM0                           u:object_r:hci_attach_dev:s0
     70 
     71 # Serial-to-Usb support
     72 /dev/ttyUSB0                           u:object_r:radio_device:s0
     73 
     74 # Jpeg Engine support
     75 /dev/gemini.*                          u:object_r:camera_device:s0
     76 # MSM camera related
     77 /dev/v4l-subdev.*                      u:object_r:camera_device:s0
     78 /dev/video([0-9])+                     u:object_r:camera_device:s0
     79 /dev/msm_camera(/.*)?                  u:object_r:camera_device:s0
     80 /dev/media([0-9])+                     u:object_r:camera_device:s0
     81 
     82 # Qualcomm MSM Audio devices
     83 /dev/msm_acdb                      u:object_r:audio_device:s0
     84 /dev/msm_mp3                       u:object_r:audio_device:s0
     85 /dev/msm_rtac                      u:object_r:audio_device:s0
     86 /dev/msm_vidc.*                    u:object_r:audio_device:s0
     87 /dev/msm_amrnb.*                   u:object_r:audio_device:s0
     88 /dev/msm_amrwb.*                   u:object_r:audio_device:s0
     89 /dev/msm_aac.*                     u:object_r:audio_device:s0
     90 
     91 # MSM Dedicated Sensors Processor Subsystem
     92 /dev/msm_dsps                          u:object_r:sensors_device:s0
     93 # Sensors shared Memory Packet Interface
     94 /dev/smd_sns_dsps                      u:object_r:sensors_device:s0
     95 
     96 /dev/cpu_dma_latency               u:object_r:power_control_device:s0
     97 
     98 /dev/ks_hsic_bridge                u:object_r:kickstart_device:s0
     99 /dev/efs_hsic_bridge               u:object_r:kickstart_device:s0
    100 
    101 /system/bin/qcks                   u:object_r:kickstart_exec:s0
    102 /system/bin/efsks                  u:object_r:kickstart_exec:s0
    103 /system/bin/ks                     u:object_r:kickstart_exec:s0
    104 /system/bin/kickstart_checker\.sh  u:object_r:kickstart_exec:s0
    105 
    106 /data/cam_socket[0-9]              u:object_r:camera_socket:s0
    107 /data/app/sensor_ctl_socket        u:object_r:sensors_socket:s0
    108 
    109 /data/nfc(/.*)?                    u:object_r:nfc_data_file:s0
    110 /data/qcks(/.*)?                   u:object_r:kickstart_data_file:s0
    111 /data/misc/sensors(/.*)?           u:object_r:sensors_data_file:s0
    112 /data/system/sensors(/.*)?         u:object_r:sensors_data_file:s0
    113 /data/misc/playready(/.*)?         u:object_r:drm_data_file:s0
    114 /data/fdAlbum                      u:object_r:camera_data_file:s0
    115 
    116 /system/bin/hci_qcomm_init         u:object_r:hci_attach_exec:s0
    117 /system/bin/bdAddrLoader           u:object_r:bluetooth_loader_exec:s0
    118 # rmt_storage is a qualcomm specific daemon responsible
    119 # for servicing modem filesystem requests.
    120 /system/bin/rmt_storage            u:object_r:rmt_exec:s0
    121 /system/bin/bridgemgrd             u:object_r:bridge_exec:s0
    122 /system/bin/qmuxd                  u:object_r:qmux_exec:s0
    123 /system/bin/netmgrd                u:object_r:netmgrd_exec:s0
    124 /system/bin/thermald               u:object_r:thermald_exec:s0
    125 /system/bin/mpdecision             u:object_r:mpdecision_exec:s0
    126 /system/bin/sensors\.qcom           u:object_r:sensors_exec:s0
    127 /system/bin/mm-qcamera-daemon      u:object_r:camera_exec:s0
    128 /system/bin/qseecomd               u:object_r:tee_exec:s0
    129 /system/bin/conn_init              u:object_r:conn_init_exec:s0
    130 /system/bin/init\.flo\.wifi\.sh    u:object_r:conn_init_exec:s0
    131 /system/bin/irsc_util              u:object_r:irsc_util_exec:s0
    132 /system/bin/init\.flo\.bt\.sh      u:object_r:bluetooth_loader_exec:s0
    133 
    134 # Persist firmware filesystem
    135 /persist(/.*)?                    u:object_r:persist_file:s0
    136 /persist/bluetooth(/.*)?          u:object_r:persist_bluetooth_file:s0
    137 /persist/camera_calibration(/.*)? u:object_r:persist_camera_file:s0
    138 /persist/data(/.*)?               u:object_r:persist_data_file:s0
    139 /persist/sensors(/.*)?            u:object_r:persist_sensors_file:s0
    140 /persist/playready(/.*)?          u:object_r:persist_drm_file:s0
    141 /persist/widevine(/.*)?           u:object_r:persist_drm_file:s0
    142 /persist/wifi(/.*)?               u:object_r:persist_wifi_file:s0
    143 
    144 # Sysfs entry for the RmNet function driver
    145 /sys/class/android_usb/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
    146 /sys/devices/virtual/android_usb/android0/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
    147 /sys/module/rmnet_usb/parameters/rmnet_data_init -- u:object_r:sysfs_rmnet:s0
    148 
    149 # Sysfs files used by mpdecision
    150 /sys/module/pm2/modes(/.*)?            u:object_r:sysfs_mpdecision:s0
    151 /sys/module/pm_8x60/modes(/.*)?        u:object_r:sysfs_mpdecision:s0
    152 
    153 # Sysfs files used by surfaceflinger
    154 /sys/devices/virtual/graphics/fb1/format_3d -- u:object_r:sysfs_surfaceflinger:s0
    155 /sys/devices/virtual/graphics/fb1/hpd       -- u:object_r:sysfs_surfaceflinger:s0
    156