platform_bionic/libc
Ryan Prichard 96773a2daf Add BionicAllocator::memalign
Bionic needs this functionality to allocate a TLS segment with greater
than 16-byte alignment. For simplicity, this allocator only supports up
to one page of alignment.

The memory layout changes slightly when allocating an object of exactly
PAGE_SIZE alignment. Instead of allocating the page_info header at the
start of the page containing the pointer, it is allocated at the start
of the preceding page.

Bug: http://b/78026329
Test: linker-unit-tests{32,64}
Change-Id: I1c8d1cd7ca72d113bced5ee15ba8d831426b0081
2019-01-25 15:31:35 -08:00
..
arch-arm Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
arch-arm64 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
arch-common/bionic Change crtbrand for host bionic 2018-10-22 17:15:22 -07:00
arch-mips Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
arch-mips64 bionic: add vdso clock_getres 2017-12-07 09:41:48 -08:00
arch-x86 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
arch-x86_64 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
async_safe Add libc_headers header lib 2019-01-19 07:18:38 +08:00
bionic Add BionicAllocator::memalign 2019-01-25 15:31:35 -08:00
dns Merge "Replace android_open_proxy with dns_open_proxy" 2018-11-28 12:21:33 +00:00
include Add __attribute__((unused)) to __BIONIC_ERROR_FUNCTION_VISIBILITY 2019-01-16 15:41:33 +08:00
kernel Update to v4.20.1 kernel headers. 2019-01-15 07:33:14 -08:00
malloc_debug Bionic malloc debug: add a new option "abort_on_error" 2019-01-22 15:54:36 -08:00
malloc_hooks Fix malloc_hooks for hooks_write_malloc_leak_info. 2018-07-18 15:25:45 +01:00
private Add BionicAllocator::memalign 2019-01-25 15:31:35 -08:00
seccomp Add support for seccomp filter that limits setresuid/setresgid. 2019-01-19 09:09:30 +01:00
stdio Make fclose/pclose distinct. 2018-10-01 16:17:37 -07:00
stdlib Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
system_properties Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
tools genfunctosyscallnrs: maps bionic functions to syscall numbers. 2019-01-19 09:09:30 +01:00
tzcode Update the "host" bionic code tzdata lookup logic 2019-01-07 21:08:37 +00:00
upstream-freebsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
upstream-netbsd Remove unused NetBSD compatibility cruft. 2018-09-20 13:27:41 -07:00
upstream-openbsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
versioner-dependencies
Android.bp Move the linker allocator into libc 2019-01-25 15:31:35 -08:00
fs_config_generator.py
libc.map.txt conditional zygote child heap profiling + android_internal_mallopt 2019-01-23 18:30:54 +00:00
libstdc++.map.txt
MODULE_LICENSE_BSD
NOTICE Reorganize static TLS memory for ELF TLS 2019-01-11 15:34:22 -08:00
SECCOMP_BLACKLIST_APP.TXT Blacklist setregid(32) for apps. 2019-01-22 17:22:54 +01:00
SECCOMP_BLACKLIST_COMMON.TXT Split zygote's seccomp filter into two 2018-01-04 12:28:40 -08:00
SECCOMP_WHITELIST_APP.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_COMMON.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_GLOBAL.TXT
SECCOMP_WHITELIST_SYSTEM.TXT Add bpf syscall to seccomp whitelist 2018-01-18 12:08:34 -08:00
symbol_ordering libc: Sort symbols by size to reduce dirty pages 2019-01-14 11:43:41 -08:00
SYSCALLS.TXT Add lp32 and lp64 shorthands to SYSCALLS.TXT. 2018-11-09 13:57:34 -08:00
version_script.txt