1[section.dir.map] 2 acquiescence = / 3 test = /data/tests/libc-test/src 4 5[acquiescence] 6 namespace.default.lib.paths = /data/tests/libc-test/src:/system/lib:/vendor/lib:/vendor/lib/chipsetsdk:/vendor/lib/chipset-sdk:/system/lib/chipset-pub-sdk:/system/lib/chipset-sdk:/system/lib/platformsdk:/system/lib/module:/system/lib/module/data:/system/lib/module/multimedia:/system/lib/module/security:/lib:/usr/local/lib:/usr/lib:/lib/platformsdk:/lib/chipset-pub-sdk:/sys_prod/lib 7 namespace.default.asan.lib.paths = /data/tests/libc-test/src:/system/lib:/system/lib/module:/vendor/lib:/vendor/lib/chipsetsdk:/vendor/lib/chipset-sdk:/system/lib/module/data:/system/lib/module/multimedia:/system/lib/module/security:/lib:/usr/local/lib:/usr/lib:/lib/platformsdk:/lib/chipset-pub-sdk:/sys_prod/lib 8 9[test] 10 added.nslist=ndk,ns_no_allowed_libs,ns_normal,ns_wrong_lib_path,ns_wrong_allowed_path,for_inherit_A,for_inherit_AA,inherited_class,ns_separated_flase,ns_asan_lib_path,ns_asan_permit_path 11 12 namespace.ndk.lib.paths = /system/lib/ndk 13 namespace.default.inherits = ndk 14 namespace.default.inherit.ndk.shared.libs = allow_all_shared_libs 15 namespace.ndk.inherits = default 16 namespace.ndk.inherit.default.shared.libs = allow_all_shared_libs 17 18 #ns_no_allowed_libs ,allowed libs not configed 19 namespace.ns_no_allowed_libs.separated = true 20 namespace.ns_no_allowed_libs.lib.paths = /data/tests/libc-test/src 21 22 #ns_normal ,normal namespace 23 namespace.ns_normal.separated = true 24 namespace.ns_normal.lib.paths = /data/tests/libc-test/src 25 namespace.ns_normal.allowed.libs = libdlopen_ns_dso.so 26 27 #ns_wrong_lib_path ,path in allowed_libs,but not in env or lib or permitted Path 28 namespace.ns_wrong_lib_path.separated = true 29 namespace.ns_wrong_lib_path.lib.paths = src/common/ 30 namespace.ns_wrong_lib_path.allowed.libs = libdlopen_ns_dso.so 31 namespace.ns_wrong_lib_path.permitted.paths = /data/tests 32 33 #ns_wrong_allowed_path ,path not in allowed_libs 34 namespace.ns_wrong_allowed_path.separated = true 35 namespace.ns_wrong_allowed_path.lib.paths = /data/tests/libc-test/src/functionalext/dlns 36 namespace.ns_wrong_allowed_path.allowed.libs = libdlopen_dso.so 37 38 #for testing inheritance 39 namespace.for_inherit_A.separated = true 40 #for testing inheritance 41 namespace.for_inherit_AA.separated = true 42 43 #inherited_class 44 namespace.inherited_class.separated = true 45 namespace.inherited_class.lib.paths = /data/tests/libc-test/src 46 namespace.inherited_class.allowed.libs= libdlopen_ns_dso.so:sharedlibtest.so 47 48 #ns_separated_flase 49 namespace.ns_separated_flase.separated = false 50 namespace.ns_separated_flase.lib.paths = /data/tests/libc-test/src 51 namespace.ns_separated_flase.allowed.libs = libdlopen_ns_dso.so 52 53 #ns_asan_lib_path ,testing asan.lib.paths 54 namespace.ns_asan_lib_path.separated = true 55 namespace.ns_asan_lib_path.lib.paths = /data/tests/libc-test/src 56 namespace.ns_asan_lib_path.asan.lib.paths = /data/tests/libc-test/src/B 57 58 #ns_asan_permit_path ,testing asan.permitted.paths 59 namespace.ns_asan_permit_path.separated = true 60 namespace.ns_asan_permit_path.permitted.paths = /data/tests/libc-test/src/C 61 namespace.ns_asan_permit_path.asan.permitted.paths = /data/tests/libc-test/src/B 62 63