cosmopolitan/test/libc
Justine Tunney 29eb7e67bb
Fix fork() regression on Windows
Recent optimizations to fork() introduced a regression, that could cause
the subprocess to fail unexpectedly, when TlsAlloc() returns a different
index. This is because we were burning the indexes into the displacement
of x86 opcodes. So when fork() happened and the executable memory copied
it would use the old index. Right now the way this is being solved is to
not copy the executable on fork() and then re-apply code changes. If you
need to be able to preserve self-modified code on fork, reach out and we
can implement a better solution for you. This gets us unblocked quickly.
2025-01-05 09:25:23 -08:00
..
calls Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -08:00
fmt Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
intrin Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -08:00
log Write more runtime tests and fix bugs 2025-01-01 22:25:22 -08:00
mem Make bulk_free() go faster 2024-12-23 20:31:57 -08:00
nexgen32e Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
proc Fix fork() regression on Windows 2025-01-05 09:25:23 -08:00
runtime Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
sock Write more runtime tests and fix bugs 2025-01-01 22:25:22 -08:00
stdio Remove old shuffle header 2024-12-30 03:03:32 -08:00
str Make strcasestr() faster 2024-12-12 22:50:20 -08:00
system Fix bug with systemvpe() 2025-01-02 09:19:59 -08:00
thread Fix fork waiter leak in nsync 2024-12-31 01:30:13 -08:00
time Update Musl Libc code 2024-07-30 22:51:29 -07:00
tinymath Release Cosmopolitan v3.8.0 2024-08-30 20:14:07 -07:00
x Remove old shuffle header 2024-12-30 03:03:32 -08:00
xed Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
BUILD.mk Upgrade to 2022-era LLVM LIBCXX 2024-05-27 02:12:27 -07:00