all repos — legit @ 8c129f888984261fd9d02d9fb202369ff9a0af6a

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}