diff options
author | Logan Chien <loganchien@google.com> | 2018-12-28 15:12:56 +0800 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2019-01-07 11:14:34 +0800 |
commit | c0bb441b15e70b26aa849c719a62ab4567e8f100 (patch) | |
tree | 3f4915c42d314cb69355cc2b5b73049e7b46ebc6 /libutils/Unicode.cpp | |
parent | cf557efb19bc67712713ae850711126fa043c852 (diff) |
Fix runtime namespace links for vendor processes
This commit removes the soname filter from the namespace fallback link
from `runtime` to `system` in the vendor process. This fixes the
problem that vendor process might fail to load `libnetd_client.so`,
`libc_malloc_debug.so`, `libc_malloc_debug_leak.so`, and other libc
dependencies.
This commit also removes the namespace fallback link from `runtime` to
`default` in the vendor process. According to the comments in [1], the
original intention was to allow the access to `/system/${LIB}` not
`/vendor/${LIB}`. Furthermore, `com.android.runtime` suppose to work
without libraries from `/vendor/${LIB}`.
[1] https://android-review.googlesource.com/c/858456
Bug: 119867084
Bug: 122025516 # Motivation of this commit
Test: Executables under vendor partition are not blocked by
`libnetd_client.so` not found error.
Change-Id: I682baada9d755910832474bb3d8307cd49c21ece
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions