cosmopolitan/libc/testlib
Justine Tunney 5a132f9652 Add seccomp bpf sandboxing to redbean
It's now possible to pass the `-S` or `-SS` flags to sandbox redbean
worker proecsses after they've been forked. The first `-S` flag is
intended to be a permissive builtin policy that limits system calls to
only that which the various parts of redbean serving need. The second
`-SS` flag is intended to be more restrictive, preventing things like
the Lua extensions you download off the web from using the HTTP client
or sockets APIs. In upcoming changes you'll be able to implement your
own Berkeley Packet Filter sandbox programs and load them via Lua.
2022-04-18 08:54:42 -07:00
..
thunks Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
almostequal.c Change license 2020-12-27 17:18:44 -08:00
almostequalf.c Change license 2020-12-27 17:18:44 -08:00
almostequallongdouble.c Change license 2020-12-27 17:18:44 -08:00
bench.h Make numerous improvements 2021-09-28 01:52:34 -07:00
bench.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
benchrunner.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
binequals.c Change license 2020-12-27 17:18:44 -08:00
blocktronics.h Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
blocktronics.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
blocktronics.txt Improve performance of bitscanning intrinsics 2021-06-15 06:29:51 -07:00
clearxmmregisters.c Change license 2020-12-27 17:18:44 -08:00
combo.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
comborunner.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
contains.c Change license 2020-12-27 17:18:44 -08:00
endswith.c Change license 2020-12-27 17:18:44 -08:00
ezbench.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
ezbenchcontrol.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ezbenchreport.c Make numerous improvements 2021-09-28 01:52:34 -07:00
ezbenchwarn.c Make numerous improvements 2021-09-28 01:52:34 -07:00
fastrandomstring.h Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
fixture.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
fixturerunner.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
formatbinaryasglyphs.c Change license 2020-12-27 17:18:44 -08:00
formatbinaryashex.c Change license 2020-12-27 17:18:44 -08:00
formatbool.c Change license 2020-12-27 17:18:44 -08:00
formatfloat.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
formatint.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
formatrange.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
formatstr.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
getcore.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getinterrupts.c Make numerous improvements 2021-09-28 01:52:34 -07:00
globals.c Change license 2020-12-27 17:18:44 -08:00
hexequals.c Change license 2020-12-27 17:18:44 -08:00
hyperion.h Make improvements to redbean 2021-07-10 15:19:37 -07:00
hyperion.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
hyperion.txt Initial import 2020-06-15 07:18:57 -07:00
incrementfailed.c Change license 2020-12-27 17:18:44 -08:00
moby.h Make improvements to redbean 2021-07-10 15:19:37 -07:00
moby.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
moby.txt Make improvements to redbean 2021-07-10 15:19:37 -07:00
polluteregisters.S Make numerous improvements 2021-09-28 01:52:34 -07:00
quota.c Improve synchronization 2022-04-15 15:31:55 -07:00
runner.c Change license 2020-12-27 17:18:44 -08:00
shoulddebugbreak.c Change license 2020-12-27 17:18:44 -08:00
showerror.c Add seccomp bpf sandboxing to redbean 2022-04-18 08:54:42 -07:00
startswith.c Change license 2020-12-27 17:18:44 -08:00
strcaseequals.c Change license 2020-12-27 17:18:44 -08:00
strequals.c Change license 2020-12-27 17:18:44 -08:00
testcase.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
testlib.h Make exciting improvements 2022-03-18 03:02:00 -07:00
testlib.mk Make exciting improvements 2022-03-18 03:02:00 -07:00
testmain.c Improve synchronization 2022-04-15 15:31:55 -07:00
testrunner.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
thrashcodecache.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
ugly.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
yield.c Make numerous improvements 2021-09-28 01:52:34 -07:00