• 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 tmpfs:lnk_file { getattr };
15allow sh privacy_service:dir { getattr search };
16allow sh privacy_service:file { open read };
17allow sh system_core_hap:dir { getattr };
18allow sh dev_block_file:blk_file { getattr };
19allow sh dev_block_volfile:blk_file { getattr };
20allow sh media_service:dir { open read };
21allow sh media_service:file { getattr };
22allow sh media_service:lnk_file { getattr read };
23allow sh normal_hap:dir { open read };
24allow sh normal_hap:lnk_file { getattr read };
25allow sh samain_exec:file { getattr };
26