summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorDimitry Ivanov <dimitry@google.com>2016-08-25 14:53:35 -0700
committerDimitry Ivanov <dimitry@google.com>2016-08-25 14:58:22 -0700
commit7da4bbbe87a7eca742c6c45a76aaf191aa70d948 (patch)
tree12caad3e273e245325378cc7a1b7b4b97a398685 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent56762e036ba4dafee2c25dabddd4dc6f7b65f2a6 (diff)
linker: stat /proc/self/exe instead of executable_path
The absolute path to an executable may no longer be valid for example when the file is unlinked immediately after exec. Using /proc/self/exe instead of absolute path solves this problem. Bug: http://b/31084669 Test: Run the app from http://b/31084669 make sure executable starts Test: by checking ps and /proc/<pid>/exe Change-Id: I5c819f39ef0fc4fc71b05de71e8af9ede611f04c
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions