logd: start logd services in logd gid

logd - start as root:logd+system+readproc
logd-reinit - start as logd:logd

ToDo: start as logd:logd+system+readproc (libminijail)
Test: gTest logd-unit-tests, liblog-unit-tests and logcat-unit-tests
Bug: 32450474
Change-Id: I42c806ca1730a7f9eb9e34f064ae31a2ef9fc678
This commit is contained in:
Mark Salyzyn 2016-10-27 08:34:12 -07:00
parent 0d2a1dcb49
commit 5b44340acb
1 changed files with 3 additions and 1 deletions

View File

@ -4,10 +4,12 @@ service logd /system/bin/logd
socket logdw dgram 0222 logd logd
file /proc/kmsg r
file /dev/kmsg w
group root system readproc
group logd system readproc
writepid /dev/cpuset/system-background/tasks
service logd-reinit /system/bin/logd --reinit
oneshot
disabled
user logd
group logd
writepid /dev/cpuset/system-background/tasks