cosmopolitan/test/libc/calls
Justine Tunney ebf784d4f5
Make improvements
- Introduce ualarm() function
- Make rename() report EISEMPTY on Windows
- Always raise EINVAL upon open(O_RDONLY|O_TRUNC)
- Add macro so ./configure will detect SOCK_CLOEXEC
- Fix O_TRUNC without O_CREAT not working on Windows
- Let fcntl(F_SETFL) change O_APPEND status on Windows
- Make sure pwrite() / pread() report ESPIPE on sockets
- Raise ESPIPE on Windows when pwrite() is used on pipe
- Properly compute O_APPEND CreateFile() flags on Windows
- Don't require O_DIRECTORY to open directories on Windows
- Fix more instances of Windows reporting EISDIR and ENOTDIR
- Normalize EFTYPE and EMLINK to ELOOP on NetBSD and FreeBSD
- Make unlink() / rmdir() work on read-only files on Windows
- Validate UTF-8 on Windows paths to fix bug with overlong NUL
- Always print signal name to stderr when crashing due to SIG_DFL
- Fix Windows bug where denormalized paths >260 chars didn't work
- Block signals on BSDs when thread exits before trashing its own stack
2023-08-21 02:34:17 -07:00
..
access_test.c Make ZipOS and Qemu work better 2023-08-15 18:32:50 -07:00
chdir_test.c Make fixes and improvements 2022-10-19 07:19:19 -07:00
clock_getres_test.c Clean up some code 2022-08-20 12:32:51 -07:00
clock_gettime_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
clock_nanosleep_test.c Remove unnecessary STRACE() statement 2022-11-08 15:33:16 -08:00
close_test.c Fix close(1) bug on Windows 2023-07-28 03:56:56 -07:00
closefrom_test.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
commandv_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
copy_file_range_test.c Work around copy_file_range() GitHub Actions issue 2022-09-19 16:12:56 -07:00
diagnose_syscall_test.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
dup_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
execve_test.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
fcntl_test.c Make improvements 2023-08-21 02:34:17 -07:00
fexecve_test.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
fileexists_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
ftruncate_test.c Update tests and CPU detection for Blink 2023-01-18 00:56:09 -08:00
getcontext_test.c Hunt down more bugs 2023-07-03 18:43:29 -07:00
getcwd_test.c Implement more toolchain fixes 2023-06-18 05:39:31 -07:00
getgroups_test.c Fix getgroups / setgroups tests across platforms 2022-09-18 03:18:38 -07:00
getitimer_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
getpriority_test.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
ioctl_test.c Make improvements 2023-08-21 02:34:17 -07:00
life.c Make improvements to locking 2022-06-19 01:30:12 -07:00
lock2_test.c Make fixes and improvements 2022-10-19 07:19:19 -07:00
lock_ofd_test.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
lock_test.c Remove old stack code and improve dirstream 2023-08-16 07:54:40 -07:00
lseek_test.c Make improvements 2023-08-21 02:34:17 -07:00
makedirs_test.c Further improve cocmd interpreter 2022-10-12 10:44:54 -07:00
mkdir_test.c Greatly expand system() shell code features 2022-10-11 21:30:31 -07:00
mkntcmdline_test.c Support argv[0] munging on Windows 2023-01-03 03:22:40 -08:00
mkntenvblock_test.c Polyfill fchmodat() 2023-07-28 07:41:43 -07:00
mkntpath_test.c Fix breakages in Linux-only build modes 2023-07-09 19:51:44 -07:00
open_test.c Make improvements 2023-08-21 02:34:17 -07:00
openbsd_test.c Create unit test framework for subprocesses 2022-09-03 18:02:01 -07:00
pipe_test.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
pledge2_test.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
pledge_test.c Make improvements 2023-08-21 02:34:17 -07:00
poll_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
posix_fadvise_test.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
pread_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
preadv_test.c Make important improvements 2022-09-14 22:39:08 -07:00
printargs_test.c Fix BSD regressions 2023-07-01 00:17:33 -07:00
pwrite_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
raise_race_test.c Implement pthread_atfork() 2022-10-16 12:25:13 -07:00
raise_test.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
read_test.c Make ZipOS and Qemu work better 2023-08-15 18:32:50 -07:00
readansi_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
readlinkat_test.c Make improvements 2023-08-21 02:34:17 -07:00
renameat_test.c Make improvements 2023-08-21 02:34:17 -07:00
reservefd_test.c Make improvements 2023-08-21 02:34:17 -07:00
sched_getaffinity_test.c Fix small matters and improve sysconf() 2023-08-17 00:32:11 -07:00
sched_setscheduler_test.c Brush up some more code 2023-07-10 10:17:26 -07:00
seccomp_test.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
setitimer_test.c Improve Windows Console I/O 2023-08-08 05:44:40 -07:00
setrlimit_test.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
sigaction_test.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
signal_test.c Make improvements 2023-07-10 04:35:14 -07:00
sigpending_test.c Introduce sigtimedwait() and sigwaitinfo() 2022-10-10 07:39:44 -07:00
sigprocmask_test.c Fix inability to add some signals to mask on NT (#596) 2022-09-06 18:35:26 -07:00
sigsuspend_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
sigtimedwait_test.c Introduce sigtimedwait() and sigwaitinfo() 2022-10-10 07:39:44 -07:00
splice_test.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
stat_test.c Make ZipOS and Qemu work better 2023-08-15 18:32:50 -07:00
statfs_test.c Mint APE Loader v1.7 2023-08-17 09:04:50 -07:00
symlinkat_test.c Remove printf() linking hack 2023-06-17 10:13:50 -07:00
test.mk Make improvements 2023-08-21 02:34:17 -07:00
timespec_test.c Remove old stack code and improve dirstream 2023-08-16 07:54:40 -07:00
tiny64.elf Bump support up to FreeBSD 13 and NetBSD 9.2 2022-06-11 10:36:17 -07:00
tkill_test.c Make improvements 2023-07-10 04:35:14 -07:00
unlinkat_test.c Make improvements 2023-08-21 02:34:17 -07:00
unveil_test.c Make improvements 2023-06-15 14:50:53 -07:00
utimensat_test.c Fix futimes() regression 2022-10-05 19:25:07 -07:00
vfork_test.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
write_test.c Fully support OpenBSD 7.3 2023-07-01 18:14:27 -07:00
writev_test.c Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
zipread.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00