• 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
14#avc:  denied  { call } for pid=2349 comm="com.example.app" scontext=u:r:normal_hap:s0 tcontext=u:r:softbus_server:s0 tclass=binder permissive=1
15allow normal_hap distributedsche:binder { call transfer };
16allow normal_hap distributedsche:fd { use };
17allow normal_hap sa_distributeschedule:samgr_class { get };
18allow normal_hap sa_softbus_service:samgr_class { get };
19allow normal_hap softbus_server:binder { call transfer };
20allow normal_hap softbus_server:fd { use };
21allow normal_hap softbus_server:tcp_socket { read setopt write };
22
23allow system_basic_hap distributedsche:binder { call transfer };
24allow system_basic_hap distributedsche:fd { use };
25allow system_basic_hap sa_distributeschedule:samgr_class { get };
26allow system_basic_hap sa_softbus_service:samgr_class { get };
27allow system_basic_hap softbus_server:tcp_socket { read setopt write };
28
29allow system_core_hap distributedsche:binder { call transfer };
30allow system_core_hap distributedsche:fd { use };
31allow system_core_hap sa_distributeschedule:samgr_class { get };
32allow system_core_hap sa_softbus_service:samgr_class { get };
33allow system_core_hap softbus_server:tcp_socket { read setopt write };
34
35allow faultloggerd normal_hap:process { signal };
36allow softbus_server normal_hap:binder { call };
37allow softbus_server sa_privacy_service:samgr_class { get };
38