cosmopolitan/libc/zipos
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
..
close.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
fcntl.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
find.c Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
free.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
fstat.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
get.c Have redbean Lua repl show utf-8 when it's valid 2022-07-23 07:22:19 -07:00
lock.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
lseek.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
notat.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
open.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
parseuri.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
read.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
stat-impl.c Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
stat.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
zipos.h Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
zipos.internal.h Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
zipos.mk Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
zipos.S Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00