cosmopolitan/third_party
Justine Tunney e81edf7b04 Improve pledge() and unveil()
The pledge.com command now supports the new [WIP] unveil() support. For
example, to strongly sandbox our command for listing directories.

    o//tool/build/assimilate.com o//examples/ls.com
    pledge.com -v /etc -p 'stdio rpath' o//examples/ls.com /etc

This file system sandboxing is going to be perfect for us, because APE
binaries are self-contained static executables that really don't use the
filesystem that much. On the other hand, with non-static executables,
sandboxing is going to be more difficult. For example, here's how to
sandbox the `ls` command on the latest Alpine:

    pledge.com -v rx:/lib -v /usr/lib -v /etc -p 'stdio rpath exec' ls /etc

This change fixes the `execpromises` API with pledge().

This change also adds unix.unveil() to redbean.

Fixes #494
2022-07-18 07:58:20 -07:00
..
argon2 Make improvements 2022-05-28 00:28:09 -07:00
bzip2 Make improvements 2022-05-24 10:58:48 -07:00
chibicc Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
compiler_rt Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
dlmalloc Use futexes on OpenBSD and improve threading 2022-07-17 19:59:49 -07:00
double-conversion Audit every single JSON test 2022-07-12 12:40:38 -07:00
finger Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
gcc Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
gdtoa Use futexes on OpenBSD and improve threading 2022-07-17 19:59:49 -07:00
getopt Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
libcxx Fix some issues and do some code cleanup 2022-05-23 10:15:53 -07:00
linenoise Make fixes and improvements 2022-06-25 21:09:09 -07:00
lua Improve pledge() and unveil() 2022-07-18 07:58:20 -07:00
lz4cli Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
make Make fixes and improvements 2022-06-25 21:09:09 -07:00
maxmind Add maxmind to redbean 2022-03-18 03:17:08 -07:00
mbedtls Add redbean -I flag for launching browser 2022-07-17 06:12:57 -07:00
musl Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
python Make some minor fixups to bug reporting, etc. 2022-07-11 05:58:24 -07:00
quickjs Add CTRL-U shortcut to QuickJS REPL 2022-06-10 03:39:05 -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 Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
stb Make fixes and improvements 2022-06-25 21:09:09 -07:00
tidy Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
unzip Improve system calls 2022-07-08 06:42:03 -07:00
xed Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
zip Add Info-ZIP unzip.com 2022-06-10 05:09:11 -07:00
zlib Apply even more fixups 2022-06-12 11:57:00 -07:00
third_party.mk Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00