platform_bionic/libc
Florian Mayer b887dc0b5c Fix dangling pointer in heapprofd API.
We would dlopen heapprofd_client.so, which has a static initializer [1]
that passes a pointer to of its functions to heapprofd_client_api.so.
If we dlclose heapprofd_client.so, this pointer is dangling.

[1]: https://cs.android.com/android/platform/superproject/+/master:external/perfetto/src/profiling/memory/malloc_interceptor_bionic_hooks.cc?q=symbol:g_heap_id

This is a cherry-pick of 85c7838bd9.

Bug: 189332777
Change-Id: Ia4a9d9dd7c89eceec86c6fac5f4b66de85d7604e
2021-06-04 11:15:27 +01:00
..
arch-arm Clear the stack frame pointer in _start and __bionic_clone 2021-05-07 15:00:55 -07:00
arch-arm64 setjmp/longjmp: avoid invalid values in the stack pointer. 2021-04-05 17:43:36 -07:00
arch-common/bionic Clear the stack frame pointer in _start and __bionic_clone 2021-05-07 15:00:55 -07:00
arch-x86 Clear the stack frame pointer in _start and __bionic_clone 2021-05-07 15:00:55 -07:00
arch-x86_64 setjmp/longjmp: avoid invalid values in the stack pointer. 2021-04-05 17:43:36 -07:00
async_safe bp2build: remove some bp2build_available props, use package_allowlist instead. 2021-03-19 02:06:27 -04:00
bionic Fix dangling pointer in heapprofd API. 2021-06-04 11:15:27 +01:00
dns Make res_init() work again. 2021-04-08 12:04:05 -07:00
include Update to v5.12 kernel headers. 2021-05-03 15:01:39 -07:00
kernel Update to v5.12 kernel headers. 2021-05-03 15:01:39 -07:00
malloc_debug Update API of MapInfo from libunwindstack 2021-05-13 01:50:00 +01:00
malloc_hooks Add LOCAL_LICENSE_KINDS to bionic 2021-02-19 23:38:28 +00:00
platform Disable fdtrack post-fork. 2021-04-07 19:00:45 -07:00
private Disable fdtrack post-fork. 2021-04-07 19:00:45 -07:00
seccomp Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
stdio Make fd overflow an abort. 2021-02-09 17:13:09 -08:00
system_properties Match 'Access denied finding property' log severity to SELinux 2021-04-01 16:42:03 -07:00
tools Merge "Ignore backup files left by emacs." 2021-04-20 01:24:49 +00:00
tzcode Incorporate upstream's strptime %Z/%z support. 2020-09-01 19:11:28 -07:00
upstream-freebsd Fully disable clang format where needed. 2020-01-30 08:10:17 -08:00
upstream-netbsd Make res_init() work again. 2021-04-08 12:04:05 -07:00
upstream-openbsd Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
versioner-dependencies Stop generating unused headers. 2020-02-03 17:56:06 -08:00
Android.bp Replace llndk_library with llndk clause in cc_library 2021-04-26 17:45:57 -07:00
fs_config_generator.py
libc.map.txt Disable fdtrack post-fork. 2021-04-07 19:00:45 -07:00
libstdc++.map.txt Remove dead code. 2020-02-13 22:25:02 -08:00
MODULE_LICENSE_BSD
NOTICE Fix/update notices. 2021-02-16 15:06:50 -08:00
SECCOMP_ALLOWLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_ALLOWLIST_COMMON.TXT Add userfaultfd syscall in SECCOMP allowlist 2021-03-11 19:30:08 +00:00
SECCOMP_ALLOWLIST_SYSTEM.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_COMMON.TXT Revert "Disallow vmsplice(2) for all zygote-spawned processes." 2020-06-23 17:53:35 +00:00
SECCOMP_PRIORITY.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SYSCALLS.TXT Revert "Reland: Soft-enable MAC address restrictions with allowlist." 2021-04-08 11:39:33 +02:00
version_script.txt