blob: a0273c95cd265c5278b683e511b52d3e082df5c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// +build !openbsd
package lynx
// UnveilPath takes a path, permission & unveils it, it does nothing
// on non OpenBSD systems.
func UnveilPath(_ string, _ string) error {
return nil
}
// UnveilPathStrict is just a wrapper around unix.Unveil. It does
// nothing on non OpenBSD systems.
func UnveilPathStrict(_ string, _ string) error {
return nil
}
|