platform_bionic/libc
Kalesh Singh 00f5906754 bionic: CFIShadow: Remove use of PAGE_SIZE macro.
The alignment of kShadowSize to a page sized multiple is
not explicitly needed, since mmap() will return a page-sized
multiple mapping.

kCfiCheckAlign remains 4k as this is chosen by the clang
compiler. [1] [2]

[1] 3568976375/clang/lib/CodeGen/CGExpr.cpp (L3433)

[2] https://clang.llvm.org/docs/ControlFlowIntegrityDesign.html#cfi-shadow

Bug: 296275298
Test: Boot 16kb device, check no cfi failures.
Test: atest -c bionic-unit-tests
Change-Id: Iac0c129c413afe01389f529f5c64051c4ffff2df
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-08-23 13:59:57 -07:00
..
arch-arm
arch-arm64 Fix the *return* types in the arm64 dynamic function dispatch. 2023-05-22 19:28:33 +00:00
arch-common/bionic Remove #if cruft. 2023-03-01 20:26:41 +00:00
arch-riscv64 Add the L() macro for local labels to <private/bionic_asm.h>. 2023-08-04 15:12:30 -07:00
arch-x86
arch-x86_64 Use L() in libc/arch-x86_64/bionic/*.S. 2023-08-07 09:34:06 -07:00
async_safe Fix mte build breakage. 2023-03-21 18:11:02 +00:00
b64/include/bionic
bionic Point to the riscv64 psABI frame pointer documentation. 2023-08-14 19:19:39 +00:00
dns
execinfo/include
fts/include
include Merge "Add some new risc-v ELF relocations." into main 2023-08-20 08:20:14 +00:00
kernel Update to v6.4 kernel headers. 2023-07-10 10:59:05 -07:00
malloc_debug Modify how the malloc debug tests run. 2023-06-30 15:09:44 -07:00
malloc_hooks
platform Merge "bionic: Fix typo in the argument passed to getauxval()" into main 2023-08-20 17:05:31 +00:00
private bionic: CFIShadow: Remove use of PAGE_SIZE macro. 2023-08-23 13:59:57 -07:00
seccomp
stdio Make multibyte result constants public. 2023-08-04 19:48:35 +00:00
system_properties Rename prop_bt. 2023-08-08 14:05:01 +00:00
tools Add __riscv_flush_icache() to <sys/cachectl.h>. 2023-07-12 16:30:55 -07:00
tzcode Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
upstream-freebsd Reuse the libm scalbn() as ldexp(). 2023-07-20 21:05:44 +00:00
upstream-netbsd Merge "Sync upstream NetBSD." into main 2023-07-20 14:21:01 +00:00
upstream-openbsd Sync upstream OpenBSD. 2023-07-19 13:36:44 -07:00
versioner-dependencies
Android.bp libm/libc: remove 'allow_untyped_symbols' flags 2023-08-01 17:23:49 +00:00
BUILD
fs_config_generator.py
libc.map.txt riscv64: add <sys/hwprobe.h>. 2023-07-28 09:29:06 -07:00
libstdc++.map.txt
MODULE_LICENSE_BSD
NOTICE Expose tzalloc()/localtime_rz()/mktime_z()/tzfree(). 2023-06-16 08:10:47 -07:00
SECCOMP_ALLOWLIST_APP.TXT
SECCOMP_ALLOWLIST_COMMON.TXT riscv64: add <sys/hwprobe.h>. 2023-07-28 09:29:06 -07:00
SECCOMP_ALLOWLIST_SYSTEM.TXT
SECCOMP_BLOCKLIST_APP.TXT
SECCOMP_BLOCKLIST_COMMON.TXT
SECCOMP_PRIORITY.TXT
SYSCALLS.TXT riscv64: use vdso for __riscv_hwprobe(). 2023-07-31 12:24:31 -07:00
version_script.txt