/usr/share/gocode/src/github.com/linuxkit/virtsock/cmd/sock_stress/main_darwin.go is in golang-github-linuxkit-virtsock-dev 0.0~git20170720.0.0416e3d-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | package main
import (
"flag"
"github.com/linuxkit/virtsock/pkg/vsock"
)
var (
socketMode string
)
func init() {
flag.StringVar(&socketMode, "m", "docker", "Socket Mode (hyperkit:/path/ or docker)")
}
func hostInit() {
vsock.SocketMode(socketMode)
}
|