Porting OpenBSD pledge() to Linux

Sandboxing for Linux has never been easier.