| # Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. |
| # |
| # Redistribution and use in source and binary forms, with or without |
| # modification, are permitted provided that the following conditions are |
| # met: |
| # * Redistributions of source code must retain the above copyright |
| # notice, this list of conditions and the following disclaimer. |
| # * Redistributions in binary form must reproduce the above |
| # copyright notice, this list of conditions and the following |
| # disclaimer in the documentation and/or other materials provided |
| # with the distribution. |
| # * Neither the name of The Linux Foundation nor the names of its |
| # contributors may be used to endorse or promote products derived |
| # from this software without specific prior written permission. |
| # |
| # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| |
| ################################### |
| # Dev nodes |
| # |
| /dev/adsprpc-smd u:object_r:qdsp_device:s0 |
| /dev/adsprpc-smd-secure u:object_r:xdsp_device:s0 |
| /dev/cpu_dma_latency u:object_r:device_latency:s0 |
| /dev/diag u:object_r:diag_device:s0 |
| /dev/hsicctl.* u:object_r:hsic_device:s0 |
| /dev/kgsl-3d0 u:object_r:gpu_device:s0 |
| /dev/mhi_.* u:object_r:mhi_device:s0 |
| /dev/bhi u:object_r:bhi_device:s0 |
| /dev/msm_.* u:object_r:audio_device:s0 |
| /dev/msm_aac_in u:object_r:msm_aac_in_device:s0 |
| /dev/wcd_dsp0_control u:object_r:audio_device:s0 |
| /dev/wcd-dsp-glink u:object_r:audio_device:s0 |
| /dev/msm_dsps u:object_r:sensors_device:s0 |
| /dev/msm_thermal_query u:object_r:thermal_device:s0 |
| /dev/nfc-nci u:object_r:nfc_device:s0 |
| /dev/nq-nci u:object_r:nfc_device:s0 |
| /dev/qseecom u:object_r:tee_device:s0 |
| /dev/spcom u:object_r:spcom_device:s0 |
| /dev/sp_kernel u:object_r:skp_device:s0 |
| /dev/sp_ssr u:object_r:sp_ssr_device:s0 |
| /dev/sec_nvm_.* u:object_r:sec_nvm_device:s0 |
| /dev/sp_keymaster u:object_r:sp_keymaster_device:s0 |
| /dev/cryptoapp u:object_r:cryptoapp_device:s0 |
| /dev/spdaemon_ssr u:object_r:spdaemon_ssr_device:s0 |
| /dev/qsee_ipc_irq_spss u:object_r:qsee_ipc_irq_spss_device:s0 |
| /dev/radio0 u:object_r:fm_radio_device:s0 |
| /dev/btpower u:object_r:vendor_bt_device:s0 |
| /dev/rtc0 u:object_r:rtc_device:s0 |
| /dev/sdsprpc-smd u:object_r:dsp_device:s0 |
| /dev/sensors u:object_r:sensors_device:s0 |
| /dev/smd.* u:object_r:smd_device:s0 |
| /dev/smem_log u:object_r:smem_log_device:s0 |
| /dev/ttyHSL0 u:object_r:console_device:s0 |
| /dev/ttyMSM0 u:object_r:console_device:s0 |
| /dev/ttyHS[0-9]* u:object_r:serial_device:s0 |
| /dev/ttyGS0 u:object_r:gadget_serial_device:s0 |
| /dev/usb_ext_chg u:object_r:hvdcp_device:s0 |
| /dev/media([0-9])+ u:object_r:video_device:s0 |
| /dev/jpeg[0-9]* u:object_r:video_device:s0 |
| /dev/v4l-subdev.* u:object_r:video_device:s0 |
| /dev/vm_bms u:object_r:vm_bms_device:s0 |
| /dev/battery_data u:object_r:battery_data_device:s0 |
| /dev/block/mmcblk1 u:object_r:sd_device:s0 |
| /dev/block/mmcblk1p1 u:object_r:sd_device:s0 |
| /dev/subsys_.* u:object_r:ssr_device:s0 |
| /dev/ramdump_.* u:object_r:ramdump_device:s0 |
| /dev/ramdump_microdump_modem u:object_r:vendor_ramdump_microdump_modem_device:s0 |
| /dev/esoc.* u:object_r:esoc_device:s0 |
| /dev/ks_hsic_bridge u:object_r:ksbridgehsic_device:s0 |
| /dev/efs_hsic_bridge u:object_r:efsbridgehsic_device:s0 |
| /dev/ipa u:object_r:ipa_dev:s0 |
| /dev/wwan_ioctl u:object_r:ipa_dev:s0 |
| /dev/ipaNatTable u:object_r:ipa_dev:s0 |
| /dev/rmnet_ctrl.* u:object_r:rmnet_device:s0 |
| /dev/dpl_ctrl u:object_r:rmnet_device:s0 |
| /dev/wcnss_ctrl u:object_r:wcnss_device:s0 |
| /dev/wcnss_wlan u:object_r:wcnss_device:s0 |
| /dev/pta u:object_r:pta_device:s0 |
| /dev/mdss_rotator u:object_r:graphics_device:s0 |
| /dev/hbtp_input u:object_r:hbtp_device:s0 |
| /dev/hbtp_vm u:object_r:hbtp_device:s0 |
| /dev/jdi-bu21150 u:object_r:bu21150_device:s0 |
| /dev/avtimer u:object_r:avtimer_device:s0 |
| /dev/coresight-stm u:object_r:qdss_device:s0 |
| /dev/coresight-tmc-etf u:object_r:qdss_device:s0 |
| /dev/coresight-tmc-etr u:object_r:qdss_device:s0 |
| /dev/coresight-tmc-etr-stream u:object_r:qdss_device:s0 |
| /dev/system_health_monitor u:object_r:system_health_monitor_device:s0 |
| /dev/qce u:object_r:qce_device:s0 |
| /dev/msm-rng u:object_r:rng_device:s0 |
| /dev/qbt.* u:object_r:qbt_device:s0 |
| /dev/at_.* u:object_r:at_device:s0 |
| /dev/sg.* u:object_r:sg_device:s0 |
| /dev/dri/card0 u:object_r:graphics_device:s0 |
| /dev/dri/controlD64 u:object_r:graphics_device:s0 |
| /dev/dri/renderD128 u:object_r:graphics_device:s0 |
| /dev/wlan u:object_r:wlan_device:s0 |
| /dev/bg_com_dev u:object_r:bg_daemon_device:s0 |
| /dev/msm_npu u:object_r:npu_device:s0 |
| /dev/qg u:object_r:qg_device:s0 |
| /dev/qg_battery u:object_r:qg_device:s0 |
| /dev/ipa_odl_ctl u:object_r:ipa_dev:s0 |
| /dev/ipa_adpl u:object_r:ipa_dev:s0 |
| |
| ################################### |
| # Dev block nodes |
| # |
| /dev/block/zram0 u:object_r:swap_block_device:s0 |
| /data/vendor/swap(/.*)? u:object_r:swap_data_file:s0 |
| |
| ################################### |
| # Dev socket nodes |
| # |
| /dev/socket/chre u:object_r:chre_socket:s0 |
| /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 |
| /dev/socket/qmux_nfc(/.*)? u:object_r:qmuxd_socket:s0 |
| /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0 |
| /dev/socket/port-bridge(/.*)? u:object_r:port-bridge_socket:s0 |
| /dev/socket/qti_dpm_uds_file u:object_r:dataqti_socket:s0 |
| /dev/socket/adpl_cmd_uds_file u:object_r:dataadpl_socket:s0 |
| /dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0 |
| /dev/socket/cnd u:object_r:cnd_socket:s0 |
| /dev/socket/nims u:object_r:cnd_socket:s0 |
| /dev/socket/thermal-send-client u:object_r:thermal_socket:s0 |
| /dev/socket/thermal-recv-client u:object_r:thermal_socket:s0 |
| /dev/socket/thermal-recv-passive-client u:object_r:thermal_socket:s0 |
| /dev/socket/thermal-send-rule u:object_r:thermal_socket:s0 |
| /dev/socket/ims_qmid u:object_r:ims_socket:s0 |
| /dev/socket/ims_datad u:object_r:ims_socket:s0 |
| /dev/socket/iop u:object_r:iop_socket:s0 |
| /dev/socket/qlogd u:object_r:qlogd_socket:s0 |
| /dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0 |
| /dev/socket/pps u:object_r:pps_socket:s0 |
| /dev/socket/qdcmsocket u:object_r:qdcmsocket_socket:s0 |
| /dev/socket/rild2 u:object_r:rild_socket:s0 |
| /dev/socket/rild2-debug u:object_r:rild_debug_socket:s0 |
| /dev/socket/rild-debug2 u:object_r:rild_debug_socket:s0 |
| /dev/socket/rild3 u:object_r:rild_socket:s0 |
| /dev/socket/rild3-debug u:object_r:rild_debug_socket:s0 |
| /dev/socket/rild-debug3 u:object_r:rild_debug_socket:s0 |
| /dev/socket/msm_irqbalance u:object_r:vendor_msm_irqbalance_socket:s0 |
| /dev/socket/mlid u:object_r:mlid_socket:s0 |
| /dev/socket/ssgqmig u:object_r:ssgqmig_socket:s0 |
| /dev/socket/ssgtzd u:object_r:ssgtzd_socket:s0 |
| /dev/socket/wififtmd_server u:object_r:wififtmd_socket:s0 |
| /dev/socket/wigig/wpa_wigig[0-9] u:object_r:wifi_vendor_wpa_socket:s0 |
| /dev/socket/vendor_wpa_wlan[0-9] u:object_r:wifi_vendor_wpa_socket:s0 |
| /dev/socket/mmi u:object_r:vendor_mmi_socket:s0 |
| /dev/socket/location(/.*)? u:object_r:location_socket:s0 |
| /dev/socket/wifihal(/.*)? u:object_r:wifihal_socket:s0 |
| /dev/socket/wigig/wigignpt u:object_r:wigignpt_socket:s0 |
| |
| ################################### |
| # vendor bins files |
| # there are still some bin which are build in system/vendor/bin |
| # we will do this cleanup later. |
| |
| /(vendor|system/vendor)/bin/ATFWD-daemon u:object_r:atfwd_exec:s0 |
| /(vendor|system/vendor)/bin/diag-router u:object_r:diag-router_exec:s0 |
| /(vendor|system/vendor)/bin/PktRspTest u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/audiod u:object_r:audiod_exec:s0 |
| /(vendor|system/vendor)/bin/nqnfcinfo u:object_r:nqnfcinfo_exec:s0 |
| /(vendor|system/vendor)/bin/charger_monitor u:object_r:charger_monitor_exec:s0 |
| /(vendor|system/vendor)/bin/hvdcp_opti u:object_r:hvdcp_exec:s0 |
| /(vendor|system/vendor)/bin/cnd u:object_r:cnd_exec:s0 |
| /(vendor|system/vendor)/bin/wifidisplayhalservice u:object_r:wifidisplayhalservice_qti_exec:s0 |
| /(vendor|system/vendor)/bin/diag_callback_client u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_dci_sample u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_klog u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_mdlog u:object_r:qlogd_exec:s0 |
| /(vendor|system/vendor)/bin/drmdiagapp u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_qshrink4_daemon u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_socket_log u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_uart_log u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/diag_buffering_test u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/irsc_util u:object_r:irsc_util_exec:s0 |
| /(vendor|system/vendor)/bin/qrtr-cfg u:object_r:qrtr_exec:s0 |
| /(vendor|system/vendor)/bin/qrtr-ns u:object_r:qrtr_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.class_core\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.bt\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.early_boot\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.class_main\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.post_boot\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qti\.dcvs\.sh u:object_r:vendor_init-qti-dcvs-sh_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.sensors\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.usb\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.mdm\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.mdm\.crashdata\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.syspart_fixup\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/hcidump.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/hsic\.control\.bt\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.ath3k\.bt\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.crda\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.coex\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.debug-sdm660\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.debug\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.efs\.sync\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qti\.fm\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.sdio\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qcom\.wifi\.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/init\.qti\.ims\.sh u:object_r:init-qti-ims-sh_exec:s0 |
| /(vendor|system/vendor)/bin/qca6234-service.sh u:object_r:qti_init_shell_exec:s0 |
| /(vendor|system/vendor)/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0 |
| /(vendor|system/vendor)/bin/mm-pp-dpps u:object_r:mm-pp-daemon_exec:s0 |
| /(vendor|system/vendor)/bin/mm-audio-ftm u:object_r:vendor_audioftm_exec:s0 |
| /(vendor|system/vendor)/bin/mmi u:object_r:vendor_mmi_exec:s0 |
| /(vendor|system/vendor)/bin/mmid u:object_r:vendor_mmi_exec:s0 |
| /(vendor|system/vendor)/bin/qdcmss u:object_r:qdcm-ss_exec:s0 |
| /(vendor|system/vendor)/bin/msm_irqbalance u:object_r:vendor_msm_irqbalanced_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.power-service u:object_r:hal_power_default_exec:s0 |
| /(vendor|system/vendor)/bin/imsdatadaemon u:object_r:ims_exec:s0 |
| /(vendor|system/vendor)/bin/imsqmidaemon u:object_r:ims_exec:s0 |
| /(vendor|system/vendor)/bin/ims_rtp_daemon u:object_r:hal_imsrtp_exec:s0 |
| /(vendor|system/vendor)/bin/netmgrd u:object_r:netmgrd_exec:s0 |
| /(vendor|system/vendor)/bin/qmuxd u:object_r:qmuxd_exec:s0 |
| /(vendor|system/vendor)/bin/port-bridge u:object_r:port-bridge_exec:s0 |
| /(vendor|system/vendor)/bin/sensors.qcom u:object_r:sensors_exec:s0 |
| /(vendor|system/vendor)/bin/sensors.qti u:object_r:sensors_exec:s0 |
| /(vendor|system/vendor)/bin/test_diag u:object_r:diag_exec:s0 |
| /(vendor|system/vendor)/bin/thermal-engine u:object_r:thermal-engine_exec:s0 |
| /(vendor|system/vendor)/bin/vm_bms u:object_r:vm_bms_exec:s0 |
| /(vendor|system/vendor)/bin/mm-qcamera-daemon u:object_r:mm-qcamerad_exec:s0 |
| /(vendor|system/vendor)/bin/qfp-daemon u:object_r:qfp-daemon_exec:s0 |
| /(vendor|system/vendor)/bin/qvop-daemon u:object_r:qvop-daemon_exec:s0 |
| /(vendor|system/vendor)/bin/time_daemon u:object_r:time_daemon_exec:s0 |
| /(vendor|system/vendor)/bin/rmt_storage u:object_r:rmt_storage_exec:s0 |
| /(vendor|system/vendor)/bin/rfs_access u:object_r:rfs_access_exec:s0 |
| /(vendor|system/vendor)/bin/tftp_server u:object_r:rfs_access_exec:s0 |
| /(vendor|system/vendor)/bin/hvdcp u:object_r:hvdcp_exec:s0 |
| /(vendor|system/vendor)/bin/qseecomd u:object_r:tee_exec:s0 |
| /(vendor|system/vendor)/bin/spdaemon u:object_r:spdaemon_exec:s0 |
| /(vendor|system/vendor)/bin/sec_nvm u:object_r:sec_nvm_exec:s0 |
| /(vendor|system/vendor)/bin/cnss-daemon u:object_r:wcnss_service_exec:s0 |
| /(vendor|system/vendor)/bin/hostapd_cli u:object_r:hostapd_exec:s0 |
| /(vendor|system/vendor)/bin/adsprpcd u:object_r:adsprpcd_exec:s0 |
| /(vendor|system/vendor)/bin/cdsprpcd u:object_r:cdsprpcd_exec:s0 |
| /(vendor|system/vendor)/bin/dspservice u:object_r:vendor_dspservice_exec:s0 |
| /(vendor|system/vendor)/bin/wpa_cli u:object_r:wcnss_service_exec:s0 |
| /(vendor|system/vendor)/bin/mdm_helper u:object_r:mdm_helper_exec:s0 |
| /(vendor|system/vendor)/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0 |
| /(vendor|system/vendor)/bin/ks u:object_r:mdm_helper_exec:s0 |
| /(vendor|system/vendor)/bin/pm-service u:object_r:vendor_per_mgr_exec:s0 |
| /(vendor|system/vendor)/bin/pm-proxy u:object_r:vendor_per_mgr_exec:s0 |
| /(vendor|system/vendor)/bin/pd-mapper u:object_r:vendor_pd_mapper_exec:s0 |
| /(vendor|system/vendor)/bin/pd-api-test u:object_r:vendor_pd_mapper_exec:s0 |
| /(vendor|system/vendor)/bin/qcom-system-daemon u:object_r:vendor_qcomsysd_exec:s0 |
| /(vendor|system/vendor)/bin/poweroffhandler u:object_r:poweroffhandler_exec:s0 |
| /(vendor|system/vendor)/xbin/qlogd u:object_r:qlogd_exec:s0 |
| /(vendor|system/vendor)/bin/ipacm u:object_r:ipacm_exec:s0 |
| /(vendor|system/vendor)/bin/ipacm-diag u:object_r:ipacm-diag_exec:s0 |
| /(vendor|system/vendor)/bin/dpmQmiMgr u:object_r:hal_dpmQmiMgr_exec:s0 |
| /(vendor|system/vendor)/bin/ssr_setup u:object_r:vendor_ssr_setup_exec:s0 |
| /(vendor|system/vendor)/bin/subsystem_ramdump u:object_r:vendor_subsystem_ramdump_exec:s0 |
| /(vendor|system/vendor)/bin/ssr_diag u:object_r:vendor_ssr_diag_exec:s0 |
| /(vendor|system/vendor)/bin/hw/qcrild u:object_r:rild_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.[1-4]-service.clearkey u:object_r:hal_drm_clearkey_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.[2-4]-service-lazy.clearkey u:object_r:hal_drm_clearkey_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.[1-4]-service.widevine u:object_r:hal_drm_widevine_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.[2-4]-service-lazy.widevine u:object_r:hal_drm_widevine_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.gnss@.*-service-qti u:object_r:hal_gnss_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.gnss@.*-service u:object_r:hal_gnss_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti u:object_r:hal_bluetooth_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti-lazy u:object_r:hal_bluetooth_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.health-service\.qti u:object_r:hal_health_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@2\.0-service.qti u:object_r:hal_thermal_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.display\.color@1\.0-service u:object_r:hal_display_color_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.perf@1\.0-service u:object_r:hal_perf_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.perf@2\.[0-2]-service u:object_r:hal_perf_default_exec:s0 |
| /(vendor|system/vendor)/bin/ssgqmigd u:object_r:ssgqmigd_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.iop@1\.0-service u:object_r:hal_iop_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.iop@2\.0-service u:object_r:hal_iop_default_exec:s0 |
| /(vendor|system/vendor)/bin/mlid u:object_r:mlid_exec:s0 |
| /(vendor|system/vendor)/bin/ssgtzd u:object_r:ssgtzd_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.esepowermanager@1\.0-service u:object_r:hal_esepowermanager_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.esepowermanager@1\.1-service u:object_r:hal_esepowermanager_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.secure_element@1\.0-service u:object_r:hal_secure_element_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.secure_element@1\.2-service u:object_r:hal_secure_element_default_exec:s0 |
| /(vendor|system/vendor)/bin/loc_launcher u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/lowi-server u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/xtwifi-inet-agent u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/xtwifi-client u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/garden_app u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/DR_AP_Service u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/slim_daemon u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/xtra-daemon u:object_r:location_exec:s0 |
| /(vendor|system/vendor)/bin/energy-awareness u:object_r:energyawareness_exec:s0 |
| /(vendor|system/vendor)/bin/fidodaemon u:object_r:fidodaemon_exec:s0 |
| /(vendor|system/vendor)/bin/esepmdaemon u:object_r:esepmdaemon_exec:s0 |
| /(vendor|system/vendor)/bin/secotad u:object_r:secotad_exec:s0 |
| /(vendor|system/vendor)/bin/qseeproxydaemon u:object_r:qseeproxy_exec:s0 |
| /(vendor|system/vendor)/bin/dts_configurator u:object_r:dtsconfigurator_exec:s0 |
| /(vendor|system/vendor)/bin/dts_eagle_service u:object_r:dtseagleservice_exec:s0 |
| /(vendor|system/vendor)/bin/qti u:object_r:qti_exec:s0 |
| /(vendor|system/vendor)/bin/adpl u:object_r:adpl_exec:s0 |
| /(vendor|system/vendor)/bin/wcnss_service u:object_r:wcnss_service_exec:s0 |
| /(vendor|system/vendor)/bin/hbtp_daemon u:object_r:hbtp_exec:s0 |
| /(vendor|system/vendor)/bin/touch_fusion u:object_r:touchfusion_exec:s0 |
| /(vendor|system/vendor)/bin/seemp_healthd u:object_r:seemp_health_daemon_exec:s0 |
| /(vendor|system/vendor)/bin/btnvtool u:object_r:btnvtool_exec:s0 |
| /(vendor|system/vendor)/bin/btsnoop u:object_r:btsnoop_exec:s0 |
| /(vendor|system/vendor)/bin/LKCore u:object_r:qti_logkit_exec:s0 |
| /(vendor|system/vendor)/bin/tbaseLoader u:object_r:tbaseLoader_exec:s0 |
| /(vendor|system/vendor)/bin/mcStarter u:object_r:mcStarter_exec:s0 |
| /(vendor|system/vendor)/bin/fstman u:object_r:fstman_exec:s0 |
| /(vendor|system/vendor)/bin/wigighalsvc u:object_r:wigighalsvc_exec:s0 |
| /(vendor|system/vendor)/bin/wigignpt u:object_r:wigignpt_exec:s0 |
| /(vendor|system/vendor)/bin/wifi_ftmd u:object_r:wifi_ftmd_exec:s0 |
| /(vendor|system/vendor)/bin/fingerprint.qcom u:object_r:fps_hal_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service-qti u:object_r:hal_keymaster_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service-qti u:object_r:hal_keymaster_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.1-service-qti u:object_r:hal_keymaster_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-strongbox-service-qti u:object_r:hal_keymaster_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.cryptfshw@1\.0-service-qti u:object_r:hal_keymaster_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.gatekeeper@1\.0-service-qti u:object_r:hal_gatekeeper_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.nxp\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.nxp\.hardware\.nfc@2\.0-service u:object_r:hal_nfc_default_exec:s0 |
| /(vendor|system/vendor)/bin/qcc-trd u:object_r:vendor_qcc_trd_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.alarm@1\.0-service u:object_r:hal_alarm_qti_default_exec:s0 |
| /(vendor|system/vendor)/bin/imsrcsd u:object_r:hal_rcsservice_exec:s0 |
| /(vendor|system/vendor)/bin/vppservice u:object_r:vendor_vppservice_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.qteeconnector@1\.0-service u:object_r:hal_qteeconnector_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.qseecom@1\.0-service u:object_r:hal_qseecom_default_exec:s0 |
| /(vendor|system/vendor)/bin/fm_qsoc_patches u:object_r:fm_qsoc_patches_exec:s0 |
| /(vendor|system/vendor)/bin/chre u:object_r:chre_exec:s0 |
| /(vendor|system/vendor)/bin/tloc_daemon u:object_r:tlocd_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.factory@1\.0-service u:object_r:vendor_hal_factory_qti_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.servicetracker@1\.[0-2]-service u:object_r:vendor_hal_srvctracker_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.display\.allocator@1\.0-service u:object_r:hal_graphics_allocator_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.display\.allocator-service u:object_r:hal_graphics_allocator_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.display\.composer@1\.0-service u:object_r:hal_graphics_composer_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.display\.composer-service u:object_r:hal_graphics_composer_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.tui_comm@1\.0-service-qti u:object_r:hal_tui_comm_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.soter@1\.0-service u:object_r:hal_soter_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.qdutils_disp@1\.0-service-qti u:object_r:hal_qdutils_disp_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.sensorscalibrate@1\.0-service u:object_r:hal_sensorscalibrate_qti_default_exec:s0 |
| /(vendor|system/vendor)/bin/power_off_alarm u:object_r:power_off_alarm_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.vibrator@1\.[0-2]-service u:object_r:hal_vibrator_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.vibrator\.service u:object_r:hal_vibrator_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.usb\@1\.[0-3]-service-qti u:object_r:hal_usb_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.usb\.gadget\@1\.[0-2]-service-qti u:object_r:hal_usb_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.scve\.panorama@1\.0-service u:object_r:vendor_scve_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.scve\.objecttracker@1\.0-service u:object_r:vendor_scve_exec:s0 |
| /(vendor|system/vendor)/bin/hdcp_srm u:object_r:hdcp_srm_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.power\.pasrmanager\@1\.0-service u:object_r:hal_pasrmanager_qti_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.capabilityconfigstore@1\.0-service u:object_r:hal_capabilityconfigstore_qti_default_exec:s0 |
| /(vendor|system/vendor)/bin/hw/vendor\.qti\.hardware\.qccvndhal@1\.0-service u:object_r:vendor_hal_qccvndhal_qti_exec:s0 |
| |
| ################################### |
| # sysfs files |
| # |
| /sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0 |
| /sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| /sys/class/sensors(/.*)? u:object_r:sysfs_sensors:s0 |
| /sys/class/uio(/.*)? u:object_r:sysfs_uio:s0 |
| /sys/class/devfreq(/.*)? u:object_r:sysfs_devfreq:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,rmtfs_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,rmtfs_sharedmem/uio/uio[0-9]+/maps/map[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0 |
| /sys/devices/[^/]+bcl[^/]+(/.*)? u:object_r:sysfs_thermal:s0 |
| /sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| /sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| /sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| /sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0 |
| /sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0 |
| /sys/class/qcom-battery(/.*)? u:object_r:sysfs_battery_supply:s0 |
| /sys/class/charge_pump(/.*)? u:object_r:sysfs_battery_supply:s0 |
| /sys/devices/soc/[a-f0-9]+.ssusb/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| /sys/devices/soc/qpnp-vadc-[0-9]+(/.*)? u:object_r:sysfs_vadc_dev:s0 |
| /sys/bus/spmi/devices(/.*)? u:object_r:sysfs_spmi_dev:s0 |
| /sys/kernel/irq_helper/irq_blacklist_on u:object_r:vendor_sysfs_irqbalance:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/idle_time u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/dynamic_fps u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/product_description u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/vendor_name u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/hdcp/tp u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_panel_status u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/lineptr_value u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0 |
| /sys/devices/virtual/hsicctl/hsicctl[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0 |
| /sys/devices/virtual/net/bond0/bonding/queue_id u:object_r:sysfs_bond0:s0 |
| /sys/devices/virtual/net/bond0/queues/rx-0/rps_cpus u:object_r:sysfs_bond0:s0 |
| /sys/devices/virtual/smdpkt/smdcntl1[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0 |
| /sys/devices/virtual/smdpkt/smdcntl[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0 |
| /sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| /sys/devices/virtual u:object_r:sysfs_thermal:s0 |
| /sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0 |
| /sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| /sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0 |
| /sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/hpd u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/res_info u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/s3d_mode u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_panel_info u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_type u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_split u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/show_blank_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/bl_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/ad_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/ad_bl_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/hist_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/vsync_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/lineptr_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/idle_notify u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_thermal_level u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/idle_power_collapse u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/mode u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/name u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/connected u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_cmd_autorefresh_en u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/mdp/bw_mode_bitmap u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/edid_modes u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/hdcp2p2(/.*) u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/scan_info u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/edid_3d_modes u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_dfps_mode u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_src_split_info u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/hdr_stream u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/cec(/.*) u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msmfb_b10(/.*) u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/modes u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/edid_raw_data u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/packpattern u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/dyn_pu u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/ad u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/pp_bl_event u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/msm_fb_persist_mode u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/graphics/fb([0-3])+/config u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/rotator/mdss_rotator/caps u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/hdcp/msm_hdcp/min_level_change u:object_r:sysfs_graphics:s0 |
| |
| /sys/devices/platform/vfb.([0-3])+/graphics/fb([0-3])+/modes u:object_r:sysfs_graphics:s0 |
| /sys/devices/platform/vfb.([0-3])+/graphics/fb([0-3])+/mode u:object_r:sysfs_graphics:s0 |
| /sys/module/drm/parameters/vblankoffdelay u:object_r:sysfs_graphics:s0 |
| /sys/devices/platform/soc/[a-f0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/modes u:object_r:sysfs_graphics:s0 |
| /sys/devices/platform/soc/[a-f0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/status u:object_r:sysfs_graphics:s0 |
| |
| /sys/devices/virtual/workqueue/kgsl-events/cpumask u:object_r:sysfs_kgsl:s0 |
| /sys/devices/virtual/workqueue/kgsl-events/nice u:object_r:sysfs_kgsl:s0 |
| /sys/devices/virtual/workqueue/kgsl-workqueue/cpumask u:object_r:sysfs_kgsl:s0 |
| /sys/devices/virtual/workqueue/kgsl-workqueue/nice u:object_r:sysfs_kgsl:s0 |
| /sys/devices/virtual/kgsl/kgsl(/.*)? u:object_r:sysfs_kgsl:s0 |
| /sys/class/graphics/fb([0-3])+/mdp/caps u:object_r:sysfs_graphics:s0 |
| /sys/class/graphics/fb([0-3])+/ad u:object_r:sysfs_graphics:s0 |
| /sys/class/lcd_bias/secure_mode u:object_r:sysfs_graphics:s0 |
| /sys/class/leds/wled/secure_mode u:object_r:sysfs_graphics:s0 |
| /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/backlight(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices/virtual/switch/hdmi(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_mdp/[a-z0-9]+.qcom,mdss_mdp:qcom,mdss_fb_primary/leds/lcd-backlight(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_mdp/caps u:object_r:sysfs_graphics:s0 |
| /sys/devices/soc/[a-f0-9]+.qcom,mdss_mdp/bw_mode_bitmap u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_mdp/bw_mode_bitmap u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-z0-9]+\.qcom,fd/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-z0-9]+\.qcom,msm-cam/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_cam/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_rotator/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,mdss_rotator/caps u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,vidc/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,cci/[a-z0-9]+.qcom,cci:qcom,camera@[0-2]/video4linux/video[0-9]+/name(/.*)? u:object_r:sysfs_graphics:s0 |
| /sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0 |
| /sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_hsic_host_rdy:s0 |
| /sys/bus/esoc(/.*)? u:object_r:sysfs_esoc:s0 |
| /sys/bus/msm_subsys(/.*)? u:object_r:sysfs_ssr:s0 |
| /sys/bus/msm_subsys/devices/subsys0/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| /sys/bus/msm_subsys/devices/subsys1/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| /sys/bus/msm_subsys/devices/subsys2/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| /sys/bus/msm_subsys/devices/subsys3/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| /sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| /sys/devices/soc/soc:qcom,ipa_fws@[a-f0-9]+/subsys0/name u:object_r:sysfs_data:s0 |
| /sys/devices/soc/soc:hbtp/secure_touch u:object_r:hbtp_kernel_sysfs:s0 |
| /sys/devices/soc/soc:hbtp/secure_touch_enable u:object_r:hbtp_kernel_sysfs:s0 |
| /sys/devices/soc/soc:hbtp/secure_touch_userspace u:object_r:hbtp_kernel_sysfs:s0 |
| /sys/kernel/hbtp/display_pwr u:object_r:hbtp_kernel_sysfs:s0 |
| /sys/firmware/devicetree/base/cpus(/.*)? u:object_r:sysfs_devices_system_cpu:s0 |
| /sys/devices/vendor/vendor:bt_wcn3990/extldo u:object_r:sysfs_bluetooth_writable:s0 |
| /sys/devices/vendor/vendor:bt_wcn3990/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 |
| /sys/devices/bt_qca6174/extldo u:object_r:sysfs_bluetooth_writable:s0 |
| /sys/devices/bt_qca6174/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 |
| /sys/module/diagchar(/.*)? u:object_r:sysfs_diag:s0 |
| |
| /sys/devices(/platform)?/soc/soc:qcom,gpubw/devfreq/soc:qcom,gpubw(/.*)? u:object_r:sysfs_devfreq:s0 |
| /sys/devices(/platform)?/soc/soc:qcom,llccbw/devfreq/soc:qcom,llccbw(/.*)? u:object_r:sysfs_devfreq:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.ufshc/clkscale_enable u:object_r:sysfs_scsi_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+/host0/scsi_host/host0(/.*)? u:object_r:sysfs_scsi_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.ufshc/host0/target0:0:0/0:0:0:[0-9]+/scsi_generic(/.*)? u:object_r:sysfs_scsi_target:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,kgsl-3d0/kgsl/kgsl-3d0(/.*)? u:object_r:sysfs_kgsl:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,kgsl-3d0/devfreq/[a-f0-9]+.qcom,kgsl-3d0(/.*)? u:object_r:sysfs_kgsl:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,kgsl-3d0/kgsl/kgsl-3d0/snapshot(/.*)? u:object_r:sysfs_kgsl_snapshot:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_model u:object_r:sysfs_kgsl_gpu_model:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpuclk u:object_r:vendor_sysfs_kgsl_gpuclk:s0 |
| |
| /sys/devices(/platform)?/soc/[a-f0-9]+.sdhci/mmc_host/mmc0/clk_scaling(/.*)? u:object_r:sysfs_mmc_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.sdhci/mmc_host/mmc[0-9]/mmc0:[0-9]+/block/mmcblk[0-9]/bdi/read_ahead_kb u:object_r:sysfs_mmc_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.sdhci/mmc_host/mmc[0-9]/mmc0:[0-9]+/block/mmcblk[0-9]/queue/read_ahead_kb u:object_r:sysfs_mmc_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.sdhci/mmc_host/mmc[0-9]/mmc0:[0-9]+/block/mmcblk[0-9]/mmcblk0rpmb/bdi/read_ahead_kb u:object_r:sysfs_mmc_host:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+.sdhci/mmc_host/mmc[0-9]/mmc0:[0-9]+/block/mmcblk[0-9]/mmcblk0rpmb/queue/read_ahead_kb u:object_r:sysfs_mmc_host:s0 |
| /sys/devices/virtual/bdi/[0-9]+:[0-9]+/read_ahead_kb u:object_r:sysfs_mmc_host:s0 |
| |
| /sys/module/cpu_boost(/.*)? u:object_r:sysfs_cpu_boost:s0 |
| /sys/module/msm_performance(/.*)? u:object_r:sysfs_msm_perf:s0 |
| /sys/kernel/mm/ksm(/.*)? u:object_r:sysfs_memory:s0 |
| /sys/devices/virtual/input/input[0-9]+/do_flush u:object_r:sysfs_laser:s0 |
| /sys/devices/virtual/input/input[0-9]+/enable_ps_sensor u:object_r:sysfs_laser:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+\.qcom,pcie/pci[0-9:]+/[0-9:\.]+/[0-9:\.]+/wil6210/fst_link_loss u:object_r:sysfs_wigig:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+\.qcom,pcie/pci[0-9:]+/[0-9:\.]+/[0-9:\.]+/wil6210/thermal_throttling u:object_r:sysfs_wigig:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+\.qcom,pcie/pci[0-9:]+/[0-9:\.]+/[0-9:\.]+/wil6210/snr_thresh u:object_r:sysfs_wigig:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+\.qcom,pcie/pci[0-9:]+/[0-9:\.]+/[0-9:\.]+/net/wigig0/queues/rx-0/rps_cpus u:object_r:sysfs_wigig:s0 |
| /sys/devices(/platform)?/soc/[a-f0-9]+\.qcom,pcie/pci[0-9:]+/[0-9:\.]+/[0-9:\.]+/net/wigig0/gro_flush_timeout u:object_r:sysfs_wigig:s0 |
| /sys/module/msm_core(/.*)? u:object_r:sysfs_ea:s0 |
| /sys/module/lpm_stats(/.*)? u:object_r:sysfs_msm_stats:s0 |
| /sys/module/lpm_levels(/.*)? u:object_r:sysfs_msm_power:s0 |
| /sys/module/radio_iris_transport/parameters/fmsmd_set u:object_r:sysfs_fm:s0 |
| /sys/module/app_setting/parameters/lib_name u:object_r:sysfs_lib:s0 |
| /sys/kernel/boot_adsp/boot u:object_r:sysfs_boot_adsp:s0 |
| /sys/kernel/boot_slpi(/.*)? u:object_r:sysfs_slpi:s0 |
| /sys/module/process_reclaim(/.*)? u:object_r:sysfs_process_reclaim:s0 |
| /sys/module/vmpressure(/.*)? u:object_r:sysfs_vmpressure:s0 |
| /sys/board_properties/virtualkeys.synaptics_dsx u:object_r:sysfs_virtualkeys:s0 |
| /sys/board_properties/virtualkeys.ft5x06_ts u:object_r:sysfs_virtualkeys:s0 |
| |
| ################################### |
| # data files-- only vendor paths should be added |
| # |
| /data/vendor/nfc(/.*)? u:object_r:nfc_vendor_data_file:s0 |
| /data/vendor/audio(/.*)? u:object_r:vendor_audio_data_file:s0 |
| /data/vendor/connectivity(/.*)? u:object_r:cnd_data_file:s0 |
| /data/vendor/misc/qti_fp(/.*)? u:object_r:qfp-daemon_data_file:s0 |
| /data/vendor/time(/.*)? u:object_r:vendor_time_data_file:s0 |
| /data/vendor/perfd(/.*)? u:object_r:mpctl_data_file:s0 |
| /data/vendor/iop(/.*)? u:object_r:iop_data_file:s0 |
| /data/vendor/lm(/.*)? u:object_r:lm_data_file:s0 |
| /data/vendor/display(/.*)? u:object_r:display_vendor_data_file:s0 |
| /data/vendor/ipa(/.*)? u:object_r:ipa_vendor_data_file:s0 |
| /data/vendor/qtee(/.*)? u:object_r:data_qtee_file:s0 |
| /data/vendor/location(/.*)? u:object_r:location_data_file:s0 |
| /data/vendor/location/mq/location-mq-s u:object_r:location_socket:s0 |
| /data/vendor/location/mq/alarm_svc u:object_r:location_socket:s0 |
| /data/vendor/hbtp(/.*)? u:object_r:hbtp_log_file:s0 |
| /data/vendor/qti-logkit(/.*)? u:object_r:qti_logkit_priv_data_file:s0 |
| /data/vendor/qti-logkit/shared-public(/.*)? u:object_r:qti_logkit_pub_data_file:s0 |
| /data/vendor/qti-logkit/logdata(/.*)? u:object_r:qti_logkit_pub_data_file:s0 |
| /data/vendor/qti-logkit/socket-privileged(/.*)? u:object_r:qti_logkit_priv_socket:s0 |
| /data/vendor/qti-logkit/socket-public(/.*)? u:object_r:qti_logkit_pub_socket:s0 |
| /data/vendor/radio(/.*)? u:object_r:vendor_radio_data_file:s0 |
| /data/vendor/modem_config(/.*)? u:object_r:vendor_mbn_data_file:s0 |
| /data/vendor/dataqti(/.*)? u:object_r:vendor_qti_data_file:s0 |
| /data/vendor/netmgr(/.*)? u:object_r:netmgrd_data_file:s0 |
| /data/vendor/port_bridge(/.*)? u:object_r:port_bridge_data_file:s0 |
| /data/vendor/rfs.* u:object_r:rfs_file:s0 |
| /data/vendor/hlos_rfs(/.*)? u:object_r:rfs_shared_hlos_file:s0 |
| /data/vendor/wifi(/.*)? u:object_r:wifi_vendor_data_file:s0 |
| /data/vendor/wifi/sockets(/.*)? u:object_r:wifi_vendor_wpa_socket:s0 |
| /data/vendor/wifi/wigig_sockets(/.*)? u:object_r:wifi_vendor_wpa_socket:s0 |
| /data/vendor/wifi/wigig_sockets/wpa_ctrl.* u:object_r:wifi_vendor_wpa_socket:s0 |
| /data/vendor/qdmastats(/.*)? u:object_r:vendor_qcc_trd_data_file:s0 |
| /data/vendor/qdma(/.*)? u:object_r:vendor_qcc_trd_data_file:s0 |
| /data/vendor/vpp(/.*)? u:object_r:vendor_vpp_data_file:s0 |
| /data/vendor/camera(/.*)? u:object_r:vendor_camera_data_file:s0 |
| /data/vendor/wifi/wigig_hostapd(/.*)? u:object_r:wigig_hostapd_socket:s0 |
| /data/vendor/tombstones(/.*)? u:object_r:vendor_tombstone_data_file:s0 |
| /data/vendor/tzstorage(/.*)? u:object_r:data_tzstorage_file:s0 |
| /data/vendor/tloc(/.*)? u:object_r:tlocd_data_file:s0 |
| /data/vendor/media(/.*)? u:object_r:vendor_media_data_file:s0 |
| /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0 |
| /data/vendor/ssrdump(/.*)? u:object_r:ramdump_vendor_data_file:s0 |
| /data/vendor/ramdump(/.*)? u:object_r:vendor_ramdump_data_file:s0 |
| /data/vendor/mdmhelperdata(/.*)? u:object_r:vendor_mdmhelperdata_data_file:s0 |
| /data/vendor/misc/qsee(/.*)? u:object_r:data_qsee_file:s0 |
| /data/vendor/tui(/.*)? u:object_r:vendor_tui_data_file:s0 |
| /data/vendor/nnhal(/.*)? u:object_r:hal_neuralnetworks_data_file:s0 |
| /data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0 |
| /data/vendor/scve(/.*)? u:object_r:vendor_scve_data_file:s0 |
| /data/vendor/fm(/.*)? u:object_r:vendor_fm_data_file:s0 |
| /data/vendor/sensors(/.*)? u:object_r:sensors_vendor_data_file:s0 |
| |
| |
| ################################### |
| # persist files --only mnt/vendor/persist should be added here |
| |
| /mnt/vendor/persist/bluetooth(/.*)? u:object_r:persist_bluetooth_file:s0 |
| /mnt/vendor/persist/drm(/.*)? u:object_r:persist_drm_file:s0 |
| /mnt/vendor/persist/sensors(/.*)? u:object_r:sensors_persist_file:s0 |
| /mnt/vendor/persist/alarm(/.*)? u:object_r:persist_alarm_file:s0 |
| /mnt/vendor/persist/time(/.*)? u:object_r:persist_time_file:s0 |
| /mnt/vendor/persist/data(/.*)? u:object_r:persist_drm_file:s0 |
| /mnt/vendor/persist/data/tz(/.*)? u:object_r:persist_drm_file:s0 |
| /mnt/vendor/persist/data/sfs(/.*)? u:object_r:persist_drm_file:s0 |
| /mnt/vendor/persist/qti_fp(/.*)? u:object_r:persist_qti_fp_file:s0 |
| /mnt/vendor/persist/hlos_rfs(/.*)? u:object_r:persist_rfs_shared_hlos_file:s0 |
| /mnt/vendor/persist/display(/.*)? u:object_r:persist_display_file:s0 |
| /mnt/vendor/persist/rfs(/.*)? u:object_r:persist_rfs_file:s0 |
| /mnt/vendor/persist/speccfg(/.*)? u:object_r:regionalization_file:s0 |
| /mnt/vendor/persist/misc(/.*)? u:object_r:persist_misc_file:s0 |
| /mnt/vendor/persist/bms(/.*)? u:object_r:persist_bms_file:s0 |
| /mnt/vendor/persist/vpp(/.*)? u:object_r:persist_vpp_file:s0 |
| /mnt/vendor/persist/secnvm(/.*)? u:object_r:persist_secnvm_file:s0 |
| /mnt/vendor/persist/FTM_AP(/.*)? u:object_r:vendor_persist_mmi_file:s0 |
| /mnt/vendor/persist/hvdcp_opti(/.*)? u:object_r:persist_hvdcp_file:s0 |
| |
| ################################### |
| # etc files |
| # |
| /(vendor|system/vendor)/etc/hbtp/* u:object_r:hbtp_cfg_file:s0 |
| |
| ################################### |
| # adsp files |
| # |
| /(vendor|system/vendor)/dsp(/.*)? u:object_r:adsprpcd_file:s0 |
| /dsp(/.*)? u:object_r:adsprpcd_file:s0 |
| |
| ################################### |
| # cache files |
| # |
| |
| ################################### |
| # vendor files |
| # |
| /(vendor|system/vendor)/package(/.*)? u:object_r:vendor_carrier_file:s0 |
| /(vendor|system/vendor)/package(/.*)?/overlay(/.*)? u:object_r:vendor_overlay_file:s0 |
| /(vendor|system/vendor)/package(/.*)?/app(/.*)? u:object_r:vendor_app_file:s0 |
| |
| ####################################### |
| # .so File which needs to be shared across Treble boundary |
| # are labeled as same-process HAL files |
| # .so dependent chain also need to be in this list so adding this. |
| # |
| /(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl-qti-display\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapper@1\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapper@1\.1\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapper@2\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapperextensions@1\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapperextensions@1\.1\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@3\.0-impl-qti-display\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapper@3\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@4\.0-impl-qti-display\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.display\.mapper@4\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libcamxexternalformatutils\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libqdMetaData\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libgralloc\.qti\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libqservice\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libqdutils\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libadreno_utils\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libgsl\.so u:object_r:same_process_hal_file:s0 |
| |
| /(vendor|system/vendor)/lib(64)?/hw/vulkan\.adreno\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libEGL_adreno\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libGLESv1_CM_adreno\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libGLESv2_adreno\.so u:object_r:same_process_hal_file:s0 |
| |
| /(vendor|system/vendor)/lib(64)?/libdrmutils\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libdrm\.so u:object_r:same_process_hal_file:s0 |
| |
| /(vendor|system/vendor)/lib(64)?/libavenhancements\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libgrallocutils\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libgralloccore\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libExtendedExtractor.so u:object_r:same_process_hal_file:s0 |
| |
| # RenderScript dependencies. |
| # To test: run cts -m CtsRenderscriptTestCases |
| /(vendor|system/vendor)/lib(64)?/libRSDriver_adreno\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libCB\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libllvm-qgl\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libbccQTI\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libllvm-qcom\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/librs_adreno\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/librs_adreno_sha1\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libqti-perfd-client\.so u:object_r:same_process_hal_file:s0 |
| # perf-hal client lib (included by libqti-perfd-client.so) |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.perf@1\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.perf@2\.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.perf@2\.1\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor\.qti\.hardware\.perf@2\.2\.so u:object_r:same_process_hal_file:s0 |
| |
| # libGLESv2_adreno depends on this |
| /(vendor|system/vendor)/lib(64)?/libllvm-glnext\.so u:object_r:same_process_hal_file:s0 |
| |
| # libOpenCL and its dependencies |
| /(vendor|system/vendor)/lib(64)?/libOpenCL\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libq3dtools_adreno\.so u:object_r:same_process_hal_file:s0 |
| |
| # hbtp dependencies |
| /(vendor|system/vendor)/lib(64)?/libhbtpitsjni\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libhbtpdbgclientjni\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libhbtpjni\.so u:object_r:same_process_hal_file:s0 |
| |
| #Loaded by native loader (zygote) for all processes |
| /(vendor|system/vendor)/lib(64)?/libhalide_hexagon_host\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libadsprpc\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libcdsprpc\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libsdsprpc\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/vendor.qti.hardware.dsp@1.0\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libdiag\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libtime_genoff\.so u:object_r:same_process_hal_file:s0 |
| |
| # libmmi_jni |
| /(vendor|system/vendor)/lib(64)?/libmmi_jni\.so u:object_r:same_process_hal_file:s0 |
| |
| # libqti_vndfwk_detect libs |
| /(vendor|system/vendor)/lib(64)?/libvndfwk_detect_jni\.qti\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libqti_vndfwk_detect\.so u:object_r:same_process_hal_file:s0 |
| |
| # Fastcv libs |
| /(vendor|system/vendor)/lib(64)?/libfastcvdsp_stub\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libfastcvadsp_stub\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/libfastcvopt\.so u:object_r:same_process_hal_file:s0 |
| |
| # SVA files |
| /(vendor|system/vendor)/lib(64)?/liblistenjni\.so u:object_r:same_process_hal_file:s0 |
| /(vendor|system/vendor)/lib(64)?/liblistensoundmodel2\.so u:object_r:same_process_hal_file:s0 |
| |
| # libnpu |
| /(vendor|system/vendor)/lib(64)?/libnpu\.so u:object_r:same_process_hal_file:s0 |
| ################################### |
| # firmware images -- Only Vendor path should be added here |
| # |
| /vendor/firmware(/.*)? u:object_r:vendor_firmware_file:s0 |
| /vendor/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0 |
| /vendor/firmware_mnt(/.*)? u:object_r:firmware_file:s0 |
| |
| ################################## |
| #vendor toolbox |
| # |
| /(vendor|system/vendor)/bin/toolbox_vendor u:object_r:vendor_toolbox_exec:s0 |
| /(vendor|system/vendor)/bin/grep u:object_r:vendor_toolbox_exec:s0 |
| |
| #Android NN Driver |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.neuralnetworks@1\.3-service-qti u:object_r:hal_neuralnetworks_default_exec:s0 |
| |
| |
| #Light AIDL HAL |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.lights-service\.qti u:object_r:hal_light_default_exec:s0 |
| |
| #wifilearner daemon |
| /(vendor|system/vendor)/bin/wifilearner u:object_r:wifilearnersvc_exec:s0 |
| |
| /(vendor|system/vendor)/bin/embmsslServer u:object_r:vendor_hal_embmssl_qti_exec:s0 |