From be006f6d0d643e05abc37bee3e7df900e72bafab Mon Sep 17 00:00:00 2001 From: Quddus Chong Date: Tue, 15 Sep 2015 17:20:03 -0700 Subject: [PATCH] docs: Added behavior change for dynamic linker when app requests for a shared library with text relocations to be loaded. bug: 24106254 Change-Id: I25c389cd37d1fa3a2d80221da2041169b786be71 --- docs/html/preview/behavior-changes.jd | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/preview/behavior-changes.jd index cab4163416857..ae355617f5c49 100644 --- a/docs/html/preview/behavior-changes.jd +++ b/docs/html/preview/behavior-changes.jd @@ -308,6 +308,15 @@ implemented. Apps which previously worked that have bad {@code DT_NEEDED} entrie {@code dlopen(3)} (as opposed to being referenced by {@code DT_NEEDED} entries).

+

+On previous versions of Android, if your app requested the system to load a shared library with +text relocations, the system displayed a warning but still allowed the library to be loaded. +Beginning in this release, the system rejects this library if your app's target SDK version is 23 +or higher. To help you detect if a library failed to load, your app should log the +{@code dlopen(3)} failure, and include the problem description text that the {@code dlerror(3)} +call returns. To learn more about handling text relocations, see this +guide.

+

Access to Hardware Identifier

To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for