platform_system_core/rootdir
Jiyong Park d7e6cb27b6 /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
Change-Id: I49c11a0929002adfef667890c0a375c2b41054f4
2018-03-20 10:12:00 +09:00
..
etc /postinstall/* does not search for a lib in /vendor or /odm 2018-03-20 10:12:00 +09:00
Android.mk Adding /odm support 2018-03-09 17:34:29 +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 Set SPI Allocation Timeout to One Hour 2018-03-14 18:24:23 +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