cosmopolitan/test/libc
Justine Tunney 42a3bb729a
Make execve() linger when it can't spoof parent
It's now possible to use execve() when the parent process isn't built by
cosmo. In such cases, the current process will kill all threads and then
linger around, waiting for the newly created process to die, and then we
propagate its exit code to the parent. This should help bazel and others

Allocating private anonymous memory is now 5x faster on Windows. This is
thanks to VirtualAlloc() which is faster than the file mapping APIs. The
fork() function also now goes 30% faster, since we are able to avoid the
VirtualProtect() calls on mappings in most cases now.

Fixes #1253
2025-01-04 21:13:37 -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 Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -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