summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2016-10-29 12:20:00 -0700
committerNick Kralevich <nnk@google.com>2016-10-29 12:20:00 -0700
commit80960d2a9a6e15931d946cc826dcb3d5bf68ca4f (patch)
tree2ed410a301b974072a3961315c4a0f11192fae35 /trusty/coverage/coverage.cpp
parentcd368c640a68ac247f2ee32fd433c9522675c187 (diff)
init: Put init in group AID_READPROC
bootcharts currently only show root's processes, which isn't very useful. To investigate and track boot duration issues, we need a way for init to see all the pids. Add init to GID 3009 (aka AID_READPROC) Ensure that init's children don't inherit this GID by always clearing supplementary group IDs on fork. Bug: 32506197 Test: Device boots and /proc/1/status says init is in gid 3009 Test: zygote starts and the Group: line in /proc/ZYGOTEPID/status is empty Change-Id: Iba90717aaa591f1d6030a379a272aee003600c0a Not-Tested: bootchart actually works. Speculative fix.
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions