Home | History | Annotate | Download | only in sepolicy
      1 ###### GPU device (world r/w)
      2 /dev/nvhost-as-gpu		u:object_r:gpu_device:s0
      3 /dev/nvhost-ctrl		u:object_r:gpu_device:s0
      4 /dev/nvhost-ctrl-gpu		u:object_r:gpu_device:s0
      5 /dev/nvhost-dbg-gpu		u:object_r:gpu_device:s0
      6 /dev/nvhost-gpu			u:object_r:gpu_device:s0
      7 /dev/nvhost-prof-gpu		u:object_r:gpu_device:s0
      8 /dev/nvhost-vic			u:object_r:gpu_device:s0
      9 /dev/nvmap			u:object_r:gpu_device:s0
     10 /dev/nvhdcp0			u:object_r:gpu_device:s0
     11 # gpu freq
     12 /dev/constraint_gpu_freq	u:object_r:gpu_freq_device:s0
     13 # enable UART port permission
     14 /dev/ttyTHS2			u:object_r:hci_attach_dev:s0
     15 # nfc
     16 /dev/bcm2079x			u:object_r:nfc_device:s0
     17 # camera devices
     18 /dev/camera.pcl			u:object_r:video_device:s0
     19 /dev/nvhost-ctrl-vi.*		u:object_r:video_device:s0
     20 /dev/nvhost-vi.*		u:object_r:video_device:s0
     21 /dev/nvhost-ctrl-isp.*		u:object_r:video_device:s0
     22 /dev/nvhost-isp.*		u:object_r:video_device:s0
     23 /dev/nvhost-msenc		u:object_r:video_device:s0
     24 /dev/imx219			u:object_r:video_device:s0
     25 /dev/focuser			u:object_r:video_device:s0
     26 /dev/ov9760			u:object_r:video_device:s0
     27 /dev/torch.*			u:object_r:video_device:s0
     28 /dev/mipi-cal			u:object_r:video_device:s0
     29 
     30 # rt5506 Audio device
     31 /dev/rt5506                     u:object_r:audio_device:s0
     32 
     33 # Speakers
     34 /dev/tfa9895                    u:object_r:audio_device:s0
     35 /dev/tfa9895l                   u:object_r:audio_device:s0
     36 
     37 /data/nfc(/.*)?			u:object_r:nfc_data_file:s0
     38 /data/nvcam(/.*)?		u:object_r:camera_data_file:s0
     39 
     40 # gps
     41 /system/bin/glgps		u:object_r:gpsd_exec:s0
     42 /dev/ttyTHS1			u:object_r:gps_device:s0
     43 
     44 # touch_fusion
     45 /vendor/bin/touch_fusion	u:object_r:touch_fusion_exec:s0
     46 
     47 # TEE
     48 /dev/tlk_device			u:object_r:tee_device:s0
     49 
     50 # Qualcomm MDM9K modem device
     51 # modem driver
     52 /dev/mdm                               u:object_r:radio_device:s0
     53 # high speed inter-chip controls
     54 /dev/hsicctl[0-3]                      u:object_r:radio_device:s0
     55 /dev/ks_hsic_bridge                    u:object_r:kickstart_device:s0
     56 /dev/efs_hsic_bridge                   u:object_r:kickstart_device:s0
     57 /dev/diag_mdm                          u:object_r:kickstart_device:s0
     58 # RCA, EF1, EF2, CDR labeling
     59 /dev/block/mmcblk0p8                   u:object_r:efs_block_device:s0
     60 /dev/block/mmcblk0p21                  u:object_r:efs_block_device:s0
     61 /dev/block/mmcblk0p22                  u:object_r:efs_block_device:s0
     62 /dev/block/mmcblk0p23                  u:object_r:efs_block_device:s0
     63 # Qualcomm MSM Interface (QMI) devices
     64 /dev/socket/qmux_radio(/.*)?           u:object_r:qmuxd_socket:s0
     65 # service
     66 /vendor/bin/qcks                u:object_r:kickstart_exec:s0
     67 /vendor/bin/efsks               u:object_r:kickstart_exec:s0
     68 /vendor/bin/ks                  u:object_r:kickstart_exec:s0
     69 /vendor/bin/qmuxd               u:object_r:qmuxd_exec:s0
     70 /vendor/bin/netmgrd             u:object_r:netmgrd_exec:s0
     71 # database used by vendor RIL
     72 /data/misc/radio(/.*)?     u:object_r:ril_db_file:s0
     73 # Kickstart prepend used
     74 /data/qcks(/.*)?                       u:object_r:kickstart_data_file:s0
     75 # temporary EFS file stored
     76 /data/efs(/.*)?                        u:object_r:efs_data_file:s0
     77 
     78 # Factory reset protection block device
     79 /dev/block/mmcblk0p27 u:object_r:frp_block_device:s0
     80 
     81 # debugfs files
     82 /sys/kernel/debug/nvmap(/.*)?          u:object_r:debugfs_nvmap:s0
     83 
     84 # Didim file
     85 /sys/devices/platform/host1x/tegradc\.0/smartdimmer/aggressiveness                 u:object_r:sysfs_didim:s0
     86 /sys/devices/platform/host1x/tegradc\.0/smartdimmer/enable                         u:object_r:sysfs_didim:s0
     87 /sys/devices/platform/host1x/tegradc\.0/smartdimmer/sd_window                      u:object_r:sysfs_didim:s0
     88 /sys/devices/platform/host1x/tegradc\.0/smartdimmer/sd_window_enable               u:object_r:sysfs_didim:s0
     89 /sys/devices/platform/host1x/capabilities/[^/]*                                    u:object_r:sysfs_gpu:s0
     90 /sys/devices/platform/host1x/gk20a\.0/ptimer_scale_factor                          u:object_r:sysfs_gpu:s0
     91 /sys/devices/platform/tegra12-i2c\.0/i2c-0/0-0036/power_supply/battery/capacity    u:object_r:sysfs_batteryinfo:s0
     92 /sys/devices/platform/tegra-ehci\.[0-9]+(/.*)?                                     u:object_r:sysfs_usb:s0
     93 /sys/devices/virtual/block/zram0/mm_stat                                           u:object_r:sysfs_swap:s0
     94 /sys/devices/virtual/block/zram0/mem_used_total                                    u:object_r:sysfs_swap:s0
     95 /sys/devices/soc0/family                                                           u:object_r:sysfs_socinfo:s0
     96 
     97 /sys/module/tegra_fuse(/.*)?    u:object_r:sysfs_tegra_fuse:s0
     98 
     99 # mmc rpmb
    100 /dev/block/mmcblk0rpmb                 u:object_r:mmc_rpmb_block_device:s0
    101 
    102 /dev/block/zram0                       u:object_r:swap_block_device:s0
    103 /dev/block/platform/sdhci-tegra\.3/by-name/UDA u:object_r:userdata_block_device:s0
    104 /dev/block/platform/sdhci-tegra\.3/by-name/CAC u:object_r:cache_block_device:s0
    105 /dev/block/platform/sdhci-tegra\.3/by-name/MD1 u:object_r:metadata_block_device:s0
    106 /dev/block/platform/sdhci-tegra\.3/by-name/APP u:object_r:system_block_device:s0
    107 /dev/block/platform/sdhci-tegra\.3/by-name/SOS u:object_r:recovery_block_device:s0
    108 /dev/block/platform/sdhci-tegra\.3/by-name/LNX u:object_r:boot_block_device:s0
    109 /dev/block/platform/sdhci-tegra\.3/by-name/MSC u:object_r:misc_block_device:s0
    110 
    111 # secure os storage
    112 /data/ss(/.*)?                         u:object_r:tee_data_file:s0
    113 
    114 # tlk_daemon
    115 /vendor/bin/tlk_daemon                 u:object_r:tee_exec:s0
    116 
    117 # label the wifi MAC address
    118 /sys/devices/platform/sdhci-tegra\.0/mmc_host/mmc1/mmc1:0001/mmc1:0001:2/net/wlan0/address u:object_r:sysfs_mac_address:s0
    119