add some missing pledges

This commit is contained in:
Aaron Bieber 2021-05-20 18:42:15 -06:00
parent 7f03d5e16e
commit 3deceffa01

View File

@ -92,7 +92,7 @@ func init() {
_ = protect.Unveil(davDir, "rwc")
_ = protect.Unveil("/etc/ssl/cert.pem", "r")
_ = protect.Unveil("/etc/resolv.conf", "r")
_ = protect.Pledge("stdio wpath rpath cpath inet dns")
_ = protect.Pledge("stdio wpath rpath cpath tty inet dns unveil")
templ, err = template.New("landing").Parse(landingPage)
if err != nil {