• 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  { unlink } for  pid=1 comm="init" name="hilogControl" dev="tmpfs" ino=494 scontext=u:r:init:s0 tcontext=u:object_r:hilog_control_socket:s0 tclass=sock_file permissive=1
15allow init hilog_control_socket:sock_file { unlink };
16#avc:  denied  { unlink } for  pid=1 comm="init" name="hilogInput" dev="tmpfs" ino=493 scontext=u:r:init:s0 tcontext=u:object_r:hilog_input_socket:s0 tclass=sock_file permissive=1
17allow init hilog_input_socket:sock_file { unlink };
18#avc:  denied  { sigkill } for  pid=1 comm="init" scontext=u:r:init:s0 tcontext=u:r:hilogd:s0 tclass=process permissive=1
19allow init hilogd:process { sigkill };
20#avc:  denied  { getattr } for  pid=1 comm="init" path="/data/libinput" dev="mmcblk0p11" ino=652801 scontext=u:r:init:s0 tcontext=u:object_r:data_libinput:s0 tclass=dir permissive=1
21allow init data_libinput:dir { getattr };
22#avc:  denied  { setattr } for  pid=1 comm="init" name="rga" dev="tmpfs" ino=181 scontext=u:r:init:s0 tcontext=u:object_r:dev_rga:s0 tclass=chr_file permissive=1
23allow init dev_rga:chr_file { setattr };
24#avc:  denied  { rlimitinh } for  pid=507 comm="sa_main" scontext=u:r:init:s0 tcontext=u:r:privacy_service:s0 tclass=process permissive=1
25allow init privacy_service:process { rlimitinh };
26#avc:  denied  { siginh } for  pid=507 comm="sa_main" scontext=u:r:init:s0 tcontext=u:r:privacy_service:s0 tclass=process permissive=1
27allow init privacy_service:process { siginh };
28#avc:  denied  { transition } for  pid=507 comm="init" path="/system/bin/sa_main" dev="mmcblk0p6" ino=348 scontext=u:r:init:s0 tcontext=u:r:privacy_service:s0 tclass=process permissive=1
29allow init privacy_service:process { transition };
30allow init data_service_el1_file:file { relabelfrom };
31allow init data_service_el1_file:sock_file { getattr };
32allow init data_udev:file { getattr };
33allow init faultloggerd_socket:sock_file { unlink };
34allow init data_udev:sock_file { getattr };
35allow init appspawn_socket:sock_file { relabelfrom };
36allow init dev_v_file:chr_file { setattr };
37