summary refs log tree commit diff stats
path: root/pledge_other.go
blob: cc2f076499df0d2b5c2f9dce0180c35c7e289f65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// +build !openbsd

package lynx

// Pledge is just a wrapper to unix.Pledge. It returns nil on
// unsupported systems.
func Pledge(_, _ string) error {
	return nil
}

// PledgePromises is just a wrapper to unix.PledgePromises. It returns
// nil on unsupported systems.
func PledgePromises(_ string) error {
	return nil
}

// PledgeExecpromises is just a wrapper to unix.PledgeExecpromises. It
// returns nil on unsupported systems.
func PledgeExecpromises(_ string) error {
	return nil
}