cosmopolitan/third_party
Justine Tunney 133c693650 Work around Landlock output inode in compile.com
This change fixes Landlock Make so that only the output target file is
unveiled, rather than unveiling the directory that contains it. This
gives us a much stronger sandbox. It also helped identify problematic
build code in our repo that should have been using o/tmp instead.

Landlock isn't able to let us unveil files that don't exist. Even if
they do, then once a file is deleted, the sandboxing for it goes away.
This caused problems for Landlock Make because tools like GNU LD will
repeatedly delete and recreate the output file. This change uses the
compile.com wrapper to ensure on changes happen to the output inode.

New binary available on https://justine.lol/make/

Fixes #528
2022-08-09 07:55:44 -07:00
..
argon2 Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
bzip2 Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
chibicc Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
compiler_rt Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
dlmalloc Always initialize thread local storage 2022-07-19 00:21:46 -07:00
double-conversion Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
finger Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
gcc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
gdtoa Add more missing libc/libc++ functions 2022-07-22 07:20:21 -07:00
getopt Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
libcxx Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
linenoise Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
lua Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
lz4cli Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
make Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
maxmind Add more missing libc functionality 2022-08-06 10:50:51 -07:00
mbedtls Make more libc improvements 2022-08-06 17:18:40 -07:00
musl Make more libc improvements 2022-08-06 17:18:40 -07:00
python Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
quickjs Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
regex Write more redbean unit tests 2022-07-08 23:10:02 -07:00
smallz4 Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
sqlite3 Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
stb Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
tidy Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
unzip Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
xed Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
zip Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
zlib Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
third_party.mk Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00