OSDN Git Service

Fix dlopen of main executable by absolute path
authorDimitry Ivanov <dimitry@google.com>
Tue, 17 May 2016 20:29:37 +0000 (13:29 -0700)
committerDimitry Ivanov <dimitry@google.com>
Tue, 17 May 2016 20:55:46 +0000 (13:55 -0700)
commit2ba1cf39ae6087249a839ec7b3793d4d4fa75438
treeadf1d98570a548157112a307ccd58c17b5ffb320
parent5df5884743306f7b2ee437c293f4197101528a98
Fix dlopen of main executable by absolute path

This CL adds initialization of inode for the main executable
which enables linker to resolve the correct soinfo when
application calls dlopen with absolute path to the
main executable.

Bug: http://b/28420266
Change-Id: I102e07bde454bd44c6e46075e3faeeb5092830d8
linker/linker.cpp
tests/dlext_test.cpp
tests/dlfcn_test.cpp
tests/gtest_main.cpp
tests/utils.h