From 8c129f888984261fd9d02d9fb202369ff9a0af6a Mon Sep 17 00:00:00 2001 From: zak Date: Thu, 22 Dec 2022 00:22:08 +1000 Subject: unveil: log each call --- unveil.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unveil.go') 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() } -- cgit