1# Copyright (c) 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 hisysevent hdcd:fd { use }; 15allow hisysevent hdcd:fifo_file { read write }; 16allow hisysevent hdcd:unix_stream_socket { read write }; 17allow hdcd hisysevent:process { signal }; 18 19allow hisysevent sh:fd { use }; 20 21allow hisysevent hiview:fd { use }; 22allow hisysevent hiview:binder { call transfer }; 23 24allow hisysevent debug_param:file { read open map }; 25allow hisysevent hilog_param:file { read open map }; 26allow hisysevent dev_unix_socket:dir { search }; 27allow hisysevent dev_console_file:chr_file { read write }; 28 29allow hisysevent samgr:binder { call }; 30allow hisysevent sa_sys_event_service:samgr_class get; 31allow samgr hisysevent:dir { search }; 32allow samgr hisysevent:file { read open }; 33allow samgr hisysevent:process { getattr }; 34allow samgr hisysevent:binder { call transfer }; 35 36allow hisysevent tty_device:chr_file { read write }; 37allow hisysevent devpts:chr_file { read write }; 38 39allow hisysevent hiprofiler_plugins:fd { use }; 40allow hisysevent hiprofiler_plugins:fifo_file { ioctl write }; 41