cosmopolitan/libc/calls/struct
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
..
bpf.h Improve system calls 2022-07-08 06:42:03 -07:00
dirent.h Make more libc improvements 2022-08-06 17:18:40 -07:00
filter.h Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
flock.h Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
framebufferfixedscreeninfo.h Initial import 2020-06-15 07:18:57 -07:00
framebuffervirtualscreeninfo.h Initial import 2020-06-15 07:18:57 -07:00
iovec.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
itimerval.h Initial import 2020-06-15 07:18:57 -07:00
metasigaltstack.h Improve memory safety 2021-10-13 17:27:13 -07:00
metastat.internal.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
metatermios.internal.h Apply some touchups 2021-02-07 07:02:46 -08:00
rlimit.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
rusage.h Improve system calls 2022-07-08 06:42:03 -07:00
sched_param.h Add more missing libc/libc++ functions 2022-07-22 07:20:21 -07:00
seccomp.h Add seccomp bpf sandboxing to redbean 2022-04-18 08:54:42 -07:00
sigaction-freebsd.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-linux.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-netbsd.h Add NetBSD support 2021-02-05 06:19:45 -08:00
sigaction-openbsd.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-xnu.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
sigaltstack.h Improve memory safety 2021-10-13 17:27:13 -07:00
siginfo-freebsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-netbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-openbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-xnu.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigset.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
sigval.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
stat.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
stat.macros.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
statfs.h Improve pledge() usability and consistency 2022-08-07 16:18:33 -07:00
sysinfo.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
termios.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
timespec.h Unbloat build config 2022-08-10 04:43:09 -07:00
timespec_gt.c Improve system calls 2022-07-08 06:42:03 -07:00
timeval.h Improve system calls 2022-07-08 06:42:03 -07:00
tms.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
ucontext-freebsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
ucontext-netbsd.internal.h Always initialize thread local storage 2022-07-19 00:21:46 -07:00
ucontext-openbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
user_regs_struct.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
utsname-netbsd.internal.h Release pledge.com v1.1 2022-07-22 13:44:00 -07:00
utsname.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
winsize.h Initial import 2020-06-15 07:18:57 -07:00