cosmopolitan/libc/nt
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -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 issues and do some code cleanup 2022-05-23 10:15:53 -07:00
gdi32 Unbloat build config 2022-08-10 04:43:09 -07:00
iphlpapi Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
kernel32 Unbloat build config 2022-08-10 04:43:09 -07:00
MsWSock Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
nt Correct more typos (#500) 2022-07-21 20:53:30 -07:00
ntdll Unbloat build config 2022-08-10 04:43:09 -07:00
pdh Fix some win32 definitions 2022-03-22 19:54:36 -07:00
PowrProf Make more fixes and improvements 2022-04-21 13:44:59 -07:00
psapi Fix some win32 definitions 2022-03-22 19:54:36 -07:00
struct Make fixes and improvements 2022-06-25 21:09:09 -07:00
thunk Make improvements 2022-04-24 10:06:05 -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 Unbloat build config 2022-08-10 04:43:09 -07:00
ws2_32 Make fixes and improvements 2022-06-25 21:09:09 -07:00
accounting.h Make improvements 2022-05-28 00:28:09 -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 Improve synchronization 2022-04-15 15:31:55 -07: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 Make improvements 2022-04-24 10:06:05 -07:00
events.h Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
files.h Fix bugs and make improvements 2022-04-20 10:05:34 -07:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Improve synchronization 2022-04-15 15:31:55 -07:00
iphlpapi.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
master.sh Unbloat build config 2022-08-10 04:43:09 -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 Unbloat build config 2022-08-10 04:43:09 -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 Make fixes and improvements 2022-05-19 16:57:49 -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 Improve threading support further 2022-05-17 04:14:28 -07:00
version.h Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
windows.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
winsock.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00