| # Copyright (c) 2018-2020 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. |
| type vendor_sysfs_audio, 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_camera, sysfs_type, fs_type; |
| type vendor_sysfs_cpu_boost, 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 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_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_timestamp_switch, sysfs_type, fs_type; |
| type vendor_sysfs_touch, sysfs_type, fs_type; |
| type vendor_sysfs_uio_file, 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_debugfs_clk, debugfs_type, fs_type; |
| type vendor_debugfs_ion, debugfs_type, fs_type; |
| type vendor_debugfs_ipc, debugfs_type, fs_type; |
| type vendor_debugfs_kgsl, debugfs_type, fs_type; |
| type vendor_debugfs_rpm, debugfs_type, fs_type; |
| type vendor_debugfs_rmt_storage, debugfs_type, fs_type; |
| type vendor_debugfs_usb, debugfs_type, fs_type; |
| type vendor_debugfs_wlan, debugfs_type, fs_type; |
| type vendor_debugfs_mdp, debugfs_type, fs_type; |
| type vendor_debugfs_icnss, debugfs_type, fs_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_port-bridge_socket, file_type; |
| type vendor_thermal_socket, file_type; |
| |
| #Define the qti socket type |
| type vendor_dataqti_socket, file_type; |
| |
| type vendor_ims_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_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 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_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; |
| |
| #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; |
| |
| #NNHAL files |
| type vendor_hal_neuralnetworks_data_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; |
| |
| # kgsl max gpuclk file type for sysfs access |
| type vendor_sysfs_kgsl_max_gpuclk, sysfs_type, fs_type; |
| |
| #gpu max clock file type for sysfs acces |
| type vendor_sysfs_gpu_max_clock, 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; |
| |
| # for qfprom0 node access |
| type vendor_sysfs_qfprom, fs_type, sysfs_type; |