cosmopolitan/test/libc/stdio
Justine Tunney 3265324e00
Don't relocate file descriptor memory
This change fixes #496 where ASAN spotted a race condition that could
happen in multithreaded programs, with more than OPEN_MAX descriptors
when using ZipOS or Windows NT, which require tracking open file info
and this change fixes that table so it never relocates, thus allowing
us to continue to enjoy the benefits of avoiding locks while reading.
2022-09-09 16:54:28 -07:00
..
crypt_test.c Make more libc improvements 2022-08-06 17:18:40 -07:00
devrand_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
dirstream_test.c Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
dtoa_test.c Clean up some of the threading code 2022-09-08 12:31:56 -07:00
dumphexc_test.c Make more fixes and improvements 2022-06-13 11:02:13 -07:00
ecvt_test.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
fgetln_test.c Make garbage collection thread safe 2022-09-08 02:33:01 -07:00
fgets_test.c Reduce GNU Make latency 17% for cosmo 2022-08-19 15:29:24 -07:00
fgetwc_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
fmemopen_test.c Improve memory safety 2021-10-13 17:27:13 -07:00
fputc_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
fputs_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
freopen_test.c Fix freopen so it resets stream buffer (#61) 2021-03-07 12:12:02 -08:00
fseeko_test.c Restore zip.com and .symtab files 2022-08-21 00:17:20 -07:00
ftell_test.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
fwrite_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
getdelim_test.c Clean up some code 2022-08-20 12:32:51 -07:00
getrandom_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
gz_test.c Add zlib gzip functions 2022-05-12 12:17:40 -07:00
iconv_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
joinstrlist_test.c Simplify redbean serialization code 2022-09-06 20:07:29 -07:00
memory_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
mkostempsm_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
mt19937_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
rand_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
rngset_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
spawn_test.c Clean up some code 2022-08-20 12:32:51 -07:00
test.mk Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
tmpfile_test.c Clean up some code 2022-08-20 12:32:51 -07:00
ungetc_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
vappendf_test.c Clean up some code 2022-08-20 12:32:51 -07:00