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 time_service bootevent_param:file { map open read };
15allow time_service bootevent_samgr_param:file { map open read };
16allow time_service build_version_param:file { map open read };
17allow time_service const_allow_mock_param:file { map open read };
18allow time_service const_allow_param:file { map open read };
19allow time_service const_build_param:file { map open read };
20allow time_service const_display_brightness_param:file { map open read };
21allow time_service const_param:file { map open read };
22allow time_service const_postinstall_fstab_param:file { map open read };
23allow time_service const_postinstall_param:file { map open read };
24allow time_service const_product_param:file { map open read };
25allow time_service data_file:dir { search };
26allow time_service data_misc:dir { getattr search };
27allow time_service data_service_el1_file:dir { add_name search write };
28allow time_service data_service_el1_file:file { create ioctl read write open };
29allow time_service data_service_file:dir { search };
30allow time_service debug_param:file { map open read };
31allow time_service default_param:file { map open read };
32allow time_service dev_file:sock_file { write };
33allow time_service distributedsche_param:file { map read read open };
34allow time_service hilog_param:file { map open read };
35allow time_service hiview:binder { call };
36allow time_service hw_sc_build_os_param:file { map open read };
37allow time_service hw_sc_build_param:file { map open read };
38allow time_service hw_sc_param:file { map open read };
39allow time_service init_param:file { map open read };
40allow time_service init_svc_param:file { map open read };
41allow time_service input_pointer_device_param:file { map open read };
42allow time_service netmanager:binder { call transfer };
43allow time_service net_param:file { map open read };
44allow time_service netsysnative:unix_stream_socket { connectto };
45allow time_service net_tcp_param:file { map open read };
46allow time_service ohos_boot_param:file { map open read };
47allow time_service ohos_param:file { map open read };
48allow time_service param_watcher:binder { call transfer };
49allow time_service persist_param:file { map open read };
50allow time_service persist_sys_param:file { map open read };
51allow time_service sa_foundation_bms:samgr_class { get };
52allow time_service sa_foundation_cesfwk_service:samgr_class { get };
53allow time_service sa_net_conn_manager:samgr_class { get };
54allow time_service sa_time_service:samgr_class { add };
55allow time_service security_param:file { map open read };
56allow time_service startup_param:file { map open read };
57allow time_service sys_file:file { open read };
58allow time_service sysfs_hctosys:file { open read };
59allow time_service sysfs_rtc:dir { open read };
60allow time_service sys_param:file { map open read };
61allow time_service system_bin_file:dir { search };
62allow time_service sys_usb_param:file { map open read };
63allow time_service time_service:unix_dgram_socket { getopt setopt };
64allow time_service tracefs:dir { search };
65allow time_service tracefs_trace_marker_file:file { open write };
66allow time_service domain:dir { getattr search };
67allow time_service domain:file { open read };
68allowxperm time_service data_service_el1_file:file ioctl { 0x5413 };
69