summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-09-10 14:20:35 -0700
committerTom Cherry <tomcherry@google.com>2019-09-19 16:10:30 -0700
commit5241d10049f0d93c0123556a72c64b8b322dfba1 (patch)
tree473953479670d380bdd60379ad091f7c28d7f3a4 /debuggerd/debuggerd_test.cpp
parentbac7609c48c4fbe3440caf7375eec37cfefc46c5 (diff)
init: create sockets before forking
There is a race condition with Service::Start and socket creation. Since socket creation currently happens after the fork(), it's possible that init can continue executing other commands before the socket is created. If init starts another service that relies on that socket, it isn't guaranteed to be available. Particularly, we've seen this with hwservicemanager starting after logd, but hwservicemanager's logs sometimes not showing up. Bug: 140810300 Test: boot and logging functions correctly Change-Id: Ib2932e836d345830cd38f3b556598508fd953058
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions