News for hackers. Stuff that matters.
Re:Pledge() – a new mitigation mechanism in OpenBSD by MBCook on Monday November 09, 2015 @11:52PM (#10537689)
> Create a tmpfs, create the necessary directory tree inside it, bind-mount each whitelisted path in the tmpfs to the real file, then pivot_root into the tmpfs

You've made an excellent case for pledge("rpath", ["/dev/null"]);

Re:Pledge() – a new mitigation mechanism in OpenBSD by kentonv on Tuesday November 10, 2015 @12:03AM (#10537710)
I am saying we can and should have a library that offers that interface, yes, but that having the lower-level building blocks available is also important.