trusty: keymint/gatekeeper: Pass device name from init scripts
If the ro.hardware.trusty_ipc_dev.gatekeeper (respectively .keymint) property is set, pass it as the device name to the gatekeeper (respectively keymint) HALs. Test: "setprop ro.hardware.trusty_ipc_dev VSOCK:2048:1" and restart HALs Change-Id: I0947e532ac70ce1821cec49897f21ca10e1af03e
This commit is contained in:
parent
e57d3f2110
commit
ced57af116
3 changed files with 7 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
|||
service vendor.gatekeeper_default /vendor/bin/hw/android.hardware.gatekeeper-service.trusty
|
||||
service vendor.gatekeeper_default /vendor/bin/hw/android.hardware.gatekeeper-service.trusty \
|
||||
--dev ${ro.hardware.trusty_ipc_dev.gatekeeper:-/dev/trusty-ipc-dev0}
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
service vendor.keymint-trusty /vendor/bin/hw/android.hardware.security.keymint-service.trusty
|
||||
service vendor.keymint-trusty /vendor/bin/hw/android.hardware.security.keymint-service.trusty \
|
||||
--dev ${ro.hardware.trusty_ipc_dev.keymint:-/dev/trusty-ipc-dev0}
|
||||
class early_hal
|
||||
user nobody
|
||||
group drmrpc
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
service vendor.keymint.rust-trusty /vendor/bin/hw/android.hardware.security.keymint-service.rust.trusty
|
||||
service vendor.keymint.rust-trusty /vendor/bin/hw/android.hardware.security.keymint-service.rust.trusty \
|
||||
--dev ${ro.hardware.trusty_ipc_dev.keymint:-/dev/trusty-ipc-dev0}
|
||||
class early_hal
|
||||
user nobody
|
||||
group drmrpc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue