Explicit init .rc user.
Set the user explicitly. Bug: 276813155 Test: boot Change-Id: I26ee9db2a82dc89b35e551782b6b1d942e72c8cd
This commit is contained in:
parent
d97f317e0d
commit
98322a3775
3 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
service vendor_flash_recovery /vendor/bin/install-recovery.sh
|
service vendor_flash_recovery /vendor/bin/install-recovery.sh
|
||||||
class main
|
class main
|
||||||
oneshot
|
oneshot
|
||||||
|
user root
|
||||||
|
|
|
@ -76,24 +76,29 @@ on late-init
|
||||||
service ueventd /system/bin/ueventd
|
service ueventd /system/bin/ueventd
|
||||||
critical
|
critical
|
||||||
seclabel u:r:ueventd:s0
|
seclabel u:r:ueventd:s0
|
||||||
|
user root
|
||||||
|
|
||||||
service charger /system/bin/charger
|
service charger /system/bin/charger
|
||||||
critical
|
critical
|
||||||
seclabel u:r:charger:s0
|
seclabel u:r:charger:s0
|
||||||
|
user root
|
||||||
|
|
||||||
service recovery /system/bin/recovery
|
service recovery /system/bin/recovery
|
||||||
socket recovery stream 422 system system
|
socket recovery stream 422 system system
|
||||||
seclabel u:r:recovery:s0
|
seclabel u:r:recovery:s0
|
||||||
|
user root
|
||||||
|
|
||||||
service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 --device_banner=recovery
|
service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 --device_banner=recovery
|
||||||
disabled
|
disabled
|
||||||
socket adbd stream 660 system system
|
socket adbd stream 660 system system
|
||||||
seclabel u:r:adbd:s0
|
seclabel u:r:adbd:s0
|
||||||
|
user root
|
||||||
|
|
||||||
service fastbootd /system/bin/fastbootd
|
service fastbootd /system/bin/fastbootd
|
||||||
disabled
|
disabled
|
||||||
group system
|
group system
|
||||||
seclabel u:r:fastbootd:s0
|
seclabel u:r:fastbootd:s0
|
||||||
|
user root
|
||||||
|
|
||||||
# Restart adbd so it can run as root
|
# Restart adbd so it can run as root
|
||||||
on property:service.adb.root=1
|
on property:service.adb.root=1
|
||||||
|
|
|
@ -3,15 +3,18 @@ service uncrypt /system/bin/uncrypt
|
||||||
socket uncrypt stream 600 system system
|
socket uncrypt stream 600 system system
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
user root
|
||||||
|
|
||||||
service setup-bcb /system/bin/uncrypt --setup-bcb
|
service setup-bcb /system/bin/uncrypt --setup-bcb
|
||||||
class main
|
class main
|
||||||
socket uncrypt stream 600 system system
|
socket uncrypt stream 600 system system
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
user root
|
||||||
|
|
||||||
service clear-bcb /system/bin/uncrypt --clear-bcb
|
service clear-bcb /system/bin/uncrypt --clear-bcb
|
||||||
class main
|
class main
|
||||||
socket uncrypt stream 600 system system
|
socket uncrypt stream 600 system system
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
user root
|
||||||
|
|
Loading…
Reference in a new issue