11 lines
159 B
Go
11 lines
159 B
Go
// +build openbsd
|
|
|
|
package openbsd
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
// Pledge allowed system calls
|
|
func Pledge(promises string) {
|
|
unix.Pledge(promises, "")
|
|
}
|