Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c52c5b8e authored by Nick Kralevich's avatar Nick Kralevich
Browse files

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
parent 772f6e2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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