lp:~peat-new/libhybris/+git/libhybris

Get this repository:
git clone https://git.launchpad.net/~peat-new/libhybris/+git/libhybris
Only Ratchanan Srirattanamet can upload to this repository. If you are Ratchanan Srirattanamet please log in for upload directions.

Branches

Name Last Modified Last Commit
load-egl-lib 2017-03-17 08:39:00 UTC
hybris: common: mm: search lib in library path if opening directly fails.

Author: Ratchanan Srirattanamet
Author Date: 2016-12-14 10:57:32 UTC

hybris: common: mm: search lib in library path if opening directly fails.

On some device, a binary blob call dlopen with "egl/blah.so". The
correct behavior (and current code's behavior) is to open the library
directly on that path (relative to working directory) and don't look in
library path.

But the sad truth of life is, some binary blob rely on old behavior
which will not open the library directly if the path doesn't start
with '/'. As the library is actually reside in /system/vendor/lib/egl/,
the code will work with old behavior and not new behavior.

This commit makes linker search for library in library path if it can't
open library directly, which is the behavior of Android 5.0's linker.
This will let those libraries work.

This is the reference of this behavior:
https://android.googlesource.com/platform/bionic/+/6971fe4ca52ebdaa85ba676a044412b01d2ef1bf

11 of 1 result
This repository contains Public information 
Everyone can see this information.