platform_bionic/libc/async_safe
Josh Gao f6e5b58260 Introduce api to track fd ownership in libc.
Add two functions to allow objects that own a file descriptor to
enforce that only they can close their file descriptor.

Use them in FILE* and DIR*.

Bug: http://b/110100358
Test: bionic_unit_tests
Test: aosp/master boots without errors
Test: treehugger
Change-Id: Iecd6e8b26c62217271e0822dc3d2d7888b091a45
2018-07-19 14:28:54 -07:00
..
include/async_safe Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
Android.bp Build recovery variant of the dynamic linker 2018-06-08 14:49:56 +09:00
async_safe_log.cpp Introduce api to track fd ownership in libc. 2018-07-19 14:28:54 -07:00