Merge "Explicit init .rc user." am: 0e8d497ee1
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2536854 Change-Id: I5f65abeb8fd5139516e6870053f5a027d7ebe8a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ae8c829600
3 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
service vendor_flash_recovery /vendor/bin/install-recovery.sh
|
||||
class main
|
||||
oneshot
|
||||
user root
|
||||
|
|
|
@ -76,24 +76,29 @@ on late-init
|
|||
service ueventd /system/bin/ueventd
|
||||
critical
|
||||
seclabel u:r:ueventd:s0
|
||||
user root
|
||||
|
||||
service charger /system/bin/charger
|
||||
critical
|
||||
seclabel u:r:charger:s0
|
||||
user root
|
||||
|
||||
service recovery /system/bin/recovery
|
||||
socket recovery stream 422 system system
|
||||
seclabel u:r:recovery:s0
|
||||
user root
|
||||
|
||||
service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 --device_banner=recovery
|
||||
disabled
|
||||
socket adbd stream 660 system system
|
||||
seclabel u:r:adbd:s0
|
||||
user root
|
||||
|
||||
service fastbootd /system/bin/fastbootd
|
||||
disabled
|
||||
group system
|
||||
seclabel u:r:fastbootd:s0
|
||||
user root
|
||||
|
||||
# Restart adbd so it can run as root
|
||||
on property:service.adb.root=1
|
||||
|
|
|
@ -3,15 +3,18 @@ service uncrypt /system/bin/uncrypt
|
|||
socket uncrypt stream 600 system system
|
||||
disabled
|
||||
oneshot
|
||||
user root
|
||||
|
||||
service setup-bcb /system/bin/uncrypt --setup-bcb
|
||||
class main
|
||||
socket uncrypt stream 600 system system
|
||||
disabled
|
||||
oneshot
|
||||
user root
|
||||
|
||||
service clear-bcb /system/bin/uncrypt --clear-bcb
|
||||
class main
|
||||
socket uncrypt stream 600 system system
|
||||
disabled
|
||||
oneshot
|
||||
user root
|
||||
|
|
Loading…
Reference in a new issue