all repos — legit @ 5912a0bcb539dce1a220656b3b5c382e65014447

web frontend for git, written in go

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}