blob: 60260983975017e62807e70f095f52638b843a63 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
on init
# for tui
chown system system /sys/kernel/tui/c_state
setprop htee.version "7.0.0"
# uncomment below line to debug htvm
# write /sys/kernel/tee/htvm_loading_panic 0
service teecd /vendor/bin/teecd
class early_hal
user root
group root readproc
seclabel u:r:tee:s0
on early-boot
start teeauth
service teeauth /system_ext/bin/tee_auth_daemon
socket tui_daemon stream 660 system system
socket tee-multi-user stream 660 system system
user system
group system readproc
seclabel u:r:system_teecd:s0
service teeadapter /system_ext/bin/tee_adapter_daemon
user system
group system readproc
disabled
seclabel u:r:system_teecd:s0
service teelogcat /vendor/bin/tlogcat -q -f
class late_start
user root
group system
disabled
seclabel u:r:tlogcat:s0
on post-fs-data
# chown /data/app 0600 system system
restorecon /data/app
mkdir /data/vendor/sec_storage_data 0700 system system
restorecon /data/vendor/sec_storage_data
mkdir /data/vendor/sec_storage_data_users 0700 system system
restorecon /data/vendor/sec_storage_data_users
mkdir /data/vendor/log/sec_storage_data 0775 system system
mkdir /data/vendor/log/sec_storage_data/log 0755 system system
|