cosmopolitan/tool
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
..
args Invent new cosmo_args() api 2024-11-13 01:19:57 -08:00
build Build tool for hunting down flakes 2024-12-24 11:36:16 -08:00
cosmocc Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
curl Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
decode Support merging many .a files into one .a file 2024-09-05 19:28:14 -07:00
emacs Make Emacs load 2x faster 2024-08-23 20:08:05 -07:00
hello Write more runtime tests and fix bugs 2025-01-01 22:25:22 -08:00
lambda Update Musl Libc code 2024-07-30 22:51:29 -07:00
net Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -08:00
plinko Make improvements 2024-09-01 01:27:47 -07:00
scripts Fix ordering of pthread_create(pthread_t *thread) 2025-01-03 17:34:29 -08:00
viz Improve Windows sleep accuracy from 15ms to 15µs 2024-12-06 23:03:57 -08:00
zsh Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00