News for hackers. Stuff that matters.
Re:Multiple 7-Zip Vulnerabilities Discovered by doomrobo on Thursday May 12, 2016 @03:58PM (#11686279)
I think OpenBSD's `pledge` syscall would be sufficient in this case. Calling

    pledge("stdio rpath wpath", {"path/to/input", "path/to/output"});
would blacklist any subsequent syscall that are not in the stdio or rpath or wpath lists [0] or pertain to a file that is not the input or output.

[0] http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/...

There are no comments on this comment yet.