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
This commit is contained in:
Nick Kralevich 2010-12-10 14:10:16 -08:00
parent ee878753f9
commit 333f24bfbd
1 changed files with 2 additions and 0 deletions

View File

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