mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-17 05:03:52 -07:00
Add wpath and dpath pledges on OpenBSD to make --tmux work (#3877)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user