platform_bionic/libc/stdio
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
..
fmemopen.cpp Replace fmemopen. 2017-07-24 10:48:42 -07:00
glue.h Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC. 2015-10-23 12:32:52 -07:00
local.h Reimplement popen(3)/pclose(3). 2018-07-11 12:15:26 -07:00
parsefloat.c Start de-duplicating the regular and wide printf implementations. 2017-11-01 18:13:36 -07:00
printf_common.h Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
refill.c Reimplement popen(3)/pclose(3). 2018-07-11 12:15:26 -07:00
stdio.cpp Introduce api to track fd ownership in libc. 2018-07-19 14:28:54 -07:00
stdio_ext.cpp Add __fseterr. 2018-02-14 15:25:21 -08:00
vfprintf.cpp Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
vfscanf.cpp Simplify CT_CCL and CT_STRING inner loop. 2018-01-19 17:58:07 -08:00
vfwprintf.cpp Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
vfwscanf.c More scanf cleanup. 2017-12-12 17:10:51 -08:00