2 ms·
I recently asked for exactly this on StackOverflow, but for Linux[0]. Is anyone aware of an interface to seccomp-bpf on Linux that is as easy to use as this ta
by nitrogen 11y ago
I recently asked for exactly this on StackOverflow, but for Linux[0]. Is anyone aware of an interface to seccomp-bpf on Linux that is as easy to use as this tame() syscall?
If not, does anyone want to join forces to create one? An ultra-simple library that provides tame()-like functionality on all capable platforms should make writing secure software a lot easier.
[0] https://stackoverflow.com/questions/31373203/drop-privileges-as-regular-non-root-user-for-sandboxing/31373324#31373324 https://stackoverflow.com/questions/31373203/drop-privileges... if anyone's curious
- vidarh 11y agoI would look into the Chrome/Chromium sandbox code, as they seem to have at least some facility for parsing simple profiles. This page has some details: http://www.chromium.org/chromium-os/developer-guide/chromium-os-sandboxing http://www.chromium.org/chromium-os/developer-guide/chromium...