We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd5b7f commit 3e5a740Copy full SHA for 3e5a740
go/socket-proxy/main.go
@@ -49,6 +49,7 @@ func main(){
49
},
50
}
51
52
+ // drop privileges since only the proxy must access the socket as root and nothing else
53
if err := syscall.Setgid(1000); err != nil {
54
log.Fatalf("could not set GID to 1000 %v", err)
55
0 commit comments