cosmopolitan/tool/net
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
..
demo Propagate nil in Lua APIs more often 2022-08-05 17:34:13 -07:00
tiny Fix bugs with recent change 2022-04-16 10:40:23 -07:00
.init.lua Add SSL to redbean 2021-06-24 13:20:50 -07:00
counters.inc Make some systemic improvements 2022-05-18 16:52:36 -07:00
dig.c Restart CI for New Technology and UBSAN hunting 2022-03-21 04:32:57 -07:00
echo.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
favicon.ico Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
help.txt Avoid long double timestamps in redbean 2022-08-05 19:24:05 -07:00
largon2.c WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
lfinger.c Add tcp syn packet fingerprinting to redbean 2022-07-17 02:43:49 -07:00
lfinger.h Add tcp syn packet fingerprinting to redbean 2022-07-17 02:43:49 -07:00
lfuncs.c Propagate nil in Lua APIs more often 2022-08-05 17:34:13 -07:00
lfuncs.h Do some work on redbean 2022-07-22 20:44:24 -07:00
ljson.c Add utf-8 validation to ljson 2022-07-15 06:20:07 -07:00
ljson.h Further improve JSON serialization 2022-07-11 23:06:49 -07:00
lmaxmind.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
lpath.c Make improvements 2022-07-21 03:36:42 -07:00
lpath.h Make improvements 2022-07-21 03:36:42 -07:00
lre.c Write more redbean unit tests 2022-07-08 23:10:02 -07:00
lsqlite3.c Fix lsqlite3.lversion() and document local changes 2022-07-24 05:13:28 -07:00
luacheck.h Fix reporting of Lua stack items from various hook calls (#395) 2022-04-27 21:57:52 -07:00
net.mk Add gensvg demo to redbean (#524) 2022-08-03 05:21:41 -07:00
redbean-original.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-static.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean-unsecure.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
redbean.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
redbean.png Make improvements 2020-09-14 00:02:34 -07:00
sandbox.h Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
wb.c Use re-entrant locks on stdio 2022-05-22 08:28:33 -07:00