mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 23:33:39 -05:00
Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297)
This commit is contained in:
committed by
Junegunn Choi
parent
7771241cc0
commit
a1bcdc225e
8
src/protector/protector.go
Normal file
8
src/protector/protector.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// +build !openbsd
|
||||
|
||||
package protector
|
||||
|
||||
// Protect calls OS specific protections like pledge on OpenBSD
|
||||
func Protect() {
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user