INNER CODE UNIT · Go

status

iximiuz/cdebug · cmd/exec/exec_containerd.go:209

	status := <-waitCh
	if status.Error() != nil {
		return fmt.Errorf("waiting debugger container failed: %w", err)
	}
	return nil
}

var (
	namespaceTypeMap = map[specs.LinuxNamespaceType]string{
		specs.NetworkNamespace: "net",
		specs.PIDNamespace:     "pid",
		specs.IPCNamespace:     "ipc",
		specs.UTSNamespace:     "uts",
	}
)

func debuggerNamespacesSpec(
	targetPID uint32,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…