blob: a54aafec3281613187e694fc5e23dc9572c3970c [file] [log] [blame]
# 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.
#QTI file types
type vendor_qti_data_file, file_type, data_file_type;
type vendor_persist_secnvm_file, file_type , vendor_persist_type;
type vendor_persist_iar_db_file, file_type , vendor_persist_type;
#mink-lowi-interface-daemon (mlid) socket
type vendor_mlid_socket, file_type, mlstrustedobject;
#Wireless Edge Service (QWES) socket and files
type vendor_qwesd_socket, file_type, mlstrustedobject;
type vendor_qwes_data_file, file_type, data_file_type;
#ssg qmi gateway daemon socket
type vendor_ssgqmig_socket, file_type, mlstrustedobject;
#ssg tz daemon socket
type vendor_ssgtzd_socket, file_type, mlstrustedobject;
#spunvm file types
type vendor_spunvm_file, file_type, vendor_spunvm_file_type;
allow vendor_spunvm_file self:filesystem associate;
type vendor_qfp-daemon_data_file, file_type, data_file_type;
type vendor_persist_qti_fp_file, file_type, vendor_persist_type;
type vendor_sysfs_touch_aoi, fs_type, sysfs_type;
#sysfs jpeg
type vendor_sysfs_jpeg, fs_type, sysfs_type;
#vendor sysfs ddr
type vendor_sysfs_ddr, fs_type, sysfs_type;
#vendor sysfs sku version
type vendor_sysfs_sku, fs_type, sysfs_type;
# qcc-trd data files
type vendor_qcc_trd_data_file, file_type, data_file_type;
type vendor_sysfs_npu, fs_type, sysfs_type;
type vendor_persist_mmi_file, file_type, vendor_persist_type;
type vendor_persist_hvdcp_file, file_type, vendor_persist_type;
#File type by mmi
type vendor_mmi_socket, file_type;
#ADPL socket file types
type vendor_dataadpl_socket, file_type;
#perf
type vendor_sysfs_lib, fs_type, sysfs_type;
type vendor_sysfs_memory, fs_type, sysfs_type;
type vendor_sysfs_process_reclaim, fs_type, sysfs_type;
type vendor_sysfs_vmpressure, fs_type, sysfs_type;
# secure element file type for data vendor access
type vendor_secure_element_vendor_data_file, file_type, data_file_type;
#Define the files written during the operation of mpctl
type vendor_sysfs_mpctl, fs_type, sysfs_type;
type vendor_mpctl_socket, file_type, mlstrustedobject;
type vendor_mpctl_data_file, file_type, data_file_type;
#IOP
type vendor_iop_socket, file_type;
type vendor_iop_data_file, file_type, data_file_type;
#Define the files used by lm
type vendor_lm_data_file, file_type, data_file_type;
# Wifi Data file
type vendor_wifi_vendor_data_file, file_type, data_file_type;
type vendor_wifi_vendor_wpa_socket, file_type, data_file_type;
type vendor_hostapd_socket, file_type, data_file_type;
#spss sysfs files
type vendor_sysfs_spss, fs_type, sysfs_type;
#vpp
type vendor_vpp_data_file, file_type, data_file_type;
type vendor_persist_vpp_file, file_type, vendor_persist_type;
# Spdaemon file
type vendor_sysfs_spdaemon, fs_type, sysfs_type;
# wigig, fstman
type vendor_sysfs_wigig, fs_type, sysfs_type;
type vendor_wigignpt_socket, file_type;
type vendor_wigig_vendor_wpa_socket, file_type;
# wigig_hostapd
type vendor_wigig_hostapd_socket, file_type, data_file_type;
type vendor_sensingdaemon_socket, file_type;
type vendor_sensing_vendor_data_file, file_type, data_file_type;
#rmnet module files
type vendor_sysfs_rmnet, fs_type, sysfs_type;
#qvrservice sysfs files
type vendor_sysfs_qvr_external_sensor, sysfs_type, fs_type;
#GuestVM PIL files
type vendor_sysfs_bootguestvm, fs_type, sysfs_type;
#qspm-hal
type vendor_qspmhal_data_file, file_type, data_file_type;
#System memory file types
type vendor_sysfs_system_memory, sysfs_type, fs_type;
# Memory offlining file types
type vendor_sysfs_mem_offline, sysfs_type, fs_type;
#slub-debug
type vendor_sysfs_slab_zshandle_storeuser, fs_type, sysfs_type;
type vendor_sysfs_slab_zspage_storeuser, fs_type, sysfs_type;