go-shrt

Shortlinks and go-get redirects
git clone git://git.danielmoch.com/go-shrt.git
Log | Files | Refs | README | LICENSE

commit 8dd3cc420186d2abf54c74f83a3f231f9322fbcc
parent db78a0bed87a9c3a6e50c05c3823c9c8201a63a3
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 22 Dec 2020 10:24:42 -0500

openbsd: add dns perms to pledge(2)

Diffstat:
Mcmd/shrt/openbsd.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/shrt/openbsd.go b/cmd/shrt/openbsd.go @@ -23,7 +23,7 @@ func init() { if err != nil { return fmt.Errorf("osInit: %s", err.Error()) } - pledge("stdio rpath inet flock", "") + pledge("stdio rpath dns inet flock", "") if err != nil { return fmt.Errorf("osInit: %s", err.Error()) }