cosmopolitan/libc/isystem
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
..
arpa Initial import 2020-06-15 07:18:57 -07:00
netinet Add more missing libc functionality 2022-08-06 10:50:51 -07:00
sys Make more libc improvements 2022-08-06 17:18:40 -07:00
alloca.h Initial import 2020-06-15 07:18:57 -07:00
assert.h Initial import 2020-06-15 07:18:57 -07:00
complex.h Fix some more reported issues 2022-04-28 20:36:33 -07:00
crypt.h Make more libc improvements 2022-08-06 17:18:40 -07:00
ctype.h Initial import 2020-06-15 07:18:57 -07:00
dirent.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
dlfcn.h Make more libc improvements 2022-08-06 17:18:40 -07:00
elf.h Fix isystem headers including wrong files (#108) 2021-03-06 21:06:29 -08:00
endian.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
err.h Make more libc improvements 2022-08-06 17:18:40 -07:00
errno.h Initial import 2020-06-15 07:18:57 -07:00
fcntl.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
features.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
float.h Make more libc improvements 2022-08-06 17:18:40 -07:00
fnmatch.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
getopt.h Initial import 2020-06-15 07:18:57 -07:00
grp.h Fix isystem headers including wrong files (#108) 2021-03-06 21:06:29 -08:00
iconv.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
inttypes.h Initial import 2020-06-15 07:18:57 -07:00
iso646.h Add ISO 646 header (#168) 2021-05-16 23:18:33 -07:00
langinfo.h Make more libc improvements 2022-08-06 17:18:40 -07:00
limits.h Initial import 2020-06-15 07:18:57 -07:00
locale.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
malloc.h Initial import 2020-06-15 07:18:57 -07:00
math.h Initial import 2020-06-15 07:18:57 -07:00
memory.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
netdb.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
nl_types.h Make more libc improvements 2022-08-06 17:18:40 -07:00
paths.h Initial import 2020-06-15 07:18:57 -07:00
poll.h Initial import 2020-06-15 07:18:57 -07:00
pthread.h Fix pthread isystem reference 2022-07-15 18:48:24 -07:00
pwd.h Fix isystem headers including wrong files (#108) 2021-03-06 21:06:29 -08:00
regex.h Initial import 2020-06-15 07:18:57 -07:00
sched.h Add more missing libc/libc++ functions 2022-07-22 07:20:21 -07:00
setjmp.h Initial import 2020-06-15 07:18:57 -07:00
signal.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
stdarg.h Initial import 2020-06-15 07:18:57 -07:00
stdatomic.h Make some systemic improvements 2022-05-18 16:52:36 -07:00
stdbool.h Initial import 2020-06-15 07:18:57 -07:00
stdc-predef.h Initial import 2020-06-15 07:18:57 -07:00
stddef.h Initial import 2020-06-15 07:18:57 -07:00
stdint.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
stdio.h Unbloat build config 2022-08-10 04:43:09 -07:00
stdio_ext.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
stdlib.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
stdnoreturn.h Add noreturn macro (#118) 2021-03-13 20:46:12 -08:00
string.h Initial import 2020-06-15 07:18:57 -07:00
strings.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
syslog.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
termios.h Initial import 2020-06-15 07:18:57 -07:00
tgmath.h Add missing functions to tgmath (#124) 2021-03-13 20:43:57 -08:00
thread.h Initial import 2020-06-15 07:18:57 -07:00
time.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
uio.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
unistd.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
utime.h Fix isystem headers including wrong files (#108) 2021-03-06 21:06:29 -08:00
utmp.h Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
utmpx.h Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
wait.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
wchar.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wctype.h Initial import 2020-06-15 07:18:57 -07:00
windows.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
winternl.h Initial import 2020-06-15 07:18:57 -07:00
zlib.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00