123456789101112131415161718 | //go:build !openbsd
package sandbox
// Restrict is a no-op outside OpenBSD.
func Restrict([]Path) error { return nil }
// Unveil is a no-op outside OpenBSD.
func Unveil([]Path) error { return nil }
// Lock is a no-op outside OpenBSD.
func Lock() error { return nil }
// Pledge is a no-op outside OpenBSD.
func Pledge(string) error { return nil }
// Supported reports whether Unveil and Pledge do anything here.
const Supported = false
|