260317.1 · fc60406684074dfd68b23eca5b02f8919f6ed51c
Add "unix" and "fattr" promises (#4719)
Without this fzf --listen=/tmp/foo.sock fails on OpenBSD.
reading declarations
Changes to src/protector/. All files
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 cpath dpath wpath rpath tty proc exec inet")+ unix.PledgePromises("stdio cpath dpath wpath rpath inet fattr unix tty proc exec") }