diff options
author | Bernie Innocenti <codewiz@google.com> | 2018-09-07 21:26:58 +0900 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-09-07 10:29:18 -0700 |
commit | fb4eaa019e9a6eeb576f63cb2eeffe14fb8749ea (patch) | |
tree | 95b80beb47b8b4c11bd4b7556aa4725e1bc83456 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 431d2ff1418cf94c36437f35b1f55b81e2e1d976 (diff) |
Improve netd detection
The alleged improvement consists in making the detection actually work
when netd is spawned by init, which of course uses the full path.
I had tested the previous logic by running netd from the shell, which
worked because argv[0] was just set to "netd". My bad -_-
Test: flash, boot and grep logcat for "Skipping libnetd_client init"
Change-Id: Ie5f11436dfa2a9347721147dc2b980144452404a
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions