AOSP Part III — Native Foundation. Use when reasoning about Bionic (Android's
libc/libm/libdl) and the dynamic linker, linker namespaces, GWP-ASan / MTE,
memory management (jemalloc/scudo, ashmem/memfd, ION/dma-buf, lmkd, PSI),
Binder IPC (transactions, parcels, one-copy semantics, AIDL/HIDL/NDK Binder,
servicemanager, threadpool, death recipients), the HAL (Treble, HIDL→AIDL HAL
migration, vendor/system split, hwservicemanager, VINTF), or the NDK (libandroid,
JNI bindings, ABI compatibility). Chapters 7–11.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
AOSP Part III — Native Foundation. Use when reasoning about Bionic (Android's
libc/libm/libdl) and the dynamic linker, linker namespaces, GWP-ASan / MTE,
memory management (jemalloc/scudo, ashmem/memfd, ION/dma-buf, lmkd, PSI),
Binder IPC (transactions, parcels, one-copy semantics, AIDL/HIDL/NDK Binder,
servicemanager, threadpool, death recipients), the HAL (Treble, HIDL→AIDL HAL
migration, vendor/system split, hwservicemanager, VINTF), or the NDK (libandroid,
JNI bindings, ABI compatibility). Chapters 7–11.
The C/C++ layer that everything above sits on: libc, the dynamic linker,
memory infrastructure, the IPC backbone (Binder), the vendor/system contract
(HAL/Treble), and the NDK that exposes a subset of native APIs to apps.