openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

unveil_openbsd.go (236B)


      1 //go:build openbsd
      2 // +build openbsd
      3 
      4 package main
      5 
      6 import "golang.org/x/sys/unix"
      7 
      8 func unveil(path string, permissions string) error {
      9 	return unix.Unveil(path, permissions)
     10 }
     11 
     12 func unveil_block() error {
     13 	return unix.UnveilBlock()
     14 }