
Sandboxing in Linux with zero lines of code
7/8/2020
This post introduces Linux seccomp as a mechanism for sandboxing applications without writing code. It explains system calls, the seccomp filter mechanism using BPF programs, and demonstrates how to restrict specific system calls like 'uname' by returning error codes or terminating the process. The post also covers the importance of `PR_SET_NO_NEW_PRIVS` and different seccomp actions.