Add wrapper around unix.UnveilBlock

This commit is contained in:
Andinus 2020-04-08 01:31:36 +05:30
parent 636d06c5cd
commit adf721a079
Signed by: andinus
GPG Key ID: B67D55D482A799FD
1 changed files with 9 additions and 0 deletions

9
block.go Normal file
View File

@ -0,0 +1,9 @@
package lynx
import "golang.org/x/sys/unix"
// UnveilBlock is just a wrapper around unix.UnveilBlock, it does
// nothing extra. You should use unix.UnveilBlock.
func UnveilBlock() error {
return unix.UnveilBlock()
}