Home | History | Annotate | Download | only in sepolicy
      1 # GPU device (world r/w)
      2 /dev/kgsl-3d0       u:object_r:gpu_device:s0
      3 /dev/kgsl           u:object_r:gpu_device:s0
      4 
      5 # WLAN
      6 /dev/wcnss_wlan         u:object_r:wlan_device:s0
      7 
      8 # Image Rotator Driver
      9 /dev/msm_rotator    u:object_r:video_device:s0
     10 
     11 # Qualcomm Secure Execution Environment Communicator (QSEECOM) device
     12 /dev/qseecom        u:object_r:tee_device:s0
     13 
     14 # Qualcomm MSM Interface (QMI) devices
     15 /dev/socket/qmux_audio(/.*)?           u:object_r:qmuxd_socket:s0
     16 /dev/socket/qmux_bluetooth(/.*)?       u:object_r:qmuxd_socket:s0
     17 /dev/socket/qmux_gps(/.*)?             u:object_r:qmuxd_socket:s0
     18 /dev/socket/qmux_radio(/.*)?           u:object_r:qmuxd_socket:s0
     19 
     20 /dev/bcm2079x-i2c                  u:object_r:nfc_device:s0
     21 /dev/diag                          u:object_r:diag_device:s0
     22 
     23 # CPU governor controls
     24 /dev/socket/mpdecision(/.*)?           u:object_r:mpdecision_socket:s0
     25 
     26 ## Radio related
     27 # modem driver
     28 /dev/mdm                               u:object_r:radio_device:s0
     29 # high speed inter-chip controls
     30 /dev/hsicctl[0-3]                      u:object_r:radio_device:s0
     31 # mux controller
     32 /dev/rmnet_mux_ctrl                    u:object_r:radio_device:s0
     33 # qmi protocol driver
     34 /dev/qmi[0-2]                          u:object_r:radio_device:s0
     35 # shared memory drivers
     36 /dev/smdcntl[0-7]                      u:object_r:radio_device:s0
     37 /dev/smd7                              u:object_r:radio_device:s0
     38 
     39 # Bluetooth shared memory interfaces
     40 /dev/smd2                              u:object_r:hci_attach_dev:s0
     41 /dev/smd3                              u:object_r:hci_attach_dev:s0
     42 # Default label for shared memory drivers
     43 /dev/smd([0-9])+                       u:object_r:smd_device:s0
     44 /dev/smem_log                          u:object_r:shared_log_device:s0
     45 
     46 # Serial console
     47 /dev/ttyHS0                            u:object_r:hci_attach_dev:s0
     48 /dev/ttyMSM0                           u:object_r:hci_attach_dev:s0
     49 
     50 # Serial-to-Usb support
     51 /dev/ttyUSB0                           u:object_r:radio_device:s0
     52 
     53 # Jpeg Engine support
     54 /dev/gemini.*                          u:object_r:camera_device:s0
     55 # MSM camera related
     56 /dev/v4l-subdev.*                      u:object_r:camera_device:s0
     57 /dev/video([0-9])+                     u:object_r:camera_device:s0
     58 /dev/msm_camera(/.*)?                  u:object_r:camera_device:s0
     59 /dev/media([0-9])+                     u:object_r:camera_device:s0
     60 
     61 # Qualcomm MSM Audio devices
     62 /dev/msm_acdb                      u:object_r:audio_device:s0
     63 /dev/msm_mp3                       u:object_r:audio_device:s0
     64 /dev/msm_rtac                      u:object_r:audio_device:s0
     65 /dev/msm_vidc.*                    u:object_r:audio_device:s0
     66 /dev/msm_amrnb.*                   u:object_r:audio_device:s0
     67 /dev/msm_amrwb.*                   u:object_r:audio_device:s0
     68 /dev/msm_aac.*                     u:object_r:audio_device:s0
     69 
     70 # MSM Dedicated Sensors Processor Subsystem
     71 /dev/msm_dsps                          u:object_r:sensors_device:s0
     72 # Sensors shared Memory Packet Interface
     73 /dev/smd_sns_dsps                      u:object_r:sensors_device:s0
     74 
     75 /dev/cpu_dma_latency               u:object_r:power_control_device:s0
     76 
     77 /dev/ks_hsic_bridge                u:object_r:kickstart_device:s0
     78 /dev/efs_hsic_bridge               u:object_r:kickstart_device:s0
     79 
     80 /system/bin/qcks                   u:object_r:kickstart_exec:s0
     81 /system/bin/efsks                  u:object_r:kickstart_exec:s0
     82 /system/bin/ks                     u:object_r:kickstart_exec:s0
     83 
     84 # Block labeling
     85 /dev/block/mmcblk0p[89]            u:object_r:efs_block_device:s0
     86 /dev/block/mmcblk0                 u:object_r:root_block_device:s0
     87 
     88 /data/cam_socket[0-9]              u:object_r:camera_socket:s0
     89 /data/app/sensor_ctl_socket        u:object_r:sensors_socket:s0
     90 
     91 /data/nfc(/.*)?                    u:object_r:nfc_data_file:s0
     92 /data/qcks(/.*)?                   u:object_r:kickstart_data_file:s0
     93 /data/misc/sensors(/.*)?           u:object_r:sensors_data_file:s0
     94 /data/system/sensors(/.*)?         u:object_r:sensors_data_file:s0
     95 /data/misc/playready(/.*)?         u:object_r:drm_data_file:s0
     96 /data/fdAlbum                      u:object_r:camera_data_file:s0
     97 
     98 /system/bin/hci_qcomm_init         u:object_r:hci_attach_exec:s0
     99 /system/bin/bdAddrLoader           u:object_r:bluetooth_loader_exec:s0
    100 /system/etc/init\.mako\.bt\.sh        u:object_r:bluetooth_loader_exec:s0
    101 /system/bin/rmt_storage            u:object_r:rmt_exec:s0
    102 /system/bin/bridgemgrd             u:object_r:bridge_exec:s0
    103 /system/bin/qmuxd                  u:object_r:qmux_exec:s0
    104 /system/bin/netmgrd                u:object_r:netmgrd_exec:s0
    105 /system/bin/thermald               u:object_r:thermald_exec:s0
    106 /system/bin/mpdecision             u:object_r:mpdecision_exec:s0
    107 /system/bin/sensors\.qcom           u:object_r:sensors_exec:s0
    108 /system/bin/mm-qcamera-daemon      u:object_r:camera_exec:s0
    109 /system/bin/qseecomd               u:object_r:tee_exec:s0
    110 /system/bin/conn_init              u:object_r:conn_init_exec:s0
    111 
    112 # Persist firmware filesystem
    113 /persist(/.*)?                   u:object_r:persist_file:s0
    114 /persist/bluetooth(/.*)?         u:object_r:persist_bluetooth_file:s0
    115 /persist/sensors(/.*)?           u:object_r:persist_sensors_file:s0
    116 /persist/playready(/.*)?         u:object_r:persist_drm_file:s0
    117 /persist/widevine(/.*)?          u:object_r:persist_drm_file:s0
    118 /persist/wifi(/.*)?              u:object_r:persist_wifi_file:s0
    119 
    120 # Sysfs entry for the RmNet function driver
    121 /sys/class/android_usb/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
    122 /sys/devices/virtual/android_usb/android0/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
    123 
    124 # Sysfs files used by mpdecision
    125 /sys/module/pm2/modes(/.*)?            u:object_r:sysfs_mpdecision:s0
    126 /sys/module/pm_8x60/modes(/.*)?        u:object_r:sysfs_mpdecision:s0
    127