1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License 13 14allow system_basic_hap dev_mali:chr_file { ioctl map read write }; 15allow system_basic_hap dev_unix_socket:dir { search }; 16allow system_basic_hap multimodalinput:unix_stream_socket { read }; 17allow system_basic_hap proc_file:file { open read }; 18allow system_basic_hap proc_stat_file:file { open read }; 19allow system_basic_hap render_service:unix_stream_socket { read }; 20allow system_basic_hap sa_net_conn_manager:samgr_class { get }; 21allow system_basic_hap sys_file:file { open read }; 22allow system_basic_hap sysfs_devices_system_cpu:dir { open read }; 23allow system_basic_hap system_basic_hap:udp_socket { read }; 24allow system_basic_hap system_basic_hap_data_file:dir { search }; 25allow system_basic_hap system_basic_hap_data_file:file { lock }; 26allow system_basic_hap system_usr_file:dir { search }; 27allow system_basic_hap vendor_file:dir { search }; 28allowxperm system_basic_hap dev_mali:chr_file ioctl { 0x8002 0x8016 }; 29