mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 18:00:11 +01:00
67aad53f5e
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.
16 lines
223 B
Go
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
|
|
}
|