platform_system_core/rootdir/etc
Jiyong Park 955029aa1b /postinstall/* does not search for a lib in /vendor or /odm
There has been no section in the linker config file for the binaries
under /postinstall. As a result, the binaries were run with the legacy
default config where /vendor/lib and /odm/lib are added to the search
paths. This is causing selinux denials as the binaries for OTA are not
allowed to access /vendor/lib or /odm/lib, but the dynamic linker calls
realpath(3) on the paths to canonicalize them.

Fixing the issue by letting /postinstall/* binaries to run with a
dedicated linker namespace config, where /vendor/lib and /odm/lib are
not added to the search paths. Not having the paths is okay because
he OTA binaries should not have dependency to the libs there.

Bug: 75287236
Test: do the OTA, selinux denials on postinstall_file is not shown
Test: above test should pass on  wahoo, marlin and pre-treble devices
Merged-In: I49c11a0929002adfef667890c0a375c2b41054f4
Change-Id: I49c11a0929002adfef667890c0a375c2b41054f4
(cherry picked from commit d7e6cb27b6)
2018-03-21 01:25:55 +09:00
..
hosts Add ip6-localhost to /system/etc/hosts. 2015-01-13 14:38:21 -08:00
ld.config.legacy.txt /postinstall/* does not search for a lib in /vendor or /odm 2018-03-21 01:25:55 +09:00
ld.config.txt /postinstall/* does not search for a lib in /vendor or /odm 2018-03-21 01:25:55 +09:00
ld.config.vndk_lite.txt /postinstall/* does not search for a lib in /vendor or /odm 2018-03-21 01:25:55 +09:00
public.libraries.android.txt Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af am: 601e5ac55b am: 3cdb21a8c7 2017-08-02 19:57:29 +00:00
public.libraries.wear.txt Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af am: 601e5ac55b am: 3cdb21a8c7 2017-08-02 19:57:29 +00:00