cosmopolitan/libc/calls
Justine Tunney 281a0f2730 Implement raw system call for redbean lua code
You can now call functions like fork() from Lua and it'll work across
all supported platforms, including Windows. This gives you a level of
control of the system that Lua traditionally hasn't been able to have
due to its focus on old portable stdio rather modern POSIX APIs. Demo
code has been added to redbean-demo.com to show how it works.

This change also modifies Lua so that integer literals with a leading
zero will be interpreted as octal. That should help avoid shooting in
the foot with POSIX APIs that frequently use octal mode bits.

This change fixes a bug in opendir(".") on New Technology.

Lastly, redbean will now serve crash reports to private network IPs.
This is consistent with other frameworks. However that isn't served
to public IPs unless the -E flag is passed to redbean at startup.
2022-04-13 08:53:24 -07:00
..
struct Improve signals and memory protection 2022-04-12 22:11:00 -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 Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
addtimespec.c Make improvements 2022-03-16 13:40:10 -07:00
addtimeval.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
atfork.c Improve locks and signals 2022-04-12 05:20:17 -07:00
calls.h Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
calls.mk Fix some win32 definitions 2022-03-22 19:54:36 -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 Improve signals and memory protection 2022-04-12 22:11:00 -07:00
chdir.c Polish recent changes and make improvements 2022-03-19 03:37:00 -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 Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
close-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
close.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
commandv.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
copyfd.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
copyfile.c Make improvements 2022-03-16 13:40:10 -07:00
copyfile.h Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
creat.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
createpipename.c Perform fine-tuning of socketpair and pipe 2021-03-16 22:44:54 -07:00
describeframe.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
describemapping.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
directmap-metal.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
directmap-nt.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
directmap.c Improve signals and memory protection 2022-04-12 22:11:00 -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 Improve system call support on NT 2022-04-07 20:30:04 -07:00
dup.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
dup2.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
dup3-sysv.c Fix more things 2022-03-24 00:12:29 -07:00
dup3.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
ensurefds.c Improve locks and signals 2022-04-12 05:20:17 -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 Get Redbean fork() working on the New Technology 2022-03-20 08:01:14 -07:00
execve-sysv.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
execve.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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 system call support on NT 2022-04-07 20:30:04 -07:00
fadvise-nt.c Improve system call support 2021-08-25 21:36:17 -07:00
fadvise.c Improve system call support on NT 2022-04-07 20:30:04 -07: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 Improve system call support on NT 2022-04-07 20:30:04 -07:00
fchmodat.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
fchown.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
fchownat.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
fcntl-nt.c Improve locks and signals 2022-04-12 05:20:17 -07:00
fcntl-sysv.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
fcntl.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
fdatasync-nt.c Make improvements 2022-04-07 00:15:35 -07:00
fdatasync.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
fileexists.c Polish recent changes and make improvements 2022-03-19 03:37:00 -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 signal handling work well across platforms 2022-03-25 07:28:57 -07:00
fmodl.S Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
fstat-metal.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fstat-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
fstat-sysv.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
fstat.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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 Improve system call support on NT 2022-04-07 20:30:04 -07:00
fsync.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
ftok.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
ftruncate-nt.c Perform some minor fixups 2021-03-16 22:19:51 -07:00
ftruncate.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
g_fds.c Fix more things 2022-03-24 00:12:29 -07:00
g_fds_init.S Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
g_sighandrvas.c Improve locks and signals 2022-04-12 05:20:17 -07:00
getauxval.c Make improvements 2022-04-07 00:15:35 -07:00
getconsolectrlevent.internal.h Improve locks and signals 2022-04-12 05:20:17 -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 Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
getdomainname.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -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 Restart CI for New Technology and UBSAN hunting 2022-03-21 04:32:57 -07:00
gethostname.c Restart CI for New Technology and UBSAN hunting 2022-03-21 04:32:57 -07:00
getitimer.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
getloadavg.c Fix some win32 definitions 2022-03-22 19:54:36 -07:00
getntsyspath.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
getpgid.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
getppid-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
getppid.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
getpriority-nt.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
getpriority.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
getprocaddressmodule.c Change license 2020-12-27 17:18:44 -08:00
getrlimit.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
getrusage-nt.c Fix rusage memory reporting on NT 2022-03-31 17:07:30 -07:00
getrusage-sysv.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
getrusage.c Add support for symbol table in .com files 2022-03-23 06:34:46 -07:00
getsetpriority-nt.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
getsid.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
gettemppatha-flunk.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07: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 Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
grantpt.c Change license 2020-12-27 17:18:44 -08:00
internal.h Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
interrupts-nt.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
ioctl.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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 Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
ioctl_siocgifconf-nt.c Improve locks and signals 2022-04-12 05:20:17 -07:00
ioctl_siocgifconf.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
ioctl_tcgets-nt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ioctl_tcgets.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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 Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
ioctl_tiocgwinsz-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
ioctl_tiocgwinsz.c Polish recent changes and make improvements 2022-03-19 03:37:00 -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 Improve system call support on NT 2022-04-07 20:30:04 -07:00
ischardev.c Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
isdirectory-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
isdirectory.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
isexecutable.c Fix some win32 definitions 2022-03-22 19:54:36 -07:00
isregularfile-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
isregularfile.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
issymlink-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
issymlink.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
kemptyfd.c Change license 2020-12-27 17:18:44 -08:00
kill-nt.c Improve locks and signals 2022-04-12 05:20:17 -07:00
kill.c Trim down MODE= linkage slightly 2022-04-12 08:05:22 -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 Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kntwindowsdirectory.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ktmppath.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07: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 system call support on NT 2022-04-07 20:30:04 -07:00
loadavg-nt.c Fix some win32 definitions 2022-03-22 19:54:36 -07:00
loadavg.internal.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
lseek-nt.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
lseek.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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 Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
madvise.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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 Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -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 Improve system call support on NT 2022-04-07 20:30:04 -07:00
mkdirat.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
mkfifo.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
mknod.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
mkntcmdline.c Make numerous improvements 2021-09-28 01:52:34 -07:00
mkntenvblock.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
mkntpath.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
mkntpathat.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
mman.greg.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -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
mremap-sysv.greg.c Improve locks and signals 2022-04-12 05:20:17 -07:00
munmap-metal.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
munmap-sysv.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
nanosleep-nt.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
nanosleep-xnu.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
nanosleep.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07: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 Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
nowl.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ntaccesscheck.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
ntcontext2linux.c Improve locks and signals 2022-04-12 05:20:17 -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 system call support on NT 2022-04-07 20:30:04 -07:00
ntspawn.h Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
offset2overlap.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
onntconsoleevent.c Improve locks and signals 2022-04-12 05:20:17 -07:00
onntconsoleevent_init.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
onwincrash.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
open-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
open.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
openanon.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
openat-metal.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
openat-sysv.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
openat.c Improve system call support on NT 2022-04-07 20:30:04 -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 Improve locks and signals 2022-04-12 05:20:17 -07:00
pipe-nt.c Make improvements 2022-04-07 00:15:35 -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 Fix more things 2022-03-24 00:12:29 -07:00
preadv.c Add XNU magnums for preadv() and writev() 2022-04-12 01:10:26 -07:00
program_executable_name.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
ptrace.c Get strace.com working beautifully 2022-04-06 09:43:11 -07: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 Fix more things 2022-03-24 00:12:29 -07:00
pwritev.c Add XNU magnums for preadv() and writev() 2022-04-12 01:10:26 -07:00
raise.c Trim down MODE= linkage slightly 2022-04-12 08:05:22 -07:00
read-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
read.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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 system call support on NT 2022-04-07 20:30:04 -07:00
readlinkat.c Improve system call support on NT 2022-04-07 20:30:04 -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 Make improvements 2022-03-16 13:40:10 -07:00
readv.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
realpath.c Make improvements 2022-03-16 13:40:10 -07:00
reboot.c Improve system call support 2021-08-25 21:36:17 -07:00
releasefd.c Improve locks and signals 2022-04-12 05:20:17 -07:00
remove.c Fix more things 2022-03-24 00:12:29 -07: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 system call support on NT 2022-04-07 20:30:04 -07:00
reservefd.c Improve locks and signals 2022-04-12 05:20:17 -07: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
samplepids.c Improve locks and signals 2022-04-12 05:20:17 -07:00
sched_setaffinity.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
sched_yield-nt.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
sched_yield.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
scheduler.h Explore comfort level with posix_spawn 2021-01-29 01:24:54 -08:00
sedebug.c Fix some win32 definitions 2022-03-22 19:54:36 -07:00
setegid.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
seteuid.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
setitimer-nt.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
setitimer.c Fix more things 2022-03-24 00:12:29 -07:00
setpgid.c Improve signals and memory protection 2022-04-12 22:11:00 -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 Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
setsid.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
sig.c Trim down MODE= linkage slightly 2022-04-12 08:05:22 -07:00
sig.internal.h Trim down MODE= linkage slightly 2022-04-12 08:05:22 -07:00
sig2.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigaction.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigaddset.c Change license 2020-12-27 17:18:44 -08:00
sigaltstack.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
sigbits.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigchld-nt.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07: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 Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigenter-netbsd.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigenter-openbsd.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigenter-xnu.c Improve signals and memory protection 2022-04-12 22:11:00 -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 Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigprocmask.c Improve locks and signals 2022-04-12 05:20:17 -07:00
sigqueue.c Make numerous improvements 2021-09-28 01:52:34 -07:00
sigsuspend.c Improve locks and signals 2022-04-12 05:20:17 -07:00
sigwinch-nt.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
sleep.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
splice.c Make improvements 2022-03-16 13:40:10 -07: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
strace.internal.h Improve system call support on NT 2022-04-07 20:30:04 -07:00
strace_dirfd.greg.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
strace_rlimit.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
strace_sigaction.greg.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
strace_sigset.greg.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
strace_stat.greg.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
strace_timespec.greg.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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 system call support on NT 2022-04-07 20:30:04 -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
sysinfo-nt.c Fix some win32 definitions 2022-03-22 19:54:36 -07:00
sysinfo.c Fix some win32 definitions 2022-03-22 19:54:36 -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 Import C++ Standard Template Library 2022-03-22 06:41:54 -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
timecritical.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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 VAX/OS2/DOS/AMIGA code from GNU Make 2022-03-18 21:39:44 -07:00
ttyname_r.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
ucontext.h Improve signal handling and math 2021-02-25 18:33:33 -08:00
umask.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
uname.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
unlink.c Make numerous improvements 2021-09-28 01:52:34 -07:00
unlink_s.c Improve locks and signals 2022-04-12 05:20:17 -07:00
unlinkat-nt.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
unlinkat.c Improve system call support on NT 2022-04-07 20:30:04 -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 Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
usleep.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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 system call support on NT 2022-04-07 20:30:04 -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
vmsplice.c Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
wait.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
wait3.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
wait4-nt.c Improve locks and signals 2022-04-12 05:20:17 -07:00
wait4-sysv.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
wait4.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
wait4.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
waitpid.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
weirdtypes.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wincrash.c Improve locks and signals 2022-04-12 05:20:17 -07:00
wincrash_init.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
write-nt.c Improve locks and signals 2022-04-12 05:20:17 -07:00
write.c Make signal handling work well across platforms 2022-03-25 07:28:57 -07:00
writev-metal.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
writev-nt.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
writev-serial.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
writev.c Make signal handling work well across platforms 2022-03-25 07:28:57 -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