OSDN Git Service

Exit rather than abort if asked to run a non-PIE executable.
authorElliott Hughes <enh@google.com>
Sat, 7 Jan 2017 18:38:20 +0000 (10:38 -0800)
committerElliott Hughes <enh@google.com>
Sat, 7 Jan 2017 18:38:20 +0000 (10:38 -0800)
commit3bdb31b51b353d12e482d28d6ffe115944f8819e
treede5bab575b8b24dcb183784862a5fdc6fc4c1791
parentfb07c36bc061db4ca5d8348ff6bc1e60b6c53191
Exit rather than abort if asked to run a non-PIE executable.

Each release we're asked to investigate tombstones from code that hasn't
been allowed to run on Android since L. This is just wasting our time,
and clearly the "obviousness" of aborting rather than exiting hasn't ensured
that all app developers rebuild their old binaries. In some cases it seems
like they run them "just in case" and don't care if they fail.

Bug: http://b/34112178
Test: ran libsupervisor.so from com.ss.android.article.news
Change-Id: I8a3f196c4755601a3888281566fbb7b817f01dca
linker/linker_main.cpp