aboutsummaryrefslogtreecommitdiff
path: root/unveil_stub.go
blob: dc72a7db6c0893fd85e6cbd36749b17ff4cfaf3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}