The libseccomp library currently only provides seccomp load() to load a seccomp filter into the kernel…
The libseccomp library currently only provides seccomp load() to load a seccomp filter into the kernel…: a task in LegoFlow-SWE (Harbor dataset). To address this, the library should offer a way to precompute the filter BPF program ahead of time, so that seccomp load() can later load that…
The task
To address this, the library should offer a way to precompute the filter BPF program ahead of time, so that `seccomp_load()` can later load that precomputed filter without performing any computation. This would make `seccomp_load()` safe to call in signal‑handling contexts, provided no filter rules have been changed…
Part of Lego-X/LegoFlow-SWE.