# calls amazon-efs-mount-watchdog, which is already in efs-utils ./pkg/driver/efs_watch_dog.go:21: "os/exec" ./pkg/driver/efs_watch_dog.go:339: cmd := exec.Command(w.execCmd, w.execArg...) # test code ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/verify_version.go:5: "os/exec" ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/verify_version.go:20: cmd := exec.Command("go", "list", "-m", "github.com/onsi/ginkgo/v2") ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/compile.go:6: "os/exec" ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/compile.go:44: cmd := exec.Command("go", args...) ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/utils.go:7: "os/exec" ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/utils.go:50: out, err := exec.Command("go", "fmt", path).CombinedOutput() ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/profiles_and_reports.go:7: "os/exec" ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/profiles_and_reports.go:184: cmd := exec.Command("go", "tool", "cover", "-func", profile) ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/run.go:8: "os/exec" ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/run.go:43: cmd := exec.Command(suite.PathToCompiledTest, args...) ./vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/run.go:347: output, err := exec.Command(parts[0], parts[1:]...).CombinedOutput() ./vendor/github.com/kubernetes-csi/csi-test/v5/pkg/sanity/sanity.go:25: "os/exec" ./vendor/github.com/kubernetes-csi/csi-test/v5/pkg/sanity/sanity.go:345: cmd := exec.CommandContext(ctx, createPathCmd, targetPath) ./vendor/github.com/kubernetes-csi/csi-test/v5/pkg/sanity/sanity.go:385: cmd := exec.CommandContext(ctx, removePathCmd, targetPath) ./vendor/github.com/kubernetes-csi/csi-test/v5/pkg/sanity/sanity.go:516: cmd := exec.CommandContext(ctx, config.CheckPathCmd, path) # Gnostic calls exec only when parsing yaml. Client-go uses protobuf and does not provide ExtensionHandlers. ./vendor/github.com/google/gnostic-models/compiler/extensions.go:20: "os/exec" ./vendor/github.com/google/gnostic-models/compiler/extensions.go:69: cmd := exec.Command(extensionHandlers.Name) # All AWS credentials that our operators / drivers use do not have exec provider enabled. # Even if they had, we did not install any credential provider RPM in the original "fat" image. ./vendor/github.com/aws/aws-sdk-go-v2/credentials/processcreds/provider.go:10: "os/exec" ./vendor/github.com/aws/aws-sdk-go-v2/credentials/processcreds/provider.go:103: cmd := exec.CommandContext(ctx, cmdArgs[0], cmdArgs[1:]...) ./vendor/github.com/aws/aws-sdk-go-v2/credentials/processcreds/doc.go:73:// # Exec is not used on Linux. Might be used on Darwin or BSD. ./vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go:19:import "os/exec" ./vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go:22: cmd := exec.Command(name, arg...) # Unused ./vendor/golang.org/x/sys/unix/syscall_unix.go:578: return syscall.Exec(argv0, argv, envv) ./vendor/golang.org/x/sys/unix/syscall_zos_s390x.go:2735: return syscall.Exec(argv0, argv, envv) # All kubeconfigs that our operators / drivers use do not have exec provider enabled. ./vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/metrics.go:22: "os/exec" ./vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/metrics.go:101: case errors.As(err, &execExitError): // Binary execution failed (see "os/exec".Cmd.Run()). ./vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go:29: "os/exec" ./vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go:436: cmd := exec.Command(a.cmd, a.args...) # unused ./vendor/k8s.io/mount-utils/resizefs_unsupported.go:25: utilexec "k8s.io/utils/exec" # add: mount, blkid ./vendor/k8s.io/mount-utils/mount.go:28: utilexec "k8s.io/utils/exec" ./vendor/k8s.io/mount-utils/mount_windows.go:25: "os/exec" ./vendor/k8s.io/mount-utils/mount_windows.go:175: cmd := exec.Command("powershell", "/c", cmdLine) ./vendor/k8s.io/mount-utils/mount_windows.go:187: cmd := exec.Command("powershell", "/c", `Get-SmbGlobalMapping -RemotePath $Env:smbremotepath`) ./vendor/k8s.io/mount-utils/mount_windows.go:196: cmd := exec.Command("powershell", "/c", `Test-Path $Env:remoteapth`) ./vendor/k8s.io/mount-utils/mount_windows.go:212: cmd := exec.Command("powershell", "/c", `Remove-SmbGlobalMapping -RemotePath $Env:smbremotepath -Force`) ./vendor/k8s.io/mount-utils/mount_windows.go:320: cmd := exec.Command("powershell", "/c", "(Get-Disk -DeviceId $env:diskID | Get-Partition | Get-Volume | Sort-Object -Property UniqueId).UniqueId") ./vendor/k8s.io/mount-utils/mount_linux.go:28: "os/exec" ./vendor/k8s.io/mount-utils/mount_linux.go:38: utilexec "k8s.io/utils/exec" ./vendor/k8s.io/mount-utils/mount_linux.go:219: command := exec.Command(mountCmd, mountArgs...) ./vendor/k8s.io/mount-utils/mount_linux.go:250: cmd := exec.Command("systemd-run", "--description=Kubernetes systemd probe", "--scope", "true") ./vendor/k8s.io/mount-utils/mount_linux.go:278: cmd := exec.Command("umount", path) ./vendor/k8s.io/mount-utils/mount_linux.go:361: command := exec.Command("umount", target) ./vendor/k8s.io/mount-utils/mount_linux.go:578: dataOut, err := exec.Command("blkid", args...).CombinedOutput() ./vendor/k8s.io/mount-utils/mount_linux.go:793: command := exec.CommandContext(ctx, "umount", target) ./vendor/k8s.io/mount-utils/mount_linux.go:809: command := exec.Command("umount", "-f", target) # add: resize2fs, xfs_growfs, btrfs, dumpe2fs, blockdev, xfs_io # (but it's in theory unused) ./vendor/k8s.io/mount-utils/resizefs_linux.go:28: utilexec "k8s.io/utils/exec" ./vendor/k8s.io/mount-utils/resizefs_linux.go:72: output, err := resizefs.exec.Command("resize2fs", devicePath).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:84: output, err := resizefs.exec.Command("xfs_growfs", args...).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:97: output, err := resizefs.exec.Command("btrfs", args...).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:164: output, err := resizefs.exec.Command(blockDev, "--getsize64", devicePath).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:177: output, err := resizefs.exec.Command(blockDev, "--getro", devicePath).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:193: output, err := resizefs.exec.Command("dumpe2fs", "-h", devicePath).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:210: output, err := resizefs.exec.Command("xfs_io", "-c", "statfs", devicePath).CombinedOutput() ./vendor/k8s.io/mount-utils/resizefs_linux.go:227: output, err := resizefs.exec.Command("btrfs", "inspect-internal", "dump-super", "-f", devicePath).CombinedOutput() # Looks unused ./vendor/k8s.io/utils/nsenter/nsenter.go:31: "k8s.io/utils/exec" ./vendor/k8s.io/utils/nsenter/nsenter_unsupported.go:26: "k8s.io/utils/exec" # k8s exec has the same API as os/exec (e.g. `exec.Command`), it would be caught by the script. ./vendor/k8s.io/utils/exec/doc.go:18:package exec // import "k8s.io/utils/exec" ./vendor/k8s.io/utils/exec/exec.go:23: osexec "os/exec" ./vendor/k8s.io/utils/exec/exec.go:102: return (*cmdWrapper)(maskErrDotCmd(osexec.Command(cmd, args...))) ./vendor/k8s.io/utils/exec/exec.go:107: return (*cmdWrapper)(maskErrDotCmd(osexec.CommandContext(ctx, cmd, args...))) ./vendor/k8s.io/utils/exec/fixup_go118.go:23: osexec "os/exec" ./vendor/k8s.io/utils/exec/fixup_go119.go:24: osexec "os/exec" # Testing code ./vendor/k8s.io/kubernetes/test/e2e/framework/volume/fixtures.go:63: uexec "k8s.io/utils/exec" ./vendor/k8s.io/kubernetes/test/e2e/framework/util.go:28: "os/exec" ./vendor/k8s.io/kubernetes/test/e2e/framework/util.go:620: cmd = exec.Command(path.Join(TestContext.RepoRoot, "cluster", "log-dump", "log-dump.sh"), dir, TestContext.LogexporterGCSPath) ./vendor/k8s.io/kubernetes/test/e2e/framework/util.go:623: cmd = exec.Command(path.Join(TestContext.RepoRoot, "cluster", "log-dump", "log-dump.sh"), dir) ./vendor/k8s.io/kubernetes/test/e2e/framework/util.go:652: cmd := exec.Command(command, args...) ./vendor/k8s.io/kubernetes/test/e2e/framework/kubectl/builder.go:26: "os/exec" ./vendor/k8s.io/kubernetes/test/e2e/framework/kubectl/builder.go:32: uexec "k8s.io/utils/exec" ./vendor/k8s.io/kubernetes/test/e2e/framework/kubectl/builder.go:193: b.cmd = exec.Command(kubemci, args...) ./vendor/k8s.io/kubernetes/test/e2e/framework/kubectl/kubectl_utils.go:23: "os/exec" ./vendor/k8s.io/kubernetes/test/e2e/framework/kubectl/kubectl_utils.go:96: cmd := exec.Command(tk.KubectlPath, kubectlArgs...) # add: xfs_quota, lsattr, losetup # (but it's in theory unused) ./vendor/k8s.io/kubernetes/pkg/volume/plugins.go:28: "k8s.io/utils/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_windows.go:25: "os/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_windows.go:79: cmd := exec.Command("powershell", "/c", "$ErrorActionPreference = 'Stop'; (Get-Item -Force -LiteralPath $env:linkpath).LinkType") ./vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_windows.go:120: cmd := exec.Command("powershell", "/c", "$ErrorActionPreference = 'Stop'; (Get-Item -Force -LiteralPath $env:linkpath).Target") ./vendor/k8s.io/kubernetes/pkg/volume/util/fsquota/common/quota_common_linux_impl.go:26: "os/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/fsquota/common/quota_common_linux_impl.go:130: cmd := exec.Command(quotaCmd, "-t", mountsFile, "-P/dev/null", "-D/dev/null", "-x", "-f", mountpoint, "-c", command) ./vendor/k8s.io/kubernetes/pkg/volume/util/fsquota/common/quota_common_linux_impl.go:211: cmd := exec.Command(lsattrCmd, "-pd", path) ./vendor/k8s.io/kubernetes/pkg/volume/util/util.go:49: utilexec "k8s.io/utils/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/util.go:675: cmd := exec.Command("powershell", "/c", cmdString) ./vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler.go:26: utilexec "k8s.io/utils/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go:26: "os/exec" ./vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go:91: cmd := exec.Command(losetupPath, args...) ./vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go:105: cmd := exec.Command(losetupPath, args...) ./vendor/k8s.io/kubernetes/pkg/apis/core/validation/validation.go:3187: if len(exec.Command) == 0 {