mirror of https://github.com/junegunn/fzf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
203 B
Go
11 lines
203 B
Go
4 years ago
|
// +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")
|
||
|
}
|