mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-11-10 11:44:54 +03:00
Revert "Add unix to the pledge promises"
This reverts commit 7734cc9d2a
.
This commit is contained in:
parent
40f2dc6a7d
commit
0ff066c80b
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user