diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-10-23 17:35:03 +0200 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-10-23 19:08:39 +0200 |
| commit | 5c24b64fe5b242bdba68fe3d48489bed26b48eae (patch) | |
| tree | c7408078c44792314cac43cfa23ae5e56996630e /src/server | |
| parent | b0bb61e830e76169f41db186b5946ae6859f4e6a (diff) | |
| download | chawan-5c24b64fe5b242bdba68fe3d48489bed26b48eae.tar.gz | |
sandbox: replace libseccomp with chaseccomp
This drops libseccomp as a dependency.
Also, move the capsicum/pledge definitions from bindings to sandbox.nim
because they are only used there.
Interestingly, after integrating chaseccomp I found that the
stbi process would mysteriously crash by a getrandom(2) syscall.
Closer investigation revealed it is only called on the initialization
of glibc's malloc; presumably it had never surfaced before because
libseccomp would always allocate before entering the sandbox.
So I've added getrandom to our filter as well.
Diffstat (limited to 'src/server')
0 files changed, 0 insertions, 0 deletions