summary refs log blame commit diff stats
path: root/pledge_other.go
blob: cc2f076499df0d2b5c2f9dce0180c35c7e289f65 (plain) (tree)




















                                                                      
// +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
}