should unveil backend too

This commit is contained in:
Ted Unangst 2022-02-06 01:02:50 -05:00
parent 4212b1626a
commit 3b37817558
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ func init() {
Pledge("stdio rpath wpath cpath flock dns inet unix") Pledge("stdio rpath wpath cpath flock dns inet unix")
}) })
backendhooks = append(backendhooks, func() { backendhooks = append(backendhooks, func() {
C.unveil(nil, nil)
Pledge("stdio unix") Pledge("stdio unix")
}) })
} }