cosmopolitan/test/libc/intrin
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 Improve memory manager and signal handling 2024-12-27 01:33:00 -08:00
cosmo_once_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
countbits_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
demangle_cases.inc Write more __demangle() tests 2024-06-02 07:37:15 -07:00
demangle_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
describeflags_test.c Avoid linker conflicts on DescribeFoo symbols 2024-08-24 18:10:22 -07:00
describegidlist_test.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
describesigset_test.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
dos2errno_test.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fmax_test.c Release Cosmopolitan v3.6.0 2024-07-23 03:28:19 -07:00
formatint32_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getenv_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kprintf_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
lock_test.c Fix fork waiter leak in nsync 2024-12-31 01:30:13 -08:00
lockipc_test.c Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
lockscale_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
magicu_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
memchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memcmp_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memmove_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
memrchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memset_test.c Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
mmap_scalability_test.c Use better memory strategy on Windows 2024-07-20 02:20:03 -07:00
mmap_test.c Make execve() linger when it can't spoof parent 2025-01-04 21:13:37 -08:00
mprotect_test.c Improve memory manager and signal handling 2024-12-27 01:33:00 -08:00
mremap_test.c Use better memory strategy on Windows 2024-07-20 02:20:03 -07:00
munmap_test.c Simplify memory manager code 2024-12-28 17:09:28 -08:00
popcnt_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_lock2_test.c Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
pthread_mutex_lock_test.c Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
putenv_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rand64_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
sched_yield_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
stack_test.c Reduce stack virtual memory consumption on Linux 2024-12-25 20:58:08 -08:00
strchr_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcmp_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
strlen_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
strrchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strsignal_r_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tree_test.c Write more runtime tests and fix bugs 2025-01-01 22:25:22 -08:00