all repos — legit @ 8c129f888984261fd9d02d9fb202369ff9a0af6a

fork of git.icyphox.sh/legit

unveil: log each call
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:22:08 +1000
commit

8c129f888984261fd9d02d9fb202369ff9a0af6a

parent

4aa8cbff320b669fc07f356409b05d6b1795c342

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M unveil.gounveil.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() }