aristanetworks / bst

A one-stop shop for process isolation
MIT License
99 stars 9 forks source link

seccomp: emulate safe privileged system calls #61

Open Snaipe opened 2 years ago

Snaipe commented 2 years ago

These commits introduce the use of a seccomp supervisor that emulates for now the mknod and mknodat system calls. The supervisor checks that the user is requesting the creation of safe devices, like /dev/null or /dev/zero, and performs the actual system call in the host user namespace.