dotfiles/.fzf/src/protector/protector_openbsd.go
2021-11-18 23:14:21 +01:00

11 lines
203 B
Go

// +build openbsd
package protector
import "golang.org/x/sys/unix"
// Protect calls OS specific protections like pledge on OpenBSD
func Protect() {
unix.PledgePromises("stdio rpath tty proc exec")
}