diff options
author | Andinus <andinus@nand.sh> | 2020-04-08 01:31:36 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-08 01:31:36 +0530 |
commit | adf721a079bb3f37576e47280eb7ae82a6567d7b (patch) | |
tree | 76ddc2bc9d5510cc5f8dedd5e66da9e5674dbb12 | |
parent | 636d06c5cde0e0072fccd6d8c93dec9b79120028 (diff) | |
download | lynx-adf721a079bb3f37576e47280eb7ae82a6567d7b.tar.gz |
Add wrapper around unix.UnveilBlock
-rw-r--r-- | block.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/block.go b/block.go new file mode 100644 index 0000000..c16a1eb --- /dev/null +++ b/block.go @@ -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() +} |