cosmopolitan/libc/calls
Justine Tunney 226aaf3547 Improve memory safety
This commit makes numerous refinements to cosmopolitan memory handling.

The default stack size has been reduced from 2mb to 128kb. A new macro
is now provided so you can easily reconfigure the stack size to be any
value you want. Work around the breaking change by adding to your main:

    STATIC_STACK_SIZE(0x00200000);  // 2mb stack

If you're not sure how much stack you need, then you can use:

    STATIC_YOINK("stack_usage_logging");

After which you can `sort -nr o/$MODE/stack.log`. Based on the unit test
suite, nothing in the Cosmopolitan repository (except for Python) needs
a stack size greater than 30kb. There are also new macros for detecting
the size and address of the stack at runtime, e.g. GetStackAddr(). We
also now support sigaltstack() so if you want to see nice looking crash
reports whenever a stack overflow happens, you can put this in main():

    ShowCrashReports();

Under `make MODE=dbg` and `make MODE=asan` the unit testing framework
will now automatically print backtraces of memory allocations when
things like memory leaks happen. Bugs are now fixed in ASAN global
variable overrun detection. The memtrack and asan runtimes also handle
edge cases now. The new tools helped to identify a few memory leaks,
which are fixed by this change.

This change should fix an issue reported in #288 with ARG_MAX limits.
Fixing this doubled the performance of MKDEPS.COM and AR.COM yet again.
2021-10-13 17:27:13 -07:00
..
struct Improve memory safety 2021-10-13 17:27:13 -07:00
typedef Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
access.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
addrusage.c Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
addtimeval.c Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
atfork.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
calls.h Improve memory safety 2021-10-13 17:27:13 -07:00
calls.mk Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
cfgetispeed.c Make whitespace changes 2021-08-13 03:20:45 -07:00
cfgetospeed.c Make whitespace changes 2021-08-13 03:20:45 -07:00
cfmakeraw.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
cfsetispeed.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
cfsetospeed.c Make whitespace changes 2021-08-13 03:20:45 -07:00
chdir-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
chdir.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
chmod.c Make numerous improvements 2021-09-28 01:52:34 -07:00
chown.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
clock.c Add clock() polyfill on Windows (#279) 2021-09-28 02:14:24 -07:00
clock_gettime-nt.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
clock_gettime.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
close-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
close.c Make numerous improvements 2021-09-28 01:52:34 -07:00
commandv.c Improve memory safety 2021-10-13 17:27:13 -07:00
copyfd.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
copyfile.c Make numerous improvements 2021-09-28 01:52:34 -07:00
copyfile.h Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
creat.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
createpipename.c Perform fine-tuning of socketpair and pipe 2021-03-16 22:44:54 -07:00
dprintf.c Change license 2020-12-27 17:18:44 -08:00
dtime.c Change license 2020-12-27 17:18:44 -08:00
dup-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
dup.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
dup2.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
dup3-sysv.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
dup3.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
ensurefds.c Improve memory safety 2021-10-13 17:27:13 -07:00
execl.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
execle.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
execlp.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
execv.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
execve-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
execve-sysv.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
execve.c Make numerous improvements 2021-09-28 01:52:34 -07:00
execvp.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
execvpe.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
faccessat-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
faccessat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
fadvise-nt.c Improve system call support 2021-08-25 21:36:17 -07:00
fadvise.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fchdir-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fchdir.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
fchmod.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
fchmodat-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fchmodat.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fchown.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fchownat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
fcntl-nt.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
fcntl-sysv.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
fcntl.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
fdatasync-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fdatasync.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fileexists.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
fixupnewfd.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
flock-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
flock.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
fstat-metal.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fstat-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fstat-sysv.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fstat.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
fstatat-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fstatat-sysv.c Fix some build breaks 2021-09-04 02:29:57 -07:00
fstatat.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
fsync.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ftok.c Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
ftruncate-nt.c Perform some minor fixups 2021-03-16 22:19:51 -07:00
ftruncate.c Perform some minor fixups 2021-03-16 22:19:51 -07:00
g_fds.c Support malloc() on bare metal 2021-02-24 00:53:24 -08:00
g_fds_init.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
g_sighandrvas.c Check for EINTR in poll$nt() 2021-01-28 15:53:06 -08:00
getauxval.c Use unsigned leb128 for magnums 2021-02-24 04:00:38 -08:00
getconsolectrlevent.h Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
getcwd-nt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
getcwd-xnu.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
getcwd.c Improve memory safety 2021-10-13 17:27:13 -07:00
getdomainname.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
getenv.c Apply some touchups 2021-02-07 07:02:46 -08:00
getfiledescriptorsize.c Change license 2020-12-27 17:18:44 -08:00
getfilesize.c Change license 2020-12-27 17:18:44 -08:00
gethostname-bsd.c Apply some touchups 2021-02-07 07:02:46 -08:00
gethostname-linux.c Apply some touchups 2021-02-07 07:02:46 -08:00
gethostname-nt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
gethostname.c Apply some touchups 2021-02-07 07:02:46 -08:00
getitimer.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
getntsyspath.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
getpgid.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
getpid.c Get all tests passing on NetBSD 2021-02-05 09:49:28 -08:00
getppid-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
getppid.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
getpriority-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
getpriority.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
getprocaddressmodule.c Change license 2020-12-27 17:18:44 -08:00
getrlimit.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
getrusage-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getrusage-sysv.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
getrusage.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
getsetpriority-nt.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
getsid.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
gettemppatha-flunk.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
gettid.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
gettimeofday-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
gettimeofday.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
getuid.c Add posix_spawn (#114) 2021-03-07 20:14:07 -08:00
grantpt.c Change license 2020-12-27 17:18:44 -08:00
internal.h Improve memory safety 2021-10-13 17:27:13 -07:00
interrupted.c Check for EINTR in poll$nt() 2021-01-28 15:53:06 -08:00
ioctl.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
ioctl.h Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
ioctl_default.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
ioctl_fioclex.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
ioctl_siocgifconf-nt.c Improve memory safety 2021-10-13 17:27:13 -07:00
ioctl_siocgifconf.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ioctl_tcgets-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ioctl_tcgets.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ioctl_tcsets-nt.c Improve linenoise and get it working on Windows 2021-08-15 14:34:05 -07:00
ioctl_tcsets.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
ioctl_tiocgwinsz-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ioctl_tiocgwinsz.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
ioctl_tiocswinsz-nt.c Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
ioctl_tiocswinsz.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
iovecsize.c Improve system call polyfills 2021-03-08 10:07:02 -08:00
ipc.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
isatty-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
isatty.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ischardev.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
isdirectory-nt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
isdirectory.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
isexecutable.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
isregularfile-nt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
isregularfile.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
issymlink-nt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
issymlink.c Improve system call support 2021-08-25 21:36:17 -07:00
kemptyfd.c Change license 2020-12-27 17:18:44 -08:00
kill-nt.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
kill.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
killpg.c Change license 2020-12-27 17:18:44 -08:00
kntprioritycombos.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
kntprioritycombos.internal.h Improve documentation 2020-12-27 07:02:35 -08:00
kntsystemdirectory.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
kntwindowsdirectory.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ktmppath.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lchown.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
link.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
linkat-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
linkat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
lseek-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
lseek.c Improve Python and Linenoise 2021-09-11 22:30:37 -07:00
lstat.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
lutimes.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
madvise-nt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
madvise.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
major.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
makedev.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
makedev.h Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
math.h Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
metaflock.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
metalfile.internal.h Improve signal handling and math 2021-02-25 18:33:33 -08:00
minor.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
mkdir.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
mkdirat-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
mkdirat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
mkfifo.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
mknod.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
mkntcmdline.c Make numerous improvements 2021-09-28 01:52:34 -07:00
mkntenvblock.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
mkntpath.c Improve memory safety 2021-10-13 17:27:13 -07:00
mkntpathat.c Improve memory safety 2021-10-13 17:27:13 -07:00
mount.c Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
mount.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
mprotect.greg.c Improve memory safety 2021-10-13 17:27:13 -07:00
nanosleep-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
nanosleep-xnu.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
nanosleep.c Support malloc() on bare metal 2021-02-24 00:53:24 -08:00
netbsdtramp.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
nice.c Perform some minor code cleanup 2021-04-06 12:46:52 -07:00
now.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
nowl.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ntaccesscheck.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ntcontext2linux.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ntmagicpaths.c Change license 2020-12-27 17:18:44 -08:00
ntmagicpaths.inc Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.internal.h Improve documentation 2020-12-27 07:02:35 -08:00
ntreturn.c Change license 2020-12-27 17:18:44 -08:00
ntsetprivilege.c Change license 2020-12-27 17:18:44 -08:00
ntspawn.c Improve memory safety 2021-10-13 17:27:13 -07:00
ntspawn.h Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
offset2overlap.c Make numerous improvements 2021-09-28 01:52:34 -07:00
onntconsoleevent.c Make numerous improvements 2021-09-28 01:52:34 -07:00
onntconsoleevent_init.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
onwincrash.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
open-nt.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
open.c Eliminate some flakes 2021-02-03 06:25:27 -08:00
openanon.c Fix Clang support 2021-02-06 00:29:09 -08:00
openat-metal.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
openat-sysv.c Improve memory safety 2021-10-13 17:27:13 -07:00
openat.c Make numerous improvements 2021-09-28 01:52:34 -07:00
openbsd.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
openpty.c Change license 2020-12-27 17:18:44 -08:00
pause.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
pipe-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
pipe-sysv.c Apply some touchups 2021-02-07 07:02:46 -08:00
pipe.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
pipe2-sysv.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
pipe2.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
posix_fadvise.c Change license 2020-12-27 17:18:44 -08:00
posix_madvise.c Change license 2020-12-27 17:18:44 -08:00
posix_openpt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
pread.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
preadv.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
prot2nt.greg.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ptrace.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ptsname.c Change license 2020-12-27 17:18:44 -08:00
ptsname_r.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
pwrite.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pwritev.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
raise.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
read-nt.c Fix writev() on the New Technology (#117) 2021-03-09 11:33:48 -08:00
read.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
readansi.c Improve memory safety 2021-10-13 17:27:13 -07:00
readlink.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
readlinkat-nt.c Improve memory safety 2021-10-13 17:27:13 -07:00
readlinkat.c Improve memory safety 2021-10-13 17:27:13 -07:00
readv-metal.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
readv-nt.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
readv-serial.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
readv.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
realpath.c Improve memory safety 2021-10-13 17:27:13 -07:00
reboot.c Improve system call support 2021-08-25 21:36:17 -07:00
releasefd.c Improve dead code elimination 2021-02-08 04:04:42 -08:00
remove.c Change license 2020-12-27 17:18:44 -08:00
rename.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
renameat-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
renameat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
reservefd.c Eliminate some flakes 2021-02-03 06:25:27 -08:00
rmdir.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
rusage2linux.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
sched_setaffinity.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sched_yield-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sched_yield.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
scheduler.h Explore comfort level with posix_spawn 2021-01-29 01:24:54 -08:00
setegid.c Perform minor fixups 2021-03-13 19:40:04 -08:00
seteuid.c Perform minor fixups 2021-03-13 19:40:04 -08:00
setitimer-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
setitimer.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
setpriority-nt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
setpriority.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
setresgid.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
setresuid.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
setrlimit.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
setsid.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigaddset.c Change license 2020-12-27 17:18:44 -08:00
sigaltstack.c Improve memory safety 2021-10-13 17:27:13 -07:00
sigbits.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigdelset.c Change license 2020-12-27 17:18:44 -08:00
sigemptyset.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigenter-freebsd.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigenter-netbsd.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigenter-openbsd.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigenter-xnu.c Improve memory safety 2021-10-13 17:27:13 -07:00
sigfillset.c Add posix_spawn (#114) 2021-03-07 20:14:07 -08:00
sigignore.c Make numerous improvements 2021-09-28 01:52:34 -07:00
siginterrupt.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
sigismember.c Add posix_spawn (#114) 2021-03-07 20:14:07 -08:00
signal.c Change license 2020-12-27 17:18:44 -08:00
sigprocmask.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
sigqueue.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigsuspend.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
sleep.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
splice.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
stat.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
stat2cosmo.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
symlink.c Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
symlinkat-nt.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
symlinkat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
sync-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sync.c Apply some touchups 2021-02-07 07:02:46 -08:00
sync_file_range.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sys_utimes_nt.c Improve build system 2021-02-19 23:03:34 -08:00
sysdebug.internal.h Make numerous improvements 2021-09-28 01:52:34 -07:00
sysinfo-nt.c Improve dead code elimination 2021-02-08 04:04:42 -08:00
sysinfo.c Make numerous improvements 2021-09-28 01:52:34 -07:00
tcdrain.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
tcflow.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
tcflush.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
tcgetattr.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
tcgetpgrp.c Change license 2020-12-27 17:18:44 -08:00
tcgetsid.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
tcsendbreak.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
tcsetattr.c Change license 2020-12-27 17:18:44 -08:00
tcsetpgrp.c Change license 2020-12-27 17:18:44 -08:00
termios.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
termios.internal.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
time.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
touch.c Improve build system 2021-02-19 23:03:34 -08:00
truncate-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
truncate.c Apply some touchups 2021-02-07 07:02:46 -08:00
ttydefaults.h Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
ttyname.c Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
ttyname_r.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
ucontext.h Improve signal handling and math 2021-02-25 18:33:33 -08:00
uname.c Make numerous improvements 2021-09-28 01:52:34 -07:00
unlink.c Make numerous improvements 2021-09-28 01:52:34 -07:00
unlink_s.c Change license 2020-12-27 17:18:44 -08:00
unlinkat-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
unlinkat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
unlockpt.c Change license 2020-12-27 17:18:44 -08:00
unmount.c Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
unsetenv.c Improve memory safety 2021-10-13 17:27:13 -07:00
usleep.c Make major improvements to stdio 2021-03-26 22:31:41 -07:00
utime.c Improve build system 2021-02-19 23:03:34 -08:00
utimensat-nt.c Improve build system 2021-02-19 23:03:34 -08:00
utimensat-sysv.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
utimensat-xnu.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
utimensat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
utimes.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
vdprintf.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
vforked.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
vmsplice.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
wait.c Fix XNU / FreeBSD / OpenBSD / RHEL5 / NT bugs 2021-01-25 18:31:17 -08:00
wait3.c Perform some minor fixups 2021-03-16 22:19:51 -07:00
wait4-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
wait4-sysv.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
wait4.c Make numerous improvements 2021-09-28 01:52:34 -07:00
wait4.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
waitpid.c Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
weirdtypes.h Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
winalarm.c Improve memory safety 2021-10-13 17:27:13 -07:00
winalarm.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
wincrash.c Improve memory safety 2021-10-13 17:27:13 -07:00
wincrash_init.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
winerr.greg.c Improve memory safety 2021-10-13 17:27:13 -07:00
write-nt.c Perform some minor fixups 2021-03-16 22:19:51 -07:00
write.c Change license 2020-12-27 17:18:44 -08:00
writev-metal.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
writev-nt.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
writev-serial.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
writev.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
writevuninterruptible.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
xattr.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
zygote.c Change license 2020-12-27 17:18:44 -08:00