• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
14sys.usb.ffs.ready = root:shell:0660
15sys.usb.ffs.ready.hdc = root:shell:0660
16persist.hdc.root = root:shell:0660
17persist.hdc.mode = root:shell:0660
18persist.hdc.port = root:shell:0660
19persist.hdc.uv.threads = root:shell:0660
20persist.hdc.daemon.auth_result = root:shell:0660
21persist.hdc.client.hostname = root:shell:0660
22persist.hdc.client.pubkey_sha256 = root:shell:0660
23persist.hdc.daemon.auth_cancel = root:shell:0660
24const.hdc.secure = root:shell:0660
25const.hdc.version = root:shell:0644
26
27# hdc control, init, edm and usb_host can write control by selinux
28persist.hdc.control = usb_host:edm:0664
29persist.hdc.control.shell = root:shell:0644
30persist.hdc.control.file = root:shell:0644
31persist.hdc.control.fport = root:shell:0644
32persist.hdc.control_system = system:system:0664
33
34# hdcd can be replaced when it is without uart
35# you should setenforce 0 and mount to write /system
36persist.hdc.replace = root:root:0770
37
38#for atcmd HDCAUTHPASS
39persist.hdc.auth_bypass = root:shell:0666
40
41# for hdcd jdwp
42persist.hdc.jdwp = root:shell:0664
43
44persist.hdc.mode.usb = root:shell:0660
45persist.hdc.mode.tcp = root:shell:0660
46persist.hdc.mode.uart = root:shell:0660
47