summaryrefslogtreecommitdiff
path: root/src/protector/protector_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/protector/protector_openbsd.go')
-rw-r--r--src/protector/protector_openbsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protector/protector_openbsd.go b/src/protector/protector_openbsd.go
index 6d92c59c..7030b91e 100644
--- a/src/protector/protector_openbsd.go
+++ b/src/protector/protector_openbsd.go
@@ -6,5 +6,5 @@ import "golang.org/x/sys/unix"
// Protect calls OS specific protections like pledge on OpenBSD
func Protect() {
- unix.PledgePromises("stdio rpath tty proc exec inet tmppath")
+ unix.PledgePromises("stdio dpath wpath rpath tty proc exec inet tmppath")
}