diff options
author | Jiyong Park <jiyong@google.com> | 2017-06-30 15:36:12 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2017-07-13 10:18:56 +0900 |
commit | f1cee9662f689609bab846052f1eabb452d35064 (patch) | |
tree | 8730b37b4c5483ae3c9e45795aaaa511f7c78fae /libdl | |
parent | 73d17e7720983d4aee5ebe5d2910bcc3fcb8e1b8 (diff) | |
download | bionic-f1cee9662f689609bab846052f1eabb452d35064.tar.gz |
__cfi_slowpath[_diag] are available to NDK and VNDK clients
When a vendor lib (or vendor-available platform lib) is built with
sanitizer on, __cfi_slowpath_diag is required. However, when building
for those libs, the llndk stub of libdl.so is provided for them and
__cfi_slowpath_diag is not exposed to the stub. In order to make the
sanitizing build successful, expose the symbol.
These symbols are also exposed to NDK clients since we may want to CFI
for unbundled apps.
Bug: 63053790
Bug: 63342219
Test: BOARD_VNDK_VERSION=current m -j libstagefright_foundation.vendor
Change-Id: I081deddb4f66354aaecec4b395d4e17e5566c578
Diffstat (limited to 'libdl')
-rw-r--r-- | libdl/libdl.arm.map | 10 | ||||
-rw-r--r-- | libdl/libdl.arm64.map | 10 | ||||
-rw-r--r-- | libdl/libdl.map.txt | 10 | ||||
-rw-r--r-- | libdl/libdl.mips.map | 10 | ||||
-rw-r--r-- | libdl/libdl.mips64.map | 10 | ||||
-rw-r--r-- | libdl/libdl.x86.map | 10 | ||||
-rw-r--r-- | libdl/libdl.x86_64.map | 10 |
7 files changed, 49 insertions, 21 deletions
diff --git a/libdl/libdl.arm.map b/libdl/libdl.arm.map index 668f00888..292bd9711 100644 --- a/libdl/libdl.arm.map +++ b/libdl/libdl.arm.map @@ -34,11 +34,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -48,4 +52,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.arm64.map b/libdl/libdl.arm64.map index 8270fe99d..2fe2c7b94 100644 --- a/libdl/libdl.arm64.map +++ b/libdl/libdl.arm64.map @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.map.txt b/libdl/libdl.map.txt index a4c6483c4..408d4dcc9 100644 --- a/libdl/libdl.map.txt +++ b/libdl/libdl.map.txt @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.mips.map b/libdl/libdl.mips.map index 8270fe99d..2fe2c7b94 100644 --- a/libdl/libdl.mips.map +++ b/libdl/libdl.mips.map @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.mips64.map b/libdl/libdl.mips64.map index 8270fe99d..2fe2c7b94 100644 --- a/libdl/libdl.mips64.map +++ b/libdl/libdl.mips64.map @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.x86.map b/libdl/libdl.x86.map index 8270fe99d..2fe2c7b94 100644 --- a/libdl/libdl.x86.map +++ b/libdl/libdl.x86.map @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; diff --git a/libdl/libdl.x86_64.map b/libdl/libdl.x86_64.map index 8270fe99d..2fe2c7b94 100644 --- a/libdl/libdl.x86_64.map +++ b/libdl/libdl.x86_64.map @@ -33,11 +33,15 @@ LIBC_N { dlvsym; # introduced=24 } LIBC; +LIBC_OMR1 { # future + global: + __cfi_slowpath; # future + __cfi_slowpath_diag; # future +} LIBC_N; + LIBC_PLATFORM { global: __cfi_init; - __cfi_slowpath; - __cfi_slowpath_diag; android_dlwarning; android_get_application_target_sdk_version; android_set_application_target_sdk_version; @@ -47,4 +51,4 @@ LIBC_PLATFORM { android_create_namespace; android_link_namespaces; android_get_exported_namespace; -} LIBC_N; +} LIBC_OMR1; |