all repos — legit @ 08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1

web frontend for git

unveil_stub.go (view raw)

 1//go:build !openbsd
 2// +build !openbsd
 3
 4// Stub functions for GOOS that don't support unix.Unveil()
 5
 6package main
 7
 8func Unveil(path string, perms string) error {
 9	return nil
10}
11
12func UnveilBlock() error {
13	return nil
14}
15
16func UnveilPaths(paths []string, perms string) error {
17	return nil
18}