mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-12 10:52:39 +08:00
Remove tmppath pledge on OpenBSD (#4699)
"tmppath" pledge is no longer supported. See commit https://github.com/openbsd/src/commit/c883e836f48a8ca9ee3be9de6ebf4b36751f2196 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
|
// Protect calls OS specific protections like pledge on OpenBSD
|
||||||
func Protect() {
|
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