• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 sh data_file:dir { add_name create write };
15allow sh data_file:file { create ioctl write };
16# allow sh data_file:file { execute execute_no_trans };
17allow sh distributedsche_param:file { map open read };
18allow sh hdf_devmgr:binder call;
19allow sh init:unix_stream_socket connectto;
20allow sh rootfs:file getattr;
21allow sh riladapter_host:binder transfer;
22allow sh riladapter_host:dir { getattr search };
23allow sh riladapter_host:file { open read };
24allow sh sa_foundation_tel_call_manager:samgr_class get;
25allow sh sa_foundation_tel_state_registry:samgr_class get;
26allow sh sa_telephony_tel_cellular_call:samgr_class get;
27allow sh sa_telephony_tel_cellular_data:samgr_class get;
28allow sh sa_telephony_tel_core_service:samgr_class get;
29allow sh sa_telephony_tel_ims:samgr_class get;
30allow sh sa_telephony_tel_sms_mms:samgr_class get;
31allow sh sysfs_hctosys:file { open read };
32allow sh sysfs_rtc:dir { open read };
33allow sh system_usr_file:dir search;
34allow sh system_usr_file:file { getattr map open read };
35allow sh telephony_sa:binder { call transfer };
36allow sh telephony_sa:dir { getattr search };
37allow sh telephony_sa:file open;
38allow sh telephony_sa:process getattr;
39
40