blob: 0f8a4359ce46470b07d994e7852d2909df0eaba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Copyright (c) 2022 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on early-boot
start vendor.diag-router
# AR000G12U0 p00012723 HONOR_DIAG_ARCHITECTURE:chown the coresight permissions begin
on early-boot
chown system system /sys/bus/coresight/devices/coresight-tmc-etf/curr_sink
chown system system /sys/bus/coresight/devices/coresight-tmc-etf/enable_sink
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/curr_sink
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/enable_sink
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/out_mode
chown system system /sys/bus/coresight/devices/coresight-tpiu/curr_sink
chown system system /sys/bus/coresight/devices/coresight-tpiu/out_mode
chown system system /sys/bus/coresight/devices/coresight-stm/enable
chown system system /sys/bus/coresight/devices/coresight-stm/enable_source
chown system system /sys/bus/coresight/devices/coresight-hwevent/enable
chown system system /sys/bus/coresight/devices/coresight-stm/hwevent_enable
chown system system /sys/bus/coresight/devices/coresight-hwevent/setreg
chown system system /sys/bus/coresight/devices/coresight-swao-csr/timestamp
chown system system /sys/bus/coresight/devices/coresight-modem-diag/enable_source
# AR000G12U0 p00012723 HONOR_DIAG_ARCHITECTURE:chown the coresight permissions end
service vendor.diag-router /vendor/bin/diag-router
class hal
user system
group system
capabilities KILL
disabled
|