cosmopolitan/libc/log
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
..
thunks Make improvements 2022-05-12 06:45:36 -07:00
addr2linepath.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
appendresourcereport.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
attachdebugger.c Clean up some code 2022-08-20 12:32:51 -07:00
backtrace.internal.h Apply even more fixups 2022-06-12 11:57:00 -07:00
backtrace2.c Make garbage collection thread safe 2022-09-08 02:33:01 -07:00
backtrace3.c Make garbage collection thread safe 2022-09-08 02:33:01 -07:00
bsd.h Add chibicc 2020-12-06 16:20:21 -08:00
check.h Make improvements 2022-05-12 06:45:36 -07:00
checkaligned.c Make improvements 2022-05-12 06:45:36 -07:00
checkfail.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
checkfail_ndebug.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
color.internal.h Make exciting improvements 2022-03-18 03:02:00 -07:00
commandvenv.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
countbranch.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countbranch_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countbranch_report.c Fold LIBC_ALG into LIBC_MEM 2022-08-13 08:32:34 -07:00
countexpr.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countexpr_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countexpr_report.c Fold LIBC_ALG into LIBC_MEM 2022-08-13 08:32:34 -07:00
cxaprintexits.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
die.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
err.c Change license 2020-12-27 17:18:44 -08:00
errx.c Change license 2020-12-27 17:18:44 -08:00
flogf.c Change license 2020-12-27 17:18:44 -08:00
gdb.h Fix Landlock Make so it can read pattern rule vars 2022-08-13 17:23:05 -07:00
gdbexec.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
gdbpath.c Change license 2020-12-27 17:18:44 -08:00
gdbsync.c Change license 2020-12-27 17:18:44 -08:00
getcallername.c WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
getsicodename.c Fix Landlock Make so it can read pattern rule vars 2022-08-13 17:23:05 -07:00
getsymbolbyaddr.c Improve memory safety 2021-10-13 17:27:13 -07:00
getttycols.c Change license 2020-12-27 17:18:44 -08:00
internal.h Fix Landlock Make so it can read pattern rule vars 2022-08-13 17:23:05 -07:00
leaks.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
libfatal.internal.h Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
log.h Make improvements 2022-08-15 15:20:36 -07:00
log.mk Make garbage collection thread safe 2022-09-08 02:33:01 -07:00
logerrno.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
logfile.initabi.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
loglevel.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
malloc_stats.c Improve synchronization 2022-04-15 15:31:55 -07:00
meminfo.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
memlog.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
memsummary.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
oncrash.c Fix build 2022-09-03 21:10:37 -07:00
oncrashthunks.S Improve pledge() usability and consistency 2022-08-07 16:18:33 -07:00
onkill.c Change sigaction_f to match sysv signature (#585) 2022-09-02 05:08:35 -07:00
perror.c Unbloat the build 2022-08-11 00:15:29 -07:00
printgarbage.c Make garbage collection thread safe 2022-09-08 02:33:01 -07:00
rop.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
showcrashreports.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
showcrashreportsearly.S Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
startfatal.c Clean up some code 2022-08-20 12:32:51 -07:00
traceme.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
traceme.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
verr.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
verrx.c Change license 2020-12-27 17:18:44 -08:00
vflogf.c Clean up some of the threading code 2022-09-08 12:31:56 -07:00
vwarn.c Change license 2020-12-27 17:18:44 -08:00
vwarnx.c Change license 2020-12-27 17:18:44 -08:00
warn.c Change license 2020-12-27 17:18:44 -08:00
warnx.c Change license 2020-12-27 17:18:44 -08:00
watch-hook.S Make improvements 2022-08-15 15:20:36 -07:00
watch.c Make improvements 2022-08-15 15:20:36 -07:00