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 14type pinauth, sadomain, domain; 15type sa_useriam_pinauth_service, sa_service_attr; 16 17#avc: denied { add } for service=941 pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:sa_useriam_pinauth_service:s0 tclass=samgr_class permissive=1 18allow pinauth sa_useriam_pinauth_service:samgr_class { add }; 19 20#avc: denied { get } for service=3503 pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:sa_accesstoken_manager_service:s0 tclass=samgr_class permissive=1 21allow pinauth sa_accesstoken_manager_service:samgr_class { get }; 22 23#avc: denied { get } for service=3901 pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:sa_param_watcher:s0 tclass=samgr_class permissive=1 24allow pinauth sa_param_watcher:samgr_class { get }; 25 26#avc: denied { get } for service=931 pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:sa_useriam_authexecutormgr_service:s0 tclass=samgr_class permissive=1 27allow pinauth sa_useriam_authexecutormgr_service:samgr_class { get }; 28 29#avc: denied { get } for service=5100 pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:sa_device_service_manager:s0 tclass=samgr_class permissive=1 30allow pinauth sa_device_service_manager:samgr_class { get }; 31 32#avc: denied { get } for service=pin_auth_interface_service pid=919 scontext=u:r:pinauth:s0 tcontext=u:object_r:hdf_pin_auth_interface_service:s0 tclass=hdf_devmgr_class permissive=1 33allow pinauth hdf_pin_auth_interface_service:hdf_devmgr_class { get }; 34