2021-05-27 15:05:14 +00:00
|
|
|
service microdroid_manager /system/bin/microdroid_manager
|
|
|
|
disabled
|
2022-11-14 09:13:23 +00:00
|
|
|
# print android log to kmsg
|
2021-06-25 04:06:25 +00:00
|
|
|
file /dev/kmsg w
|
2022-11-14 09:13:23 +00:00
|
|
|
# redirect stdout/stderr to kmsg_debug
|
|
|
|
stdio_to_kmsg
|
2021-06-16 01:32:02 +00:00
|
|
|
setenv RUST_LOG info
|
2021-05-27 15:05:14 +00:00
|
|
|
# TODO(jooyung) remove this when microdroid_manager becomes a daemon
|
2021-06-25 04:06:25 +00:00
|
|
|
oneshot
|
2022-12-15 00:31:56 +00:00
|
|
|
# CAP_SYS_BOOT is required to exec kexecload from microdroid_manager
|
|
|
|
# CAP_SETCAP is required to allow microdroid_manager to drop capabilities
|
|
|
|
# before executing the payload
|
|
|
|
capabilities AUDIT_CONTROL SYS_ADMIN SYS_BOOT SETPCAP
|
2023-04-10 20:45:19 +00:00
|
|
|
user root
|
2022-10-24 09:42:40 +00:00
|
|
|
socket vm_payload_service stream 0666 system system
|