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 dhardware bootevent_param:file { map open read }; 15allow dhardware bootevent_samgr_param:file { map open read }; 16allow dhardware build_version_param:file { map open read }; 17allow dhardware const_allow_mock_param:file { map open read }; 18allow dhardware const_allow_param:file { map open read }; 19allow dhardware const_build_param:file { map open read }; 20allow dhardware const_display_brightness_param:file { map open read }; 21allow dhardware const_param:file { map open read }; 22allow dhardware const_postinstall_fstab_param:file { map open read }; 23allow dhardware const_postinstall_param:file { map open read }; 24allow dhardware const_product_param:file { map open read }; 25allow dhardware debug_param:file { map open read }; 26allow dhardware default_param:file { map open read }; 27allow dhardware distributeddata:binder { call transfer }; 28allow dhardware distributedsche_param:file { map open read }; 29allow dhardware dscreen:binder { call transfer }; 30allow dhardware foundation:binder { call transfer }; 31allow dhardware hilog_param:file { map open read }; 32allow dhardware hw_sc_build_os_param:file { map open read }; 33allow dhardware hw_sc_build_param:file { map open read }; 34allow dhardware hw_sc_param:file { map open read }; 35allow dhardware init_param:file { map open read }; 36allow dhardware init_svc_param:file { map open read }; 37allow dhardware input_pointer_device_param:file { map open read }; 38allow dhardware media_service:binder { call transfer }; 39allow dhardware net_param:file { map open read }; 40allow dhardware net_tcp_param:file { map open read }; 41allow dhardware ohos_boot_param:file { map open read }; 42allow dhardware ohos_param:file { map open read }; 43allow dhardware param_watcher:binder { call transfer }; 44allow dhardware persist_param:file { map open read }; 45allow dhardware persist_sys_param:file { map open read }; 46allow dhardware powermgr:binder { call transfer }; 47allow dhardware security_param:file { map open read }; 48allow dhardware softbus_server:binder { call transfer }; 49allow dhardware softbus_server:tcp_socket { shutdown }; 50allow dhardware startup_param:file { map open read }; 51allow dhardware sys_param:file { map open read }; 52allow dhardware system_bin_file:dir { search }; 53allow dhardware sys_usb_param:file { map open read }; 54allow dhardware tracefs:dir { search }; 55allow dhardware tracefs_trace_marker_file:file { open write }; 56