mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 22:47:01 +01:00
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.
15 lines
223 B
Go
15 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
|
|
}
|