adbd: switch to su domain when running as root
When adbd runs as root, it should transition into the su domain. This is needed to run the adbd and shell domains in enforcing on userdebug / eng devices without breaking developer workflows. Use the new device_banner command line option. Change-Id: Ib33c0dd2dd6172035230514ac84fcaed2ecf44d6
This commit is contained in:
parent
772f6e2a88
commit
c52c5b8e3d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ service healthd /sbin/healthd -n
|
|||
service recovery /sbin/recovery
|
||||
seclabel u:r:recovery:s0
|
||||
|
||||
service adbd /sbin/adbd recovery
|
||||
service adbd /sbin/adbd --root_seclabel=u:r:su:s0 --device_banner=recovery
|
||||
disabled
|
||||
socket adbd stream 660 system system
|
||||
seclabel u:r:adbd:s0
|
||||
|
|
Loading…
Reference in a new issue