diff options
author | Logan Chien <loganchien@google.com> | 2019-08-27 20:50:24 -0700 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2019-08-30 10:17:36 -0700 |
commit | b33952c777dc3068dbcdafcc14a58ed91064bd2d (patch) | |
tree | 7e4752b7a80e548e1d7b161f6477ba5fb622e53b /libc/malloc_debug/tests/malloc_debug_system_tests.cpp | |
parent | 235aad1981cf06525b35c9a3bbcbc9fbca6a8e60 (diff) |
versioner: Fix bzero/bcopy fortify
This commit replaces `bzero` with `__bionic_bzero` and `bcopy` with
`__bionic_bcopy` because `bzero` and `bcopy` are partially defined in
`libc.map.txt`. Bionic versioner raises errors because versioner treats
static inline functions as exported function definitions then it
compares the availability with the information specified in
`libc.map.txt`.
This commit fixes the problem by replacing static inline functions into
`__bionic_{bzero,bcopy}` and defining aliases for source-level
compatibility.
Test: PATH=$(pwd)/prebuilts/clang-tools/linux-x86/bin:$PATH \
bionic/tools/versioner/run_tests.py
Bug: 140110040
Change-Id: I97f2f0dc0abccd0a9fcfe5bb02f4e918362d35cc
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
0 files changed, 0 insertions, 0 deletions