mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
5655c9a4e7
* Add `anet` pledge for `inet` without connect This is useful for configurations where it's desirable to start redbean under these restrictions, but not to allow `connect` socket calls. * Update message on protected/unpledged syscalls for clarity * Update redbean to add reporting for unpledged sigaction Previously it would abort without indicating what signal it failed to install when sigaction is not pledged (although it fails all of them). * Move GetHostIps before processing command line options This allows using unix.pledge as part of the options without affecting retrieving host IP addresses (which requires `connect`). It may still fail under external `pledge` command as expected; in this case IPs would need to be passed manually. * Update tests for pledge anet promise |
||
---|---|---|
.. | ||
demo | ||
tiny | ||
.init.lua | ||
counters.inc | ||
definitions.lua | ||
dig.c | ||
echo.c | ||
favicon.ico | ||
fetch.inc | ||
help.txt | ||
largon2.c | ||
lfinger.c | ||
lfinger.h | ||
lfuncs.c | ||
lfuncs.h | ||
ljson.c | ||
ljson.h | ||
lmaxmind.c | ||
lpath.c | ||
lpath.h | ||
lre.c | ||
lsqlite3.c | ||
luacheck.h | ||
net.mk | ||
redbean-original.c | ||
redbean-static.c | ||
redbean-unsecure.c | ||
redbean.c | ||
redbean.png | ||
sandbox.h | ||
wb.c |