platform_bionic/libc
Peter Collingbourne 2659d7b6c2 Add some slack at the end of large allocations when target SDK level < S.
This works around buggy applications that read a few bytes past the
end of their allocation, which would otherwise cause a segfault with
the concurrent Scudo change that aligns large allocations to the right.

Because the implementation of
android_set_application_target_sdk_version() lives in the linker,
we need to introduce a hook so that libc is notified when the target
SDK version changes.

Bug: 181344545
Change-Id: Id4be6645b94fad3f64ae48afd16c0154f1de448f
2021-03-05 14:29:17 -08:00
..
arch-arm (NFC) Symbolic names for Android ELF note types. 2021-01-05 15:25:39 -08:00
arch-arm64 PAC/BTI: no need to keep using hint. 2021-01-25 08:49:01 -08:00
arch-common/bionic PAC/BTI: no need to keep using hint. 2021-01-25 08:49:01 -08:00
arch-x86 x86/x86_64: cleanup signal trampolines 2020-09-25 15:58:42 -07:00
arch-x86_64 x86/x86_64: cleanup signal trampolines 2020-09-25 15:58:42 -07:00
async_safe Add "product_available" to product available modules 2020-11-11 15:29:47 +09:00
bionic Add some slack at the end of large allocations when target SDK level < S. 2021-03-05 14:29:17 -08:00
dns Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
include Merge "[MemInit] Remove old API, introduce new MemInit API." 2021-02-01 23:32:24 +00:00
kernel Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
malloc_debug alloc_debug: get load_bias error 2020-09-28 07:15:32 +00:00
malloc_hooks Work around issues with aligned_alloc() and -O2. 2020-09-24 17:17:57 -07:00
platform Remove the now-unnecessary android_mallopt() options. 2021-01-15 18:08:25 -08:00
private Add some slack at the end of large allocations when target SDK level < S. 2021-03-05 14:29:17 -08:00
seccomp Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
stdio Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
system_properties removing ro.kernel.ebpf.supported property 2021-01-11 18:10:58 -08:00
tools Changes to bionic/libc to demonstrate mixed builds. 2020-12-17 11:05:01 -05: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 Reimplement our no-op utmp.h functions more simply. 2020-08-07 17:07:31 -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 Merge changes from topic "builtins-exported" 2021-02-02 00:30:03 +00:00
BUILD.bazel Changes to bionic/libc to demonstrate mixed builds. 2020-12-17 11:05:01 -05:00
fs_config_generator.py
libc.map.txt Add bionic headers for process_madvise 2021-01-14 19:34:40 -08:00
libstdc++.map.txt Remove dead code. 2020-02-13 22:25:02 -08:00
MODULE_LICENSE_BSD
NOTICE Sync libm with upstream FreeBSD. 2021-01-26 14:19:25 -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 Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07: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 Add bionic headers for process_madvise 2021-01-14 19:34:40 -08:00
version_script.txt