Merge "Explicit init .rc user."

This commit is contained in:
Steven Moreland 2023-04-24 18:19:00 +00:00 committed by Gerrit Code Review
commit 0e8d497ee1
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,4 @@
service vendor_flash_recovery /vendor/bin/install-recovery.sh
class main
oneshot
user root

View file

@ -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

View file

@ -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