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
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 8753617..d252d71 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -305,6 +305,7 @@
service servicemanager /system/bin/servicemanager
user system
+ group system
critical
onrestart restart zygote
onrestart restart media
@@ -338,6 +339,7 @@
service drmio /system/bin/drmioserver
user drmio
+ group drmio
service media /system/bin/mediaserver
user media