JHHM

tweed

a Twitch RSS feed generator
git clone https://jhhm.no/repos/tweed.git

tweed/sandbox_openbsd.go

get raw file: sandbox_openbsd.go

1package main
2
3import "golang.org/x/sys/unix"
4
5func unveil(path, perms string) error { return unix.Unveil(path, perms) }
6func unveilBlock() error { return unix.UnveilBlock() }
7func pledge(promises string) error { return unix.PledgePromises(promises) }