all repos — elgit @ 4aa8cbff320b669fc07f356409b05d6b1795c342

fork of legit: web frontend for git, written in go

unveil: initial commit

zak
commit

4aa8cbff320b669fc07f356409b05d6b1795c342

parent

d0f5d874c58abac60bd9145eb98c0305047c9d0f

1 file changed, 18 insertions(+), 0 deletions(-)

changed files
A unveil_stub.go
@@ -0,0 +1,18 @@
+//go:build !openbsd +// +build !openbsd + +// Stub functions for GOOS that don't support unix.Unveil() + +package main + +func Unveil(path string, perms string) error { + return nil +} + +func UnveilBlock() error { + return nil +} + +func UnveilPaths(paths []string, perms string) error { + return nil +}