mirror of
https://github.com/junegunn/fzf.git
synced 2026-03-07 15:42:28 +08:00
Remove tmppath pledge on OpenBSD (#4699)
"tmppath" pledge is no longer supported.
See commit c883e836f4
Signed-off-by: Laurent Cheylus <foxy@free.fr>
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 dpath wpath rpath tty proc exec inet tmppath")
|
||||
unix.PledgePromises("stdio cpath dpath wpath rpath tty proc exec inet")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user