Commit 0ff066c8 authored by Frank Denis's avatar Frank Denis

Revert "Add unix to the pledge promises"

This reverts commit 7734cc9d.
parent 40f2dc6a
......@@ -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)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment