diff options
Diffstat (limited to 'unveil_stub.go')
-rw-r--r-- | unveil_stub.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/unveil_stub.go b/unveil_stub.go new file mode 100644 index 0000000..dc72a7d --- /dev/null +++ b/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 +} |