cosmopolitan/libc/calls/struct
Justine Tunney cf93ecbbb2 Prove that Makefile is fully defined
The whole repository is now buildable with GNU Make Landlock sandboxing.
This proves that no Makefile targets exist which touch files other than
their declared prerequisites. In order to do this, we had to:

  1. Stop code morphing GCC output in package.com and instead run a
     newly introduced FIXUPOBJ.COM command after GCC invocations.

  2. Disable all the crumby Python unit tests that do things like create
     files in the current directory, or rename() files between folders.
     This ended up being a lot of tests, but most of them are still ok.

  3. Introduce an .UNSANDBOXED variable to GNU Make to disable Landlock.
     We currently only do this for things like `make tags`.

  4. This change deletes some GNU Make code that was preventing the
     execve() optimization from working. This means it should no longer
     be necessary in most cases for command invocations to be indirected
     through the cocmd interpreter.

  5. Missing dependencies had to be declared in certain places, in cases
     where they couldn't be automatically determined by MKDEPS.COM

  6. The libcxx header situation has finally been tamed. One of the
     things that makes this difficult is MKDEPS.COM only wants to
     consider the first 64kb of a file, in order to go fast. But libcxx
     likes to have #include lines buried after huge documentation.

  7. An .UNVEIL variable has been introduced to GNU Make just in case
     we ever wish to explicitly specify additional things that need to
     be whitelisted which aren't strictly prerequisites. This works in
     a manner similar to the recently introduced .EXTRA_PREREQS feature.

There's now a new build/bootstrap/make.com prebuilt binary available. It
should no longer be possible to write invalid Makefile code.
2022-08-06 04:05:08 -07:00
..
bpf.h Improve system calls 2022-07-08 06:42:03 -07:00
dirent.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -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
sockaddr6.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -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
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 Avoid long double timestamps in redbean 2022-08-05 19:24:05 -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