From adf721a079bb3f37576e47280eb7ae82a6567d7b Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 8 Apr 2020 01:31:36 +0530 Subject: Add wrapper around unix.UnveilBlock --- block.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 block.go 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() +} -- cgit 1.4.1-2-gfad0