cosmopolitan/libc/vga
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
..
BUILD.mk Delete ASAN 2024-06-22 05:45:49 -07:00
readv-vga.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
rlinit-init-vga.S Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
rlinit-vesa.S Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
tty-graph.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
tty-graph.inc Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
tty-klog.greg.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
tty.greg.c Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -08:00
vga-font-default.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
vga-init.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
vga.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
writev-vga.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00