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

Commit 333f24bf authored by Nick Kralevich's avatar Nick Kralevich
Browse files

don't run services with gid=0

Ensure that we drop privileges for servicemanager
and drmioserver.  These should not be running with
gid=0.

Bug: 3275526
Testing: Applied change and successfully rebooted
the device.  No obvious bugs.

Change-Id: I782fbda812cb88e0a365788b45b3b32894623177
parent ee878753
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -305,6 +305,7 @@ on property:persist.service.adb.enable=0

service servicemanager /system/bin/servicemanager
    user system
    group system
    critical
    onrestart restart zygote
    onrestart restart media
@@ -338,6 +339,7 @@ service drm /system/bin/drmserver

service drmio /system/bin/drmioserver
    user drmio
    group drmio

service media /system/bin/mediaserver
    user media