Revert "Add unix to the pledge promises"

This reverts commit 7734cc9d2a.
This commit is contained in:
Frank Denis 2018-08-23 00:44:21 +02:00
parent 40f2dc6a7d
commit 0ff066c80b

View File

@ -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)
}