add some missing pledges
This commit is contained in:
parent
7f03d5e16e
commit
3deceffa01
2
main.go
2
main.go
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user