all repos — legit @ 6e6648e344c889767240a33f42febf9498250131

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}