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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
|
{
"jobs" : [{
"name" : "post-fs-data",
"cmds" : [
]
}
],
"services" : [
{
"name" : "sample_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "0", "sample_host"],
"uid" : "sample_host",
"gid" : ["sample_host"],
"secon" : "u:r:sample_host:s0"
},
{
"name" : "power_host",
"path" : ["/vendor/bin/hdf_devhost", "1", "power_host"],
"uid" : "power_host",
"gid" : ["power_host", "system", "log", "battery_extra_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH", "BLOCK_SUSPEND"],
"secon" : "u:r:power_host:s0"
},
{
"name" : "audio_host",
"path" : ["/vendor/bin/hdf_devhost", "2", "audio_host"],
"uid" : "audio_host",
"gid" : ["audio_host", "audio", "input", "ueventd", "dev_dma_heap", "oeminfo_nvme_server", "sensor_host", "battery_extra_host"],
"secon" : "u:r:audio_host:s0"
},
{
"name" : "nearlink_host",
"path" : ["/vendor/bin/hdf_devhost", "3", "nearlink_host"],
"uid" : "nearlink_host",
"gid" : ["nearlink_host", "oeminfo_nvme_server"],
"secon" : "u:r:nearlink_host:s0"
},
{
"name" : "blue_host",
"path" : ["/vendor/bin/hdf_devhost", "4", "blue_host"],
"uid" : "blue_host",
"gid" : ["blue_host", "oeminfo_nvme_server"],
"secon" : "u:r:blue_host:s0"
},
{
"name" : "a2dp_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "5", "a2dp_host"],
"uid" : "a2dp_host",
"gid" : ["a2dp_host"],
"secon" : "u:r:a2dp_host:s0"
},
{
"name" : "usb_host",
"path" : ["/vendor/bin/hdf_devhost", "6", "usb_host"],
"uid" : "usb_host",
"gid" : ["usb_host"],
"caps" : ["DAC_OVERRIDE"],
"secon" : "u:r:usb_host:s0"
},
{
"name" : "wiseplay_host",
"path" : ["/vendor/bin/hdf_devhost", "7", "wiseplay_host"],
"uid" : "wiseplay_host",
"gid" : ["wiseplay_host", "dev_dma_heap"],
"secon" : "u:r:wiseplay_host:s0"
},
{
"name" : "composer_host",
"path" : ["/vendor/bin/hdf_devhost", "8", "composer_host"],
"uid" : "composer_host",
"gid" : ["composer_host", "graphics", "dev_dma_heap", "dev_memory", "dev_lcd_backlight", "oeminfo_nvme_server"],
"secon" : "u:r:composer_host:s0"
},
{
"name" : "allocator_host",
"path" : ["/vendor/bin/hdf_devhost", "9", "allocator_host"],
"uid" : "allocator_host",
"gid" : ["allocator_host", "graphics", "dev_dma_heap"],
"secon" : "u:r:allocator_host:s0"
},
{
"name" : "riladapter_host",
"path" : ["/vendor/bin/hdf_devhost", "10", "riladapter_host"],
"uid" : "radio",
"gid" : ["radio", "shell"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH", "CAP_NET_ADMIN", "CAP_NET_RAW"],
"secon" : "u:r:riladapter_host:s0"
},
{
"name" : "sensor_host",
"path" : ["/vendor/bin/hdf_devhost", "11", "sensor_host"],
"uid" : "sensor_host",
"gid" : ["sensor_host"],
"secon" : "u:r:sensor_host:s0"
},
{
"name" : "vibrator_host",
"path" : ["/vendor/bin/hdf_devhost", "12", "vibrator_host"],
"uid" : "vibrator_host",
"gid" : ["vibrator_host", "dev_vibrator"],
"secon" : "u:r:vibrator_host:s0"
},
{
"name" : "wifi_host",
"path" : ["/vendor/bin/hdf_devhost", "13", "wifi_host"],
"uid" : "wifi_host",
"gid" : ["wifi_host", "wifi_group"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"],
"secon" : "u:r:wifi_host:s0"
},
{
"name" : "wpa_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "14", "wpa_host"],
"uid" : "wifi",
"gid" : ["wifi", "wifi_group", "wifi_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"],
"permission" : ["ohos.permission.ACCESS_CERT_MANAGER"],
"secon" : "u:r:wifi_host:s0"
},
{
"name" : "hostapd_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "15", "hostapd_host"],
"uid" : "wifi",
"gid" : ["wifi", "wifi_group", "wifi_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"],
"secon" : "u:r:wifi_host:s0"
},
{
"name" : "location_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "16", "location_host"],
"uid" : "location_host",
"gid" : ["location_host", "system", "gps"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH"],
"secon" : "u:r:location_host:s0"
},
{
"name" : "contexthub_ble_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "17", "contexthub_ble_host"],
"uid" : "contexthub_ble_host",
"gid" : ["contexthub_ble_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH"],
"secon" : "u:r:contexthub_ble_host:s0"
},
{
"name" : "dcamera_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "18", "dcamera_host"],
"uid" : "dcamera_host",
"gid" : ["dcamera_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH"],
"secon" : "u:r:dcamera_host:s0"
},
{
"name" : "daudio_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "19", "daudio_host"],
"uid" : "daudio_host",
"gid" : ["daudio_host"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH"],
"secon" : "u:r:daudio_host:s0"
},
{
"name" : "dcall_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "20", "dcall_host"],
"uid" : "dcall_host",
"gid" : ["dcall_host", "root"],
"caps" : ["DAC_OVERRIDE", "DAC_READ_SEARCH"],
"secon" : "u:r:dcall_host:s0"
},
{
"name" : "codec_host",
"path" : ["/vendor/bin/hdf_devhost", "21", "codec_host"],
"uid" : "codec_host",
"gid" : ["codec_host", "vcodec", "dev_dma_heap", "graphics"],
"secon" : "u:r:codec_host:s0"
},
{
"name" : "nfc_host",
"path" : ["/vendor/bin/hdf_devhost", "22", "nfc_host"],
"uid" : "nfc_host",
"gid" : ["nfc_host", "nfc", "oeminfo_nvme_server"],
"secon" : "u:r:nfc_host:s0"
},
{
"name" : "secure_element_host",
"path" : ["/vendor/bin/hdf_devhost", "23", "secure_element_host"],
"uid" : "secure_element_host",
"gid" : ["secure_element_host", "system"],
"secon" : "u:r:secure_element_host:s0"
},
{
"name" : "pin_auth_host",
"path" : ["/vendor/bin/hdf_devhost", "24", "pin_auth_host"],
"uid" : "pin_auth_host",
"gid" : ["pin_auth_host"],
"secon" : "u:r:pin_auth_host:s0"
},
{
"name" : "user_auth_host",
"path" : ["/vendor/bin/hdf_devhost", "25", "user_auth_host"],
"uid" : "user_auth_host",
"gid" : ["user_auth_host"],
"secon" : "u:r:user_auth_host:s0"
},
{
"name" : "fingerprint_auth_host",
"path" : ["/vendor/bin/hdf_devhost", "26", "fingerprint_auth_host"],
"uid" : "fingerprint_auth_host",
"gid" : ["fingerprint_auth_host", "tp_host", "lcd_host"],
"secon" : "u:r:fingerprint_auth_host:s0"
},
{
"name" : "face_auth_host",
"path" : ["/vendor/bin/hdf_devhost", "27", "face_auth_host"],
"uid" : "face_auth_host",
"gid" : ["face_auth_host"],
"secon" : "u:r:face_auth_host:s0"
},
{
"name" : "input_user_host",
"path" : ["/vendor/bin/hdf_devhost", "28", "input_user_host"],
"uid" : "input_user_host",
"gid" : ["input_user_host"],
"secon" : "u:r:input_user_host:s0"
},
{
"name" : "tp_host",
"path" : ["/vendor/bin/hdf_devhost", "29", "tp_host"],
"uid" : "tp_host",
"gid" : ["tp_host"],
"secon" : "u:r:tp_host:s0"
},
{
"name" : "lcd_host",
"path" : ["/vendor/bin/hdf_devhost", "30", "lcd_host"],
"uid" : "lcd_host",
"gid" : ["lcd_host"],
"secon" : "u:r:lcd_host:s0"
},
{
"name" : "factory_host",
"path" : ["/vendor/bin/hdf_devhost", "31", "factory_host"],
"uid" : "factory_host",
"gid" : ["factory_host", "oeminfo_nvme_server", "atcmdserver", "fmd", "tp_host", "lcd_host", "sensor_host", "media"],
"secon" : "u:r:factory_host:s0"
},
{
"name" : "battery_extra_host",
"path" : ["/vendor/bin/hdf_devhost", "32", "battery_extra_host"],
"uid" : "battery_extra_host",
"gid" : ["battery_extra_host"],
"secon" : "u:r:battery_extra_host:s0"
},
{
"name" : "consumerir_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "34", "consumerir_host"],
"uid" : "consumerir_host",
"gid" : ["consumerir_host"],
"secon" : "u:r:consumerir_host:s0"
},
{
"name" : "hmi_host",
"path" : ["/vendor/bin/hdf_devhost", "35", "hmi_host"],
"uid" : "hmi_host",
"gid" : ["hmi_host", "system", "radio"],
"sandbox" : 0,
"secon" : "u:r:hmi_host:s0"
},
{
"name" : "devices_security_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "36", "devices_security_host"],
"uid" : "devices_security_host",
"gid" : ["devices_security_host"],
"secon" : "u:r:devices_security_host:s0"
},
{
"name" : "perfgenius_host",
"path" : ["/vendor/bin/hdf_devhost", "37", "perfgenius_host", "-8", "5"],
"uid" : "perfgenius_host",
"gid" : ["perfgenius_host", "system"],
"caps" : ["SYS_NICE"],
"secon" : "u:r:perfgenius_host:s0"
},
{
"name" : "hwsched_host",
"path" : ["/vendor/bin/hdf_devhost", "38", "hwsched_host", "-8", "5"],
"uid" : "hwsched_host",
"gid" : ["hwsched_host", "system"],
"caps" : ["SYS_ADMIN", "PERF_EVENT", "SYS_NICE"],
"secon" : "u:r:hwsched_host:s0"
},
{
"name" : "intell_voice_host",
"ondemand" : true,
"path" : ["/vendor/bin/hdf_devhost", "33", "intell_voice_host"],
"uid" : "intell_voice_host",
"gid" : ["intell_voice_host"],
"secon" : "u:r:intell_voice_host:s0"
}
]
}
|