| # Copyright (c) 2018-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. |
| |
| # Changes from Qualcomm Innovation Center are provided under the following license: |
| # |
| # Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. |
| # |
| # Redistribution and use in source and binary forms, with or without |
| # modification, are permitted (subject to the limitations in the |
| # disclaimer below) 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 Qualcomm Innovation Center, Inc. nor the names of its |
| # contributors may be used to endorse or promote products derived |
| # from this software without specific prior written permission. |
| # |
| # NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE |
| # GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT |
| # HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED |
| # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| # IN NO EVENT SHALL THE COPYRIGHT HOLDER 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. |
| |
| type vendor_sysfs_audio, fs_type, sysfs_type; |
| type vendor_sysfs_sndcard, fs_type, sysfs_type; |
| type vendor_sysfs_battery_supply, sysfs_type, fs_type; |
| type vendor_sysfs_bond0, fs_type, sysfs_type; |
| type vendor_sysfs_boot_adsp, sysfs_type, fs_type; |
| type vendor_sysfs_boot_cdsp, sysfs_type, fs_type; |
| type vendor_sysfs_boot_cvp, sysfs_type, fs_type; |
| type vendor_sysfs_camera, sysfs_type, fs_type; |
| type vendor_sysfs_cpu_boost, fs_type, sysfs_type; |
| type vendor_sysfs_devcd, fs_type, sysfs_type; |
| type vendor_sysfs_devfreq, fs_type, sysfs_type; |
| type vendor_sysfs_easel, sysfs_type, fs_type; |
| type vendor_sysfs_esoc, sysfs_type, fs_type; |
| type vendor_sysfs_fingerprint, sysfs_type, fs_type; |
| type vendor_sysfs_graphics, sysfs_type, fs_type; |
| type vendor_sysfs_kgsl, sysfs_type, fs_type; |
| type vendor_sysfs_kgsl_proc, sysfs_type, fs_type; |
| type vendor_sysfs_kgsl_shell, sysfs_type, fs_type; |
| type vendor_hbtp_kernel_sysfs, sysfs_type, fs_type; |
| type vendor_sysfs_irqbalance, sysfs_type, fs_type; |
| type vendor_sysfs_laser, sysfs_type, fs_type; |
| type vendor_sysfs_mdss_mdp_caps, sysfs_type, fs_type; |
| type vendor_sysfs_devfreq_l3cdsp, fs_type, sysfs_type; |
| type vendor_sysfs_mmc_host, fs_type, sysfs_type; |
| type vendor_sysfs_msm_perf, fs_type, sysfs_type; |
| type vendor_sysfs_msm_power, fs_type, sysfs_type; |
| type vendor_sysfs_msm_stats, fs_type, sysfs_type; |
| type vendor_sysfs_msm_subsys_restart, sysfs_type, fs_type; |
| type vendor_sysfs_sensors, sysfs_type, fs_type; |
| type vendor_sysfs_sectouch, sysfs_type, fs_type; |
| type vendor_sysfs_soc, sysfs_type, fs_type; |
| type vendor_sysfs_public, sysfs_type, fs_type; |
| type vendor_sysfs_scsi_host, fs_type, sysfs_type; |
| type vendor_sysfs_scsi_target, fs_type, sysfs_type; |
| type vendor_sysfs_slpi, fs_type, sysfs_type; |
| type vendor_sysfs_spmi_dev, sysfs_type, fs_type; |
| type vendor_sysfs_ssr, sysfs_type, fs_type; |
| type vendor_sysfs_ssr_toggle, sysfs_type, fs_type; |
| type vendor_sysfs_touch, sysfs_type, fs_type; |
| type vendor_sysfs_uio_file, sysfs_type, fs_type; |
| type vendor_sysfs_wdog_device, sysfs_type, fs_type; |
| type vendor_sysfs_usb_c, sysfs_type, fs_type; |
| type vendor_sysfs_usb_device, sysfs_type, fs_type; |
| type vendor_sysfs_usb_supply, sysfs_type, fs_type; |
| type vendor_sysfs_usbpd_device, sysfs_type, fs_type; |
| type vendor_sysfs_vadc_dev, sysfs_type, fs_type; |
| type vendor_sysfs_lcd, sysfs_type, fs_type; |
| type vendor_sysfs_adsp_ssr, sysfs_type, fs_type; |
| type vendor_sysfs_svm_neuron, sysfs_type, fs_type; |
| type vendor_sysfs_trusted_touch_enable, sysfs_type, fs_type; |
| type vendor_sysfs_trusted_touch_event, sysfs_type, fs_type; |
| type vendor_sysfs_trusted_touch_type, sysfs_type, fs_type; |
| type vendor_sysfs_mmc_device_type, fs_type, sysfs_type; |
| |
| #haptics sysfs files |
| type vendor_sysfs_haptics, fs_type, sysfs_type; |
| |
| # /proc |
| type vendor_proc_wifi_dbg, fs_type, proc_type; |
| type vendor_proc_audiod, fs_type, proc_type; |
| type vendor_proc_shs, fs_type, proc_type; |
| |
| type vendor_qmuxd_socket, file_type; |
| type vendor_rild_socket, file_type; |
| type vendor_netmgrd_socket, file_type; |
| type vendor_shsusrd_socket, file_type; |
| type vendor_port-bridge_socket, file_type; |
| type vendor_thermal_socket, file_type; |
| type vendor_notify-topology_socket, file_type; |
| type vendor_vuidmgr_socket, file_type; |
| |
| #Define the qti socket type |
| type vendor_dataqti_socket, file_type; |
| |
| type vendor_ims_service_socket, file_type; |
| type vendor_ipacm_socket, file_type; |
| type vendor_cnd_socket, file_type; |
| type vendor_chre_socket, file_type; |
| type vendor_hal_bootctl_socket, file_type; |
| type vendor_location_socket, file_type; |
| type vendor_qsap_location_socket, file_type; |
| type vendor_wifihal_socket, file_type; |
| type vendor_pps_socket, file_type; |
| |
| # imshelper_app file types |
| #type vendor_imshelper_app_data_file, file_type, data_file_type; |
| |
| type vendor_imsd_data_file, file_type, data_file_type; |
| |
| type firmware_file, file_type, contextmount_type, vendor_file_type; |
| |
| type vendor_cnd_data_file, file_type, data_file_type; |
| type vendor_location_data_file, file_type, data_file_type; |
| type vendor_audio_data_file, file_type, data_file_type; |
| type vendor_audio_dsp_data_file, file_type, data_file_type; |
| type vendor_radio_data_file, file_type, data_file_type; |
| type vendor_wifi_vendor_log_data_file, file_type, data_file_type; |
| type vendor_log_wifi_data_file, file_type, data_file_type; |
| # for mount /persist |
| typeattribute mnt_vendor_file vendor_persist_type; |
| type vendor_persist_file, file_type, vendor_persist_type; |
| type vendor_persist_data_file, file_type , vendor_persist_type; |
| type vendor_persist_display_file, file_type; |
| type vendor_persist_drm_file, file_type, vendor_persist_type; |
| type vendor_persist_elabel_file, file_type, vendor_persist_type; |
| type vendor_persist_haptics_file, file_type, vendor_persist_type; |
| type vendor_persist_rfs_file, file_type, vendor_persist_type; |
| type vendor_persist_rfs_shared_hlos_file, file_type, vendor_persist_type; |
| type vendor_persist_sensors_file, file_type, vendor_persist_type; |
| type vendor_persist_time_file, file_type, vendor_persist_type; |
| type vendor_persist_audio_file, file_type, vendor_persist_type; |
| type vendor_persist_bluetooth_file, file_type, vendor_persist_type; |
| type vendor_persist_alarm_file, file_type, vendor_persist_type; |
| type vendor_persist_feature_enabler_file, file_type, vendor_persist_type; |
| |
| type vendor_netmgr_data_file, file_type, data_file_type; |
| type vendor_netmgr_recovery_data_file, file_type, data_file_type; |
| type vendor_qmipriod_data_file, file_type, data_file_type; |
| type vendor_ipa_vendor_data_file, file_type, data_file_type; |
| type vendor_shsusr_data_file, file_type, data_file_type; |
| |
| type vendor_tombstone_data_file, file_type, data_file_type; |
| type vendor_camera_data_file, file_type, data_file_type; |
| type vendor_display_vendor_data_file, file_type, data_file_type; |
| type vendor_nfc_vendor_data_file, file_type, data_file_type; |
| type vendor_radio_vendor_data_file, file_type, data_file_type, mlstrustedobject; |
| type vendor_ramdump_vendor_data_file, file_type, data_file_type, mlstrustedobject; |
| type vendor_pddump_data_file, file_type, data_file_type; |
| type vendor_modem_dump_file, file_type, data_file_type; |
| type vendor_sensors_vendor_data_file, file_type, data_file_type; |
| type vendor_port_bridge_data_file, file_type, data_file_type; |
| type bt_firmware_file, file_type, contextmount_type, vendor_file_type; |
| type vendor_firmware_file, vendor_file_type, file_type; |
| type vendor_mdmhelperdata_data_file, file_type, data_file_type; |
| type vendor_mbn_data_file, file_type, data_file_type; |
| type vendor_firmware_data_file, file_type, data_file_type; |
| type vendor_qmcs_file, file_type, vendor_qmcs_file_type; |
| allow { vendor_qmcs_file }self:filesystem associate; |
| |
| #vendor capability configstore hal |
| type vendor_capabilityconfigstore_data_file, file_type, data_file_type; |
| |
| #widevine data file |
| type vendor_mediadrm_vendor_data_file, file_type, data_file_type; |
| |
| #time-services data file |
| type vendor_time_data_file, file_type, data_file_type; |
| |
| #data sysfs files |
| type vendor_sysfs_data, fs_type, sysfs_type; |
| |
| #diag sysfs files |
| type vendor_sysfs_diag, fs_type, sysfs_type; |
| |
| type vendor_hexagon_halide_file, vendor_file_type, file_type; |
| |
| # vendor media files |
| type vendor_media_data_file, file_type, data_file_type; |
| |
| type adsprpcd_file, file_type, mlstrustedobject, vendor_file_type; |
| |
| # vm system files |
| type vendor_vm_system_file, file_type, vendor_file_type; |
| |
| type vendor_hbtp_log_file, file_type, data_file_type; |
| type vendor_hbtp_cfg_file, file_type, vendor_file_type; |
| |
| #tloc data files |
| type vendor_tlocd_data_file, file_type, data_file_type; |
| |
| #audio graph manager sysfs file |
| type vendor_sysfs_agm, fs_type, sysfs_type; |
| |
| #qseecom |
| type vendor_data_qsee_file, file_type, data_file_type; |
| |
| #TUI Files |
| type vendor_tui_data_file, file_type, data_file_type; |
| |
| # SFS listener data file |
| type vendor_data_tzstorage_file, file_type, data_file_type; |
| |
| #BT Files |
| type vendor_bt_data_file, file_type, data_file_type; |
| |
| type vendor_sysfs_usb_controller, sysfs_type, fs_type; |
| |
| #for qdss |
| type vendor_sysfs_qdss_dev, sysfs_type, fs_type; |
| |
| #Define the qdcmss socket type |
| type vendor_qdcmsocket_socket, file_type; |
| type vendor_sysfs_mhi, sysfs_type, fs_type; |
| |
| type vendor_sysfs_suspend, fs_type, sysfs_type; |
| |
| # kgsl gpu model file type for sysfs access |
| type vendor_sysfs_kgsl_gpu_model, sysfs_type, fs_type; |
| |
| type vendor_sysfs_kgsl_gpuclk, sysfs_type, fs_type; |
| type vendor_sysfs_kgsl_gpubusy, sysfs_type, fs_type; |
| |
| type vendor_sysfs_devicetree_cpu, sysfs_type, fs_type; |
| |
| type vendor_sysfs_devicetree_soc, sysfs_type, fs_type; |
| type vendor_sysfs_microdump, fs_type, sysfs_type; |
| |
| #rmnet module files |
| type vendor_sysfs_rmnet, fs_type, sysfs_type; |
| |
| # display boot param files |
| type vendor_sysfs_disp_boot_param, fs_type, sysfs_type; |
| |
| # TLPD service |
| type vendor_dlsc_socket, file_type; |
| |
| type vendor_tlpd_socket, file_type; |
| |
| type vendor_tlpd_data_file, file_type, data_file_type; |
| |
| type vendor_dlsc_data_file, file_type, data_file_type; |