From fc60406684074dfd68b23eca5b02f8919f6ed51c Mon Sep 17 00:00:00 2001 From: David Leadbeater Date: Tue, 17 Mar 2026 13:44:13 +1100 Subject: [PATCH] Add "unix" and "fattr" promises (#4719) Without this fzf --listen=/tmp/foo.sock fails on OpenBSD. --- src/protector/protector_openbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protector/protector_openbsd.go b/src/protector/protector_openbsd.go index 51138b7e..9a2731be 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 cpath dpath wpath rpath tty proc exec inet") + unix.PledgePromises("stdio cpath dpath wpath rpath inet fattr unix tty proc exec") }