From 0ff066c80ba7c0ff6236e8545fd773292584abd2 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 23 Aug 2018 00:44:21 +0200 Subject: [PATCH] Revert "Add unix to the pledge promises" This reverts commit 7734cc9d2a69f94a15d6f6c096ddd541de73176d. --- dnscrypt-proxy/pledge_openbsd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnscrypt-proxy/pledge_openbsd.go b/dnscrypt-proxy/pledge_openbsd.go index 617aeca8..6c5ea2ea 100644 --- a/dnscrypt-proxy/pledge_openbsd.go +++ b/dnscrypt-proxy/pledge_openbsd.go @@ -7,9 +7,9 @@ import ( ) func Pledge() { - unix.Pledge("stdio rpath wpath cpath tmppath inet unix fattr flock dns getpw sendfd recvfd proc exec id", nil) + unix.Pledge("stdio rpath wpath cpath tmppath inet fattr flock dns getpw sendfd recvfd proc exec id", nil) } func PledgeChild() { - unix.Pledge("stdio rpath wpath cpath tmppath inet unix fattr flock dns recvfd", nil) + unix.Pledge("stdio rpath wpath cpath tmppath inet fattr flock dns recvfd", nil) }