1# Copyright (c) 2021 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 14on post-fs-data 15 mkdir /data/log/ 0770 system log 16 mkdir /data/log/faultlog/ 0770 system system 17 mkdir /data/log/faultlog/temp/ 0770 system system 18 mkdir /data/log/faultlog/faultlogger/ 0770 system system 19 restorecon_recursive /data/log/faultlog/ 20 21service hiview /system/bin/hiview 22 class late_start 23 user system 24 group system log readproc external_storage ext_data_rw 25 seclabel u:r:hiview:s0 26 writepid /dev/cpuset/system-background/tasks 27 socket hisysevent dgram+passcred 0666 root system