mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 14:40:44 +01:00
18 lines
318 B
Go
18 lines
318 B
Go
|
package ossec
|
||
|
|
||
|
import (
|
||
|
"golang.org/x/sys/unix"
|
||
|
)
|
||
|
|
||
|
func Unveil(path string, perms string) error {
|
||
|
return unix.Unveil(path, perms)
|
||
|
}
|
||
|
|
||
|
func Pledge(promises, execpromises string) error {
|
||
|
return unix.Pledge(promises, execpromises)
|
||
|
}
|
||
|
|
||
|
func PledgePromises(promises string) error {
|
||
|
return unix.PledgePromises(promises)
|
||
|
}
|