btcd/ossec/ossec.go
Tim Kuijsten 67aad53f5e harden btcd on OpenBSD
Restrict the available set of system calls to the daemon to the basic
network and filesystem operations on OpenBSD. Further reduce potential
harm by limiting file system access to the btcd data dir and the rpc
files.
2022-04-09 07:22:22 -04:00

16 lines
223 B
Go

//go:build !openbsd
package ossec
func Unveil(path string, perms string) error {
return nil
}
func Pledge(promises, execpromises string) error {
return nil
}
func PledgePromises(promises string) error {
return nil
}