summaryrefslogtreecommitdiffstats
path: root/unveil.go
diff options
context:
space:
mode:
Diffstat (limited to 'unveil.go')
-rw-r--r--unveil.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/unveil.go b/unveil.go
index 99b6629..9fe5e10 100644
--- a/unveil.go
+++ b/unveil.go
@@ -5,13 +5,16 @@ package main
import (
"golang.org/x/sys/unix"
+ "log"
)
func Unveil(path string, perms string) error {
+ log.Printf("unveil: \"%s\", %s", path, perms)
return unix.Unveil(path, perms)
}
func UnveilBlock() error {
+ log.Printf("unveil: block")
return unix.UnveilBlock()
}