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 hidumper data_file:dir search; 15allow hidumper data_init_agent:dir search; 16allow hidumper data_init_agent:file { append ioctl open read }; 17 18allow hidumper dev_unix_socket:dir search; 19allow hidumper dev_unix_socket:sock_file write; 20 21allow hidumper devpts:chr_file { read write }; 22 23allow hidumper hdcd:fd use; 24allow hidumper hdcd:fifo_file write; 25allow hidumper hdcd:unix_stream_socket { read write }; 26 27allow hidumper hidumper_service:binder { call transfer }; 28 29allow hidumper lib_file:lnk_file read; 30 31allow hidumper samgr:binder call; 32 33allow hidumper sh:fd use; 34 35allow hidumper system_bin_file:dir search; 36allow hidumper system_bin_file:file { execute execute_no_trans map open read }; 37 38allow hidumper tty_device:chr_file { read write }; 39 40allow hidumper vendor_lib_file:dir search; 41 42allow hidumper bootevent_param:file { map open read }; 43allow hidumper bootevent_samgr_param:file { map open read }; 44allow hidumper build_version_param:file { map open read }; 45allow hidumper const_allow_mock_param:file { map open read }; 46allow hidumper const_allow_param:file { map open read }; 47allow hidumper const_build_param:file { map open read }; 48allow hidumper const_display_brightness_param:file { map open read }; 49allow hidumper const_param:file { map open read }; 50allow hidumper const_postinstall_fstab_param:file { map open read }; 51allow hidumper const_postinstall_param:file { map open read }; 52allow hidumper const_product_param:file { map open read }; 53allow hidumper debug_param:file { map open read }; 54allow hidumper default_param:file { map open read }; 55allow hidumper hilog_param:file { map open read }; 56allow hidumper hw_sc_build_os_param:file { map open read }; 57allow hidumper hw_sc_build_param:file { map open read }; 58allow hidumper hw_sc_param:file { map open read }; 59allow hidumper init_param:file { map open read }; 60allow hidumper init_svc_param:file { map open read }; 61allow hidumper input_pointer_device_param:file { map open read }; 62allow hidumper net_param:file { map open read }; 63allow hidumper net_tcp_param:file { map open read }; 64allow hidumper ohos_boot_param:file { map open read }; 65allow hidumper ohos_param:file { map open read }; 66allow hidumper persist_param:file { map open read }; 67allow hidumper persist_sys_param:file { map open read }; 68allow hidumper sa_dfx_sys_hidumper_ability:samgr_class get; 69allow hidumper security_param:file { map open read }; 70allow hidumper startup_param:file { map open read }; 71allow hidumper sys_param:file { map open read }; 72allow hidumper sys_usb_param:file { map open read }; 73allow hidumper dev_console_file:chr_file { read write }; 74