1c1ed15f1Sopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
2c1ed15f1Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3c1ed15f1Sopenharmony_ci# you may not use this file except in compliance with the License.
4c1ed15f1Sopenharmony_ci# You may obtain a copy of the License at
5c1ed15f1Sopenharmony_ci#
6c1ed15f1Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7c1ed15f1Sopenharmony_ci#
8c1ed15f1Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9c1ed15f1Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10c1ed15f1Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11c1ed15f1Sopenharmony_ci# See the License for the specific language governing permissions and
12c1ed15f1Sopenharmony_ci# limitations under the License.
13c1ed15f1Sopenharmony_ci
14c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=2803 pid=284 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_locationhub_lbsservice_gnss:s0 tclass=samgr_class permissive=1
15c1ed15f1Sopenharmony_ciallow locationhub sa_locationhub_lbsservice_gnss:samgr_class { get };
16c1ed15f1Sopenharmony_ci
17c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=2804 pid=284 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_locationhub_lbsservice_network:s0 tclass=samgr_class permissive=1
18c1ed15f1Sopenharmony_ciallow locationhub sa_locationhub_lbsservice_network:samgr_class { get };
19c1ed15f1Sopenharmony_ci
20c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=2805 pid=284 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_locationhub_lbsservice_passive:s0 tclass=samgr_class permissive=1
21c1ed15f1Sopenharmony_ciallow locationhub sa_locationhub_lbsservice_passive:samgr_class { get };
22c1ed15f1Sopenharmony_ci
23c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=2801 pid=284 scontext=u:r:locationhub:s0 tcontext=u:object_r:default_service:s0 tclass=samgr_class permissive=1
24c1ed15f1Sopenharmony_ciallow locationhub hdf_device_manager:hdf_devmgr_class { get };
25c1ed15f1Sopenharmony_ci
26c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=3299 pid=284 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_foundation_cesfwk_service:s0 tclass=samgr_class permissive=1
27c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_cesfwk_service:samgr_class { get };
28c1ed15f1Sopenharmony_ci
29c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=3901 pid=317 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_param_watcher:s0 tclass=samgr_class permissive=1
30c1ed15f1Sopenharmony_ciallow locationhub sa_param_watcher:samgr_class { get };
31c1ed15f1Sopenharmony_ci
32c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=gnss_interface_service pid=317 scontext=u:r:locationhub:s0 tcontext=u:object_r:hdf_gnss_interface_service:s0 tclass=hdf_devmgr_class permissive=1
33c1ed15f1Sopenharmony_ciallow locationhub hdf_gnss_interface_service:hdf_devmgr_class { get };
34c1ed15f1Sopenharmony_ci
35c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=agnss_interface_service pid=317 scontext=u:r:locationhub:s0 tcontext=u:object_r:hdf_agnss_interface_service:s0 tclass=hdf_devmgr_class permissive=1
36c1ed15f1Sopenharmony_ciallow locationhub hdf_agnss_interface_service:hdf_devmgr_class { get };
37c1ed15f1Sopenharmony_ci
38c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=geofence_interface_service pid=317 scontext=u:r:locationhub:s0 tcontext=u:object_r:hdf_geofence_interface_service:s0 tclass=hdf_devmgr_class permissive=1
39c1ed15f1Sopenharmony_ciallow locationhub hdf_geofence_interface_service:hdf_devmgr_class { get };
40c1ed15f1Sopenharmony_ci
41c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=3503 pid=317 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_accesstoken_manager_service:s0 tclass=samgr_class permissive=1
42c1ed15f1Sopenharmony_ciallow locationhub sa_accesstoken_manager_service:samgr_class { get };
43c1ed15f1Sopenharmony_ci
44c1ed15f1Sopenharmony_ci#avc:  denied  { get } for service=2801 pid=303 scontext=u:r:locationhub:s0 tcontext=u:object_r:sa_location_geo_convert_service:s0 tclass=samgr_class permissive=1
45c1ed15f1Sopenharmony_ciallow locationhub sa_location_geo_convert_service:samgr_class { get };
46c1ed15f1Sopenharmony_ci
47c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_bms:samgr_class { get };
48c1ed15f1Sopenharmony_ci
49c1ed15f1Sopenharmony_ciallow locationhub sa_telephony_tel_core_service:samgr_class { get };
50c1ed15f1Sopenharmony_ci
51c1ed15f1Sopenharmony_ciallow locationhub sa_telephony_tel_cellular_data:samgr_class { get };
52c1ed15f1Sopenharmony_ci
53c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_appms:samgr_class { get };
54c1ed15f1Sopenharmony_ci
55c1ed15f1Sopenharmony_ciallow locationhub data_service_file:dir { search };
56c1ed15f1Sopenharmony_ci
57c1ed15f1Sopenharmony_ciallow locationhub data_service_el1_file:dir { search write add_name remove_name getattr };
58c1ed15f1Sopenharmony_ci
59c1ed15f1Sopenharmony_ciallow locationhub data_service_el1_file:file { create read write open getattr setattr ioctl };
60c1ed15f1Sopenharmony_ci
61c1ed15f1Sopenharmony_ciallow locationhub telephony_sa:binder { call transfer };
62c1ed15f1Sopenharmony_ci
63c1ed15f1Sopenharmony_cidebug_only(`
64c1ed15f1Sopenharmony_ci    #avc:  denied  { call } for pid=353 comm="IPC_1_409" scontext=u:r:locationhub:s0 tcontext=u:r:sh:s0 tclass=binder permissive=0
65c1ed15f1Sopenharmony_ci    allow locationhub sh:binder { call };
66c1ed15f1Sopenharmony_ci')
67c1ed15f1Sopenharmony_ci
68c1ed15f1Sopenharmony_ciallow locationhub sa_privacy_service:samgr_class { get };
69c1ed15f1Sopenharmony_ci
70c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_abilityms:samgr_class { get };
71c1ed15f1Sopenharmony_ci
72c1ed15f1Sopenharmony_ciallow locationhub accesstoken_service:binder { call transfer };
73c1ed15f1Sopenharmony_ci
74c1ed15f1Sopenharmony_ciallow locationhub privacy_service:binder { call transfer };
75c1ed15f1Sopenharmony_ci
76c1ed15f1Sopenharmony_ciallow locationhub normal_hap_attr:binder { call transfer };
77c1ed15f1Sopenharmony_ci
78c1ed15f1Sopenharmony_ciallow locationhub musl_param:file { read };
79c1ed15f1Sopenharmony_ci
80c1ed15f1Sopenharmony_ciallow locationhub dev_console_file:chr_file { read write };
81c1ed15f1Sopenharmony_ci
82c1ed15f1Sopenharmony_ciallow locationhub sa_location_locator_service:samgr_class { get };
83c1ed15f1Sopenharmony_ciallow locationhub sa_distributeddata_service:samgr_class { get };
84c1ed15f1Sopenharmony_ciallow locationhub distributeddata:binder { call };
85c1ed15f1Sopenharmony_ciallow locationhub distributeddata:fd { use };
86c1ed15f1Sopenharmony_ciallow locationhub vendor_bin_file:dir { search };
87c1ed15f1Sopenharmony_ci
88c1ed15f1Sopenharmony_ciallow locationhub musl_param:file { open };
89c1ed15f1Sopenharmony_ciallow locationhub dev_file:dir { getattr };
90c1ed15f1Sopenharmony_ci
91c1ed15f1Sopenharmony_ciallow locationhub sa_bluetooth_server:samgr_class { get };
92c1ed15f1Sopenharmony_ciallow locationhub sa_wifi_scan_ability:samgr_class { get };
93c1ed15f1Sopenharmony_ci
94c1ed15f1Sopenharmony_ciallow locationhub sa_bgtaskmgr:samgr_class { get };
95c1ed15f1Sopenharmony_ciallow locationhub bgtaskmgr_service:binder { call };
96c1ed15f1Sopenharmony_ci
97c1ed15f1Sopenharmony_ciallow locationhub sa_form_mgr_service:samgr_class { get };
98c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_ans:samgr_class { get };
99c1ed15f1Sopenharmony_ciallow locationhub sa_telephony_tel_sms_mms:samgr_class { get };
100c1ed15f1Sopenharmony_ciallow locationhub sa_foundation_tel_call_manager:samgr_class { get };
101c1ed15f1Sopenharmony_ci
102c1ed15f1Sopenharmony_ciallow locationhub time_service:binder { call };
103c1ed15f1Sopenharmony_ciallow locationhub sa_resource_schedule:samgr_class { get };
104c1ed15f1Sopenharmony_ciallow locationhub sa_device_standby:samgr_class { get };
105c1ed15f1Sopenharmony_ciallow locationhub sa_msdp_movement_service:samgr_class { get };
106c1ed15f1Sopenharmony_ciallow locationhub wifi_manager_service:fd { use };
107c1ed15f1Sopenharmony_ciallow locationhub sa_net_conn_manager:samgr_class { get };
108c1ed15f1Sopenharmony_ci
109c1ed15f1Sopenharmony_ciallow locationhub paramservice_socket:sock_file { write };
110c1ed15f1Sopenharmony_ciallow locationhub kernel:unix_stream_socket { connectto };
111c1ed15f1Sopenharmony_ciallow locationhub persist_param:parameter_service { set };
112c1ed15f1Sopenharmony_ci
113c1ed15f1Sopenharmony_ciallow locationhub sa_wifi_device_ability:samgr_class { get };
114c1ed15f1Sopenharmony_ciallow locationhub netmanager:binder { call transfer };
115