about summary refs log tree commit diff stats
path: root/lib/chaseccomp/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* chaseccomp: add CFLAGS, LDFLAGS to makefilebptato2024-12-221-1/+1
| | | | | Otherwise, it complains about missing syscalls on cross compilation. (Also, fix the warnings this revealed.)
* Fix some C warnings, more makefile vars, etc.bptato2024-11-081-3/+2
| | | | | | | * add some more env vars to makefile * remove fpermissive from GCC builds * update Monoucha * fix borked seccomp filter length safety check (ugh)
* sandbox: replace libseccomp with chaseccompbptato2024-10-231-0/+22
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.