platform_system_core/rootdir
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
..
etc /postinstall/* does not search for a lib in /vendor or /odm 2018-03-21 01:25:55 +09:00
Android.mk Adding /odm support 2018-03-13 08:41:50 +08:00
asan.options Include asan options from data partition. 2017-08-09 15:32:23 -07:00
asan_extract.rc Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
asan_extract.sh Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
init-debug.rc init-debug.rc: don't mount debugfs 2017-03-14 21:56:24 -07:00
init.environ.rc.in Add global GCOV_PREFIX option. 2017-02-27 15:00:18 -08:00
init.rc Merge "init.rc: Mount /mnt with nodev,nosuid,noexec" am: 6698482ca4 am: 0802d45683 2018-02-15 14:47:58 +00:00
init.usb.configfs.rc Move adbd stopped trigger for configfs into core. 2017-04-27 14:59:48 -07:00
init.usb.rc emulator: not start adbd upon ro.kernel.qemu=1 2018-02-03 17:22:15 -08:00
init.zygote32.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote32_64.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote64.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
init.zygote64_32.rc Add reserved disk GID to critical component. 2018-01-07 19:25:00 -07:00
OWNERS OWNERS: add myself 2018-01-12 13:31:54 -08:00
ueventd.rc Allow input system access to /dev/v4l-touch 2017-12-22 17:06:24 -08:00