2 comments

  • jmclnx59 minutes ago
    Interesting no mentioned about OpenBSD pledge(2), unveil(2). By far the easiest sandboxing out there. An example:<p><pre><code> #ifdef OpenBSD if(pledge(&quot;stdio rpath wpath cpath&quot;,NULL) == -1) err(1,&quot;pledge\n&quot;); #endif </code></pre> Very easy, all the other examples seem rather complex to me. unveil(2) is just as easy.