1 /dev/at_.* u:object_r:at_device:s0 2 /dev/avtimer u:object_r:avtimer_device:s0 3 /dev/adsprpc-smd u:object_r:adsprpcd_device:s0 4 /dev/diag u:object_r:diag_device:s0 5 /dev/jpeg[0-9]+ u:object_r:camera_device:s0 6 /dev/kgsl-3d0 u:object_r:gpu_device:s0 7 /dev/mdss_rotator u:object_r:graphics_device:s0 8 /dev/media([0-9])+ u:object_r:camera_device:s0 9 /dev/nanohub u:object_r:sensors_device:s0 10 /dev/nanohub_comms u:object_r:sensors_device:s0 11 /dev/qseecom u:object_r:tee_device:s0 12 /dev/ramdump_.* u:object_r:ramdump_device:s0 13 /dev/sdsprpc-smd u:object_r:sdsprpc_device:s0 14 /dev/sg[0-9]+ u:object_r:sg_device:s0 15 /dev/subsys_.* u:object_r:ssr_device:s0 16 /dev/msm_thermal_query u:object_r:thermal_device:s0 17 /dev/ttyHS0 u:object_r:hci_attach_dev:s0 18 /dev/ttyHSL0 u:object_r:console_device:s0 19 /dev/v4l-subdev.* u:object_r:video_device:s0 20 /dev/socket/cnd u:object_r:cnd_socket:s0 21 /dev/socket/ims_.* u:object_r:ims_socket:s0 22 /dev/socket/msm_irqbalance u:object_r:irqbalance_socket:s0 23 /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0 24 /dev/socket/nims u:object_r:cnd_socket:s0 25 /dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0 26 /dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0 27 /dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0 28 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 29 /dev/socket/qmux_nfc(/.*)? u:object_r:qmuxd_socket:s0 30 /dev/socket/thermal-send-client u:object_r:thermal_socket:s0 31 /dev/socket/thermal-recv-client u:object_r:thermal_socket:s0 32 /dev/socket/thermal-recv-passive-client u:object_r:thermal_socket:s0 33 /dev/msm_audio_cal u:object_r:audio_cal_device:s0 34 /dev/msm_rtac u:object_r:audio_cal_device:s0 35 /dev/pn551 u:object_r:nfc_device:s0 36 37 # A/B partitions. 38 /dev/block/platform/soc/624000\.ufshc/by-name/aboot_[ab] u:object_r:custom_ab_block_device:s0 39 /dev/block/platform/soc/624000\.ufshc/by-name/apdp_[ab] u:object_r:custom_ab_block_device:s0 40 /dev/block/platform/soc/624000\.ufshc/by-name/boot_[ab] u:object_r:boot_block_device:s0 41 /dev/block/platform/soc/624000\.ufshc/by-name/bootlocker_[ab] u:object_r:custom_ab_block_device:s0 42 /dev/block/platform/soc/624000\.ufshc/by-name/cmnlib32_[ab] u:object_r:custom_ab_block_device:s0 43 /dev/block/platform/soc/624000\.ufshc/by-name/cmnlib64_[ab] u:object_r:custom_ab_block_device:s0 44 /dev/block/platform/soc/624000\.ufshc/by-name/devcfg_[ab] u:object_r:custom_ab_block_device:s0 45 /dev/block/platform/soc/624000\.ufshc/by-name/hosd_[ab] u:object_r:custom_ab_block_device:s0 46 /dev/block/platform/soc/624000\.ufshc/by-name/hyp_[ab] u:object_r:custom_ab_block_device:s0 47 /dev/block/platform/soc/624000\.ufshc/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0 48 /dev/block/platform/soc/624000\.ufshc/by-name/keystore_[ab] u:object_r:custom_ab_block_device:s0 49 /dev/block/platform/soc/624000\.ufshc/by-name/modem_[ab] u:object_r:modem_block_device:s0 50 /dev/block/platform/soc/624000\.ufshc/by-name/msadp_[ab] u:object_r:custom_ab_block_device:s0 51 /dev/block/platform/soc/624000\.ufshc/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0 52 /dev/block/platform/soc/624000\.ufshc/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0 53 /dev/block/platform/soc/624000\.ufshc/by-name/system_[ab] u:object_r:system_block_device:s0 54 /dev/block/platform/soc/624000\.ufshc/by-name/tz_[ab] u:object_r:custom_ab_block_device:s0 55 /dev/block/platform/soc/624000\.ufshc/by-name/vendor_[ab] u:object_r:system_block_device:s0 56 /dev/block/platform/soc/624000\.ufshc/by-name/xbl_[ab] u:object_r:xbl_block_device:s0 57 58 # Block device holding the GPT, where the A/B attributes are stored. 59 /dev/block/platform/soc/624000\.ufshc/sda u:object_r:gpt_block_device:s0 60 61 # Block devices for the drive that holds the xbl_a and xbl_b partitions. 62 /dev/block/platform/soc/624000\.ufshc/sd[bc] u:object_r:xbl_block_device:s0 63 64 # Other, non-A/B partitions. 65 /dev/block/platform/soc/624000\.ufshc/by-name/frp u:object_r:frp_block_device:s0 66 /dev/block/platform/soc/624000\.ufshc/by-name/userdata u:object_r:userdata_block_device:s0 67 /dev/block/platform/soc/624000\.ufshc/by-name/misc u:object_r:misc_block_device:s0 68 /dev/block/platform/soc/624000\.ufshc/by-name/metadata u:object_r:metadata_block_device:s0 69 /dev/block/platform/soc/624000\.ufshc/by-name/fsc u:object_r:modem_block_device:s0 70 /dev/block/platform/soc/624000\.ufshc/by-name/fsg u:object_r:modem_block_device:s0 71 /dev/block/platform/soc/624000\.ufshc/by-name/modemst1 u:object_r:modem_block_device:s0 72 /dev/block/platform/soc/624000\.ufshc/by-name/modemst2 u:object_r:modem_block_device:s0 73 /dev/block/platform/soc/624000\.ufshc/by-name/ssd u:object_r:ssd_block_device:s0 74 /dev/block/platform/soc/624000\.ufshc/by-name/ramdump u:object_r:ramdump_block_device:s0 75 /dev/block/zram0 u:object_r:swap_block_device:s0 76 77 # files in firmware 78 /firmware(/.*)? u:object_r:firmware_file:s0 79 80 # files in /system 81 /system/bin/preloads_copy\.sh u:object_r:preloads_copy_exec:s0 82 83 # files in /vendor 84 /vendor/bin/mm-qcamera-daemon u:object_r:camera_exec:s0 85 /vendor/bin/qsee_logger u:object_r:qsee_logger_exec:s0 86 /vendor/bin/smlog_dump u:object_r:smlog_dump_exec:s0 87 /vendor/bin/irsc_util u:object_r:irsc_util_exec:s0 88 /vendor/bin/pm-service u:object_r:per_mgr_exec:s0 89 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0 90 /vendor/bin/rmt_storage u:object_r:rmt_exec:s0 91 /vendor/bin/time_daemon u:object_r:time_exec:s0 92 /vendor/bin/netmgrd u:object_r:netmgrd_exec:s0 93 /vendor/bin/port-bridge u:object_r:port-bridge_exec:s0 94 /vendor/bin/loc_launcher u:object_r:location_exec:s0 95 /vendor/bin/slim_daemon u:object_r:location_exec:s0 96 /vendor/bin/xtra-daemon u:object_r:location_exec:s0 97 /vendor/bin/lowi-server u:object_r:location_exec:s0 98 /vendor/bin/cnd u:object_r:cnd_exec:s0 99 /vendor/bin/imsdatadaemon u:object_r:ims_exec:s0 100 /vendor/bin/imsqmidaemon u:object_r:ims_exec:s0 101 /vendor/bin/ims_rtp_daemon u:object_r:ims_exec:s0 102 /vendor/bin/imscmservice u:object_r:imscm_exec:s0 103 /vendor/bin/adsprpcd u:object_r:adsprpcd_exec:s0 104 /vendor/bin/cnss-daemon u:object_r:cnss-daemon_exec:s0 105 /vendor/bin/cnss_diag u:object_r:cnss_diag_exec:s0 106 /vendor/bin/diag_mdlog u:object_r:qlogd_exec:s0 107 /vendor/bin/subsystem_ramdump u:object_r:subsystem_ramdump_exec:s0 108 /vendor/bin/ssr_setup u:object_r:ssr_setup_exec:s0 109 /vendor/bin/ramdump u:object_r:htc_ramdump_exec:s0 110 /vendor/bin/ATFWD-daemon u:object_r:atfwd_exec:s0 111 /vendor/bin/nanoapp_cmd u:object_r:nanoapp_cmd_exec:s0 112 113 # files in /vendor 114 /vendor/bin/hw/android\.hardware\.drm@1\.0-service.widevine u:object_r:hal_drm_widevine_exec:s0 115 /vendor/bin/hw/android\.hardware\.dumpstate@1\.0-service.marlin u:object_r:hal_dumpstate_impl_exec:s0 116 /vendor/bin/hw/android\.hardware\.usb@1\.0-service.marlin u:object_r:hal_usb_default_exec:s0 117 /vendor/bin/hw/android\.hardware\.vibrator@1\.0-service.marlin u:object_r:hal_vibrator_default_exec:s0 118 /vendor/bin/msm_irqbalance u:object_r:irqbalance_exec:s0 119 /vendor/bin/nanohub_slpi u:object_r:nanohub_slpi_exec:s0 120 /vendor/bin/perfd u:object_r:perfd_exec:s0 121 /vendor/bin/thermal-engine u:object_r:thermal-engine_exec:s0 122 /vendor/bin/qseecomd u:object_r:tee_exec:s0 123 /vendor/bin/wcnss_filter u:object_r:wcnss_filter_exec:s0 124 125 /vendor/bin/init\.qcom\.devstart\.sh u:object_r:init-qcom-devstart-sh_exec:s0 126 /vendor/bin/init\.mid\.sh u:object_r:init_mid_exec:s0 127 /vendor/bin/init\.power\.sh u:object_r:init_power_exec:s0 128 /vendor/bin/init\.radio\.sh u:object_r:init_radio_exec:s0 129 /vendor/bin/init\.foreground\.sh u:object_r:init_foreground_exec:s0 130 131 ############################################### 132 # same-process HAL files and their dependencies 133 # 134 /vendor/lib(64)?/hw/gralloc\.msm8996\.so u:object_r:same_process_hal_file:s0 135 /vendor/lib(64)?/libqdMetaData\.so u:object_r:same_process_hal_file:s0 136 /vendor/lib(64)?/libqservice\.so u:object_r:same_process_hal_file:s0 137 /vendor/lib(64)?/libqdutils\.so u:object_r:same_process_hal_file:s0 138 /vendor/lib(64)?/libadreno_utils\.so u:object_r:same_process_hal_file:s0 139 /vendor/lib(64)?/libgsl\.so u:object_r:same_process_hal_file:s0 140 141 /vendor/lib(64)?/hw/vulkan\.msm8996\.so u:object_r:same_process_hal_file:s0 142 /vendor/lib(64)?/libEGL_adreno\.so u:object_r:same_process_hal_file:s0 143 /vendor/lib(64)?/libGLESv1_CM_adreno\.so u:object_r:same_process_hal_file:s0 144 /vendor/lib(64)?/libGLESv2_adreno\.so u:object_r:same_process_hal_file:s0 145 146 # RenderScript dependencies. 147 # To test: run cts -m CtsRenderscriptTestCases 148 /vendor/lib(64)?/libRSDriver_adreno\.so u:object_r:same_process_hal_file:s0 149 /vendor/lib(64)?/libbccQTI\.so u:object_r:same_process_hal_file:s0 150 /vendor/lib(64)?/libllvm-qcom\.so u:object_r:same_process_hal_file:s0 151 /vendor/lib(64)?/librs_adreno\.so u:object_r:same_process_hal_file:s0 152 /vendor/lib(64)?/librs_adreno_sha1\.so u:object_r:same_process_hal_file:s0 153 154 /vendor/lib(64)?/libCB\.so u:object_r:same_process_hal_file:s0 155 /vendor/lib(64)?/libllvm-qgl\.so u:object_r:same_process_hal_file:s0 156 /vendor/lib(64)?/libqti-perfd-client\.so u:object_r:same_process_hal_file:s0 157 158 # libGLESv2_adreno depends on this 159 /vendor/lib(64)?/libllvm-glnext\.so u:object_r:same_process_hal_file:s0 160 161 # Loaded by native loader (zygote) for all processes 162 /vendor/lib(64)?/libhalide_hexagon_host\.so u:object_r:same_process_hal_file:s0 163 /vendor/lib(64)?/libadsprpc\.so u:object_r:same_process_hal_file:s0 164 165 # Misc files on /vendor 166 167 /vendor/usr/idc(/.*)? u:object_r:idc_file:s0 168 /vendor/usr/keylayout(/.*)? u:object_r:keylayout_file:s0 169 170 # /sys 171 /sys/devices/virtual/nanohub/nanohub(/.*)? u:object_r:sysfs_nanoapp_cmd:s0 172 /sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0 173 /sys/devices/bt_qca[0-9]+/extldo u:object_r:sysfs_bluetooth_writable:s0 174 /sys/devices/bt_qca[0-9]+/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 175 /sys/devices/soc/leds-qpnp-24/leds(/.*)? u:object_r:sysfs_leds:s0 176 /sys/devices/soc/900000\.qcom,mdss_mdp/900000\.qcom,mdss_mdp:qcom,mdss_fb_primary/leds(/.*)? u:object_r:sysfs_leds:s0 177 /sys/devices/soc/900000\.qcom,mdss_mdp/caps u:object_r:sysfs_mdss_mdp_caps:s0 178 /sys/module/msm_core(/.*)? u:object_r:sysfs_msm_core:s0 179 /sys/devices/soc/70000\.qcom,msm-core(/.*)? u:object_r:sysfs_msm_core:s0 180 /sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0 181 /sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0 182 /sys/module/msm_performance(/.*)? u:object_r:sysfs_perf:s0 183 /sys/devices/virtual/net(/.*)? u:object_r:sysfs_net:s0 184 /sys/module/subsystem_restart(/.*)? u:object_r:sysfs_msm_subsys_restart:s0 185 /sys/bus/msm_subsys(/.*)? u:object_r:sysfs_msm_subsys:s0 186 /sys/devices/soc/ce0000\.qcom,venus(/.*)? u:object_r:sysfs_msm_subsys:s0 187 /sys/devices/soc/b00000\.qcom,kgsl-3d0(/.*)? u:object_r:sysfs_msm_subsys:s0 188 /sys/devices/soc/soc:qcom,cpubw(/.*)? u:object_r:sysfs_msm_subsys:s0 189 /sys/devices/soc/soc:qcom,kgsl-hyp(/.*)? u:object_r:sysfs_msm_subsys:s0 190 /sys/devices/soc/soc:qcom,cnss(/.*)? u:object_r:sysfs_msm_subsys:s0 191 /sys/devices/soc/9300000\.qcom,lpass(/.*)? u:object_r:sysfs_msm_subsys:s0 192 /sys/devices/soc/1c00000\.qcom,ssc(/.*)? u:object_r:sysfs_msm_subsys:s0 193 /sys/devices/soc/2080000\.qcom,mss(/.*)? u:object_r:sysfs_msm_subsys:s0 194 /sys/kernel/boot_adsp/boot u:object_r:sysfs_msm_subsys:s0 195 /sys/kernel/boot_slpi/boot u:object_r:sysfs_msm_subsys:s0 196 /sys/devices/soc/600000\.qcom,pcie(/.*)? u:object_r:sysfs_pcie:s0 197 /sys/devices/soc/8c0000\.qcom,msm-cam(/.*)? u:object_r:sysfs_camera:s0 198 /sys/devices/soc/aa4000\.qcom,fd(/.*)? u:object_r:sysfs_video:s0 199 /sys/devices/soc/soc:fp_fpc1020(/.*)? u:object_r:sysfs_fingerprint:s0 200 /sys/devices/soc0(/.*)? u:object_r:sysfs_soc:s0 201 /sys/devices/virtual/htc_laser(/.*)? u:object_r:sysfs_camera:s0 202 /sys/devices/virtual/htc_laser/laser/enable_ps_sensor u:object_r:sysfs_enable_ps_sensor:s0 203 /sys/devices/soc/600000\.qcom,pcie/pci0000:00/0000:00:00\.0/0000:01:00\.0/net/wlan0(/.*)? u:object_r:sysfs_wifi:s0 204 /sys/devices/soc/0\.qcom,rmtfs_sharedmem(/.*)? u:object_r:sysfs_rmtfs:s0 205 /sys/devices/soc/84000000\.qcom,rmtfs_rtel_sharedmem(/.*)? u:object_r:sysfs_rmtfs:s0 206 /sys/module/lpm_levels/parameters(/.*)? u:object_r:sysfs_power_management:s0 207 /sys/devices/soc/qpnp-fg-[0-9a-f]+/power_supply/bms/capacity u:object_r:sysfs_batteryinfo:s0 208 /sys/devices/soc/qpnp-smbcharger-[0-9a-f]+/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0 209 /sys/devices/virtual/timed_output/vibrator/voltage_level u:object_r:sysfs_vibrator:s0 210 /sys/module/diagchar/parameters/timestamp_switch u:object_r:sysfs_timestamp_switch:s0 211 212 # debugfs 213 /sys/kernel/debug/msm_core(/.*)? u:object_r:debugfs_msm_core:s0 214 /sys/kernel/debug/rmt_storage(/.*)? u:object_r:debugfs_rmt_storage:s0 215 /sys/kernel/debug/sps(/.*)? u:object_r:debugfs_sps:s0 216 /sys/kernel/debug/rpm_stats u:object_r:debugfs_rpm:s0 217 /sys/kernel/debug/rpm_master_stats u:object_r:debugfs_rpm:s0 218 /sys/kernel/debug/ipc_logging(/.*)? u:object_r:debugfs_ipc:s0 219 /sys/kernel/debug/dma_buf/bufinfo u:object_r:debugfs_bufinfo:s0 220 /sys/kernel/debug/mdp/xlog/dump u:object_r:debugfs_mdp:s0 221 /sys/kernel/debug/tzdbg/qsee_log u:object_r:debugfs_qsee_log:s0 222 /sys/kernel/debug/ion(/.*)? u:object_r:debugfs_ion:s0 223 /sys/kernel/debug/tcpm/9-0022 u:object_r:debugfs_usb:s0 224 /sys/kernel/debug/ipc_logging/fusb302/log u:object_r:debugfs_usb:s0 225 226 # /data 227 /data/smlog_dump(/.*)? u:object_r:smlog_dump_file:s0 228 /data/nfc(/.*)? u:object_r:nfc_data_file:s0 229 /data/time(/.*)? u:object_r:time_data_file:s0 230 /data/ramdump(/.*)? u:object_r:ramdump_data_file:s0 231 /data/misc/location(/.*)? u:object_r:location_data_file:s0 232 /data/misc/display(/.*)? u:object_r:display_data_file:s0 233 234 /data/misc/perfd(/.*)? u:object_r:perfd_data_file:s0 235 /data/system/perfd(/.*)? u:object_r:perfd_data_file:s0 236 /data/misc/radio(/.*)? u:object_r:radio_data_file:s0 237 /data/misc/netmgr(/.*)? u:object_r:netmgr_data_file:s0 238 /data/vendor/nfc(/.*)? u:object_r:nfc_vendor_data_file:s0 239 /data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0 240 /data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0 241 /data/vendor/wifi(/.*)? u:object_r:cnss_vendor_data_file:s0 242 /data/vendor/ramdump(/.*)? u:object_r:ramdump_vendor_data_file:s0 243 /data/vendor/camera(/.*)? u:object_r:camera_vendor_data_file:s0 244 245 # / 246 247 /bt_firmware(/.*)? u:object_r:bt_firmware_file:s0 248 /tombstones u:object_r:rootfs:s0 249 /dsp u:object_r:rootfs:s0 250 251 # /persist 252 /persist(/.*)? u:object_r:persist_file:s0 253 /persist/data(/.*)? u:object_r:persist_data_file:s0 254 /persist/display(/.*)? u:object_r:persist_display_file:s0 255 /persist/sensorcal\.json u:object_r:sensors_cal_file:s0 256 257 # hidraw dynamic sensor 258 /dev/hidraw[0-9]+ u:object_r:sensors_device:s0 259