• 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#init
15allow init concurrent_task_service:process { rlimitinh siginh transition };
16dontaudit init concurrent_task_service:process { noatsecure };
17#normal_hap
18allow normal_hap sa_concurrent_task_service:samgr_class { get };
19allow normal_hap concurrent_task_service:binder { call };
20#system_core_hap
21allow system_core_hap sa_concurrent_task_service:samgr_class { get };
22allow system_core_hap concurrent_task_service:binder { call };
23#system_basic_hap
24allow system_basic_hap sa_concurrent_task_service:samgr_class { get };
25allow system_basic_hap concurrent_task_service:binder { call };
26#resource_schedule_service
27allow resource_schedule_service sa_concurrent_task_service:samgr_class { get };
28allow resource_schedule_service concurrent_task_service:binder { call };
29#hiview
30allow hiview concurrent_task_service:dir { search };
31allow hiview concurrent_task_service:file { open read };
32#ui_service
33allow ui_service sa_concurrent_task_service:samgr_class { get };
34allow ui_service concurrent_task_service:binder { call };
35#foundation
36allow foundation concurrent_task_service:binder { call transfer };
37#sh
38allow sh concurrent_task_service:file { read open };
39allow sh concurrent_task_service:dir { getattr search };
40allow sh concurrent_task_service:binder { call };
41allow sh sa_concurrent_task_service:samgr_class { get };
42#dev_auth_ctrl
43allow init dev_auth_ctrl:chr_file { setattr };
44allow udevd dev_auth_ctrl:chr_file { getattr write };
45allow ueventd dev_auth_ctrl:chr_file { relabelto };
46
47