all repos — legit @ 892ba7e5f3dbaf79b12a457f9ee6191df56625a3

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}