mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +03:00
Revert "Add unix to the pledge promises"
This reverts commit 7734cc9d2a
.
This commit is contained in:
parent
40f2dc6a7d
commit
0ff066c80b
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func Pledge() {
|
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() {
|
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…
Add table
Add a link
Reference in a new issue