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