summary refs log tree commit diff stats
path: root/unveil_other.go
blob: 1131c318f10572ed65e9682ddb03f4cf3590402e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// +build !openbsd

package lynx

// Unveil takes a path, permission & unveils it, it does nothing
// on non OpenBSD systems.
func Unveil(_ string, _ string) error {
	return nil
}

// UnveilPath takes a path, permission & unveils it, it does nothing
// on non OpenBSD systems. Unveil should be used instead of
// UnveilPath.
func UnveilPath(_ string, _ string) error {
	return nil
}

// UnveilStrict is just a wrapper around unix.Unveil. It does
// nothing on non OpenBSD systems.
func UnveilStrict(_ string, _ string) error {
	return nil
}

// UnveilPathStrict is just a wrapper around unix.Unveil. It does
// nothing on non OpenBSD systems. UnveilStrict should be used instead
// of UnveilPathStrict.
func UnveilPathStrict(_ string, _ string) error {
	return nil
}