1# Copyright (c) 2022-2023 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 init accessibility:process { rlimitinh transition };
15allow init bluetooth_service:process { rlimitinh siginh };
16allow init data_service_el1_public_deviceauthService_file:dir { getattr search setattr };
17allow init dev_file:dir { open read relabelto };
18allow init dev_kmsg_file:chr_file { write };
19allow init memmgrservice:process { rlimitinh siginh };
20allow init samain_exec:file { execute };
21allow init tmpfs:chr_file { getattr };
22allow init tmpfs:dir { relabelfrom };
23
24developer_only(`
25allow init cgroup:file { ioctl };
26allowxperm init cgroup:file ioctl 0x5413;
27')
28
29