# Copyright (c) 2022-2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. allow init normal_hap_attr:dir { getattr search }; allow init normal_hap_attr:file { open read }; allow init normal_hap_attr:lnk_file read; allow init normal_hap_attr:process getattr; allow init riladapter_host:process { rlimitinh siginh transition }; allow init telephony_sa:binder { call transfer }; allow init telephony_sa:dir { getattr search }; allow init telephony_sa:file { open read }; allow init telephony_sa:lnk_file read; allow init telephony_sa:process getattr; allow init telephony_sa:process { rlimitinh siginh transition }; # for create map file allow const_telephony_param tmpfs:filesystem associate; allow telephony_param tmpfs:filesystem associate; allow init const_telephony_param:file { map open read relabelto relabelfrom }; allow init telephony_param:file { map open read relabelto relabelfrom }; #for set allow { init telephony_sa riladapter_host } telephony_param:parameter_service { set }; #for read allow domain const_telephony_param:file { map open read }; allow domain telephony_param:file { map open read };