cosmopolitan/libc/calls
Justine Tunney 47a53e143b Productionize new APE loader and more
The APE_NO_MODIFY_SELF loader payload has been moved out of the examples
folder and improved so that it works on BSD systems, and permits general
elf program headers. This brings its quality up enough that it should be
acceptable to use by default for many programs, e.g. Python, Lua, SQLite
and Python. It's the responsibility of the user to define an appropriate
TMPDIR if /tmp is considered an adversarial environment. Mac OS shall be
supported by APE_NO_MODIFY_SELF soon.

Fixes and improvements have been made to program_executable_name as it's
now the one true way to get the absolute path of the executing image.

This change fixes a memory leak in linenoise history loading, introduced
by performance optimizations in 51904e2687
This change fixes a longstanding regression with Mach system calls, that
23ae9dfceb back in February which impacted
our sched_yield() implementation, which is why no one noticed until now.

The Blinkenlights PC emulator has been improved. We now fix rendering on
XNU and BSD by not making the assumption that the kernel terminal driver
understands UTF8 since that seems to break its internal modeling of \r\n
which is now being addressed by using \e[𝑦H instead. The paneling is now
more compact in real mode so you won't need to make your font as tiny if
you're only emulating an 8086 program. The CLMUL ISA is now emulated too

This change also makes improvement to time. CLOCK_MONOTONIC now does the
right thing on Windows NT. The nanosecond time module functions added in
Python 3.7 have been backported.

This change doubles the performance of Argon2 password stretching simply
by not using its copy_block and xor_block helper functions, as they were
trivial to inline thus resulting in us needing to iterate over each 1024
byte block four fewer times.

This change makes code size improvements. _PyUnicode_ToNumeric() was 64k
in size and now it's 10k. The CJK codec lookup tables now use lazy delta
zigzag deflate (δzd) encoding which reduces their size from 600k to 200k
plus the code bloat caused by macro abuse in _decimal.c is now addressed
so our fully-loaded statically-linked hermetically-sealed Python virtual
interpreter container is now 9.4 megs in the default build mode and 5.5m
in MODE=tiny which leaves plenty of room for chibicc.

The pydoc web server now accommodates the use case of people who work by
SSH'ing into a different machine w/ python.com -m pydoc -p8080 -h0.0.0.0

Finally Python Capsulae delenda est and won't be supported in the future
2021-10-02 08:27:03 -07:00
..
struct Fix termios struct on Linux 2021-09-03 22:19:41 -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 system call support 2021-08-25 21:36:17 -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 Make numerous improvements 2021-09-28 01:52:34 -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 Make numerous improvements 2021-09-28 01:52:34 -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 Productionize new APE loader and more 2021-10-02 08:27:03 -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 Productionize new APE loader and more 2021-10-02 08:27:03 -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 Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -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
isdebuggerpresent.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08: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
isrunningundermake.c Make numerous improvements 2021-09-28 01:52:34 -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 Libc by making Python work even better 2021-08-18 22:16:23 -07:00
mkntpathat.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08: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 Make major improvements to redbean and libraries 2021-04-18 12:34:15 -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 Make numerous improvements 2021-09-28 01:52:34 -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 Make numerous improvements 2021-09-28 01:52:34 -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 Make numerous improvements 2021-09-28 01:52:34 -07:00
readlink.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
readlinkat-nt.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
readlinkat.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -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 ZIP filesystem and change its prefix 2021-08-22 01:11:53 -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
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 Make SSL handshakes much faster 2021-07-11 23:17:47 -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 Apply some touchups 2021-02-07 07:02:46 -08: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 Make numerous improvements 2021-09-28 01:52:34 -07:00
winalarm.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
wincrash.c Make numerous improvements 2021-09-28 01:52:34 -07:00
wincrash_init.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
winerr.greg.c Eliminate some flakes 2021-02-03 06:25:27 -08: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