cosmopolitan/libc/nt
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
..
advapi32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
comdlg32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
enum Fix some win32 definitions 2022-03-22 19:54:36 -07:00
gdi32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
iphlpapi Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
kernel32 Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
MsWSock Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
netapi32 Initial import 2020-06-15 07:18:57 -07:00
nt Improve documentation 2020-12-27 07:02:35 -08:00
ntdll Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
pdh Fix some win32 definitions 2022-03-22 19:54:36 -07:00
PowerProf Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
psapi Fix some win32 definitions 2022-03-22 19:54:36 -07:00
shell32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
struct Fix some win32 definitions 2022-03-22 19:54:36 -07:00
thunk Improve system call support on NT 2022-04-07 20:30:04 -07:00
typedef Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
url Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
user32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
ws2_32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
accounting.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
automation.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
codegen.h Make improvements 2020-12-01 03:43:40 -08:00
codegen.sh Add WIN32 symbols for OpenGL support (#304) 2021-10-26 14:18:13 -07:00
comdlg.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
console.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
createfile.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
debug.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dll.h Make numerous improvements 2021-09-28 01:52:34 -07:00
efi.h Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
errors.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
events.h Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
files.h Make numerous improvements 2021-09-28 01:52:34 -07:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
iphlpapi.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
master.sh Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
memory.h Get life.com in MODE=tiny back down to 12kb 2022-03-23 08:09:01 -07:00
messagebox.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt.mk Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
ntdll.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ntdllimport.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ntdllimport.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
paint.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
pdh.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
pedef.internal.h Add UEFI support 2021-02-21 21:33:04 -08:00
privilege.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
process.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
registry.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
runtime.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
signals.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
startupinfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
synchronization.h Make improvements 2022-03-16 13:40:10 -07:00
system.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
systeminfo.h Fix cosmopolitan.h for C++ 2021-02-01 04:04:44 -08:00
sysv2nt.s Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
thread.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
version.h Make improvements 2022-03-16 13:40:10 -07:00
windows.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
winsock.h Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00