• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2023 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 init normal_hap_attr:dir { getattr search };
15allow init normal_hap_attr:file { open read };
16allow init normal_hap_attr:lnk_file read;
17allow init normal_hap_attr:process getattr;
18allow init riladapter_host:process { rlimitinh siginh transition };
19allow init telephony_sa:binder { call transfer };
20allow init telephony_sa:dir { getattr search };
21allow init telephony_sa:file { open read };
22allow init telephony_sa:lnk_file read;
23allow init telephony_sa:process getattr;
24allow init telephony_sa:process { rlimitinh siginh transition };
25
26# for create map file
27allow const_telephony_param tmpfs:filesystem associate;
28allow telephony_param tmpfs:filesystem associate;
29allow init const_telephony_param:file { map open read relabelto relabelfrom };
30allow init telephony_param:file { map open read relabelto relabelfrom };
31
32#for set
33allow { init telephony_sa riladapter_host } telephony_param:parameter_service { set };
34
35#for read
36allow domain const_telephony_param:file { map open read };
37allow domain telephony_param:file { map open read };
38