Loading rootdir/etc/ld.config.legacy.txt +13 −8 Original line number Original line Diff line number Diff line Loading @@ -6,35 +6,40 @@ # All binaries gets the same configuration 'legacy' # All binaries gets the same configuration 'legacy' dir.legacy = /system dir.legacy = /system dir.legacy = /product dir.legacy = /vendor dir.legacy = /vendor dir.legacy = /odm dir.legacy = /odm dir.legacy = /sbin dir.legacy = /sbin # Except for /postinstall, where only /system is searched # Except for /postinstall, where only /system and /product are searched dir.postinstall = /postinstall dir.postinstall = /postinstall [legacy] [legacy] namespace.default.isolated = false namespace.default.isolated = false namespace.default.search.paths = /system/${LIB} namespace.default.search.paths = /system/${LIB} namespace.default.search.paths += /product/${LIB} namespace.default.search.paths += /vendor/${LIB} namespace.default.search.paths += /vendor/${LIB} namespace.default.search.paths += /odm/${LIB} namespace.default.search.paths += /odm/${LIB} namespace.default.asan.search.paths = /data/asan/system/${LIB} namespace.default.asan.search.paths = /data/asan/system/${LIB} namespace.default.asan.search.paths += /system/${LIB} namespace.default.asan.search.paths += /system/${LIB} namespace.default.asan.search.paths += /data/asan/odm/${LIB} namespace.default.asan.search.paths += /data/asan/product/${LIB} namespace.default.asan.search.paths += /odm/${LIB} namespace.default.asan.search.paths += /product/${LIB} namespace.default.asan.search.paths += /data/asan/vendor/${LIB} namespace.default.asan.search.paths += /data/asan/vendor/${LIB} namespace.default.asan.search.paths += /vendor/${LIB} namespace.default.asan.search.paths += /vendor/${LIB} namespace.default.asan.search.paths += /data/asan/odm/${LIB} namespace.default.asan.search.paths += /odm/${LIB} ############################################################################### ############################################################################### # Namespace config for binaries under /postinstall. # Namespace config for binaries under /postinstall. # Only one default namespace is defined and it has no directories other than # Only one default namespace is defined and it has no directories other than # /system/lib in the search paths. This is because linker calls realpath on the # /system/lib and /product/lib in the search paths. This is because linker # search paths and this causes selinux denial if the paths (/vendor, /odm) are # calls realpath on the search paths and this causes selinux denial if the # not allowed to the poinstall binaries. There is no reason to allow the # paths (/vendor, /odm) are not allowed to the poinstall binaries. # binaries to access the paths. # There is no reason to allow the binaries to access the paths. ############################################################################### ############################################################################### [postinstall] [postinstall] namespace.default.isolated = false namespace.default.isolated = false namespace.default.search.paths = /system/${LIB} namespace.default.search.paths = /system/${LIB} namespace.default.search.paths += /product/${LIB} Loading
rootdir/etc/ld.config.legacy.txt +13 −8 Original line number Original line Diff line number Diff line Loading @@ -6,35 +6,40 @@ # All binaries gets the same configuration 'legacy' # All binaries gets the same configuration 'legacy' dir.legacy = /system dir.legacy = /system dir.legacy = /product dir.legacy = /vendor dir.legacy = /vendor dir.legacy = /odm dir.legacy = /odm dir.legacy = /sbin dir.legacy = /sbin # Except for /postinstall, where only /system is searched # Except for /postinstall, where only /system and /product are searched dir.postinstall = /postinstall dir.postinstall = /postinstall [legacy] [legacy] namespace.default.isolated = false namespace.default.isolated = false namespace.default.search.paths = /system/${LIB} namespace.default.search.paths = /system/${LIB} namespace.default.search.paths += /product/${LIB} namespace.default.search.paths += /vendor/${LIB} namespace.default.search.paths += /vendor/${LIB} namespace.default.search.paths += /odm/${LIB} namespace.default.search.paths += /odm/${LIB} namespace.default.asan.search.paths = /data/asan/system/${LIB} namespace.default.asan.search.paths = /data/asan/system/${LIB} namespace.default.asan.search.paths += /system/${LIB} namespace.default.asan.search.paths += /system/${LIB} namespace.default.asan.search.paths += /data/asan/odm/${LIB} namespace.default.asan.search.paths += /data/asan/product/${LIB} namespace.default.asan.search.paths += /odm/${LIB} namespace.default.asan.search.paths += /product/${LIB} namespace.default.asan.search.paths += /data/asan/vendor/${LIB} namespace.default.asan.search.paths += /data/asan/vendor/${LIB} namespace.default.asan.search.paths += /vendor/${LIB} namespace.default.asan.search.paths += /vendor/${LIB} namespace.default.asan.search.paths += /data/asan/odm/${LIB} namespace.default.asan.search.paths += /odm/${LIB} ############################################################################### ############################################################################### # Namespace config for binaries under /postinstall. # Namespace config for binaries under /postinstall. # Only one default namespace is defined and it has no directories other than # Only one default namespace is defined and it has no directories other than # /system/lib in the search paths. This is because linker calls realpath on the # /system/lib and /product/lib in the search paths. This is because linker # search paths and this causes selinux denial if the paths (/vendor, /odm) are # calls realpath on the search paths and this causes selinux denial if the # not allowed to the poinstall binaries. There is no reason to allow the # paths (/vendor, /odm) are not allowed to the poinstall binaries. # binaries to access the paths. # There is no reason to allow the binaries to access the paths. ############################################################################### ############################################################################### [postinstall] [postinstall] namespace.default.isolated = false namespace.default.isolated = false namespace.default.search.paths = /system/${LIB} namespace.default.search.paths = /system/${LIB} namespace.default.search.paths += /product/${LIB}