Add pledge(2) support on OpenBSD #217
Conversation
Hello, please can you check this one? https://marc.info/?l=openbsd-ports&m=153797184227204&w=2 After that, looks safe to switch to pledge(2) so far. |
On other platforms, this will be a no-op. Fixes #164.
Hmm, I did I not run into the issues that Björn did. That said, I've updated it with the additional pledge that they proposed, as well as moved the call to |
@worr, I ran into a The issue is reproducible using Workaround is to have something like
After some digging I think the diff below (using your pull request as starting point) fixes the issue:
|
ok |
On other platforms, this will be a no-op. Fixes #164
I'm currently running it on a recent amd64 snapshot.