MCPcopy
hub / github.com/opencontainers/runc / nonChildProcess

Struct nonChildProcess

libcontainer/restored_process.go:84–88  ·  view source on GitHub ↗

nonChildProcess represents a process where the calling process is not the parent process. This process is created when Load loads a container from a persisted state.

Source from the content-addressed store, hash-verified

82// the parent process. This process is created when Load loads a container
83// from a persisted state.
84type nonChildProcess struct {
85 processPid int
86 processStartTime uint64
87 fds []string
88}
89
90func (p *nonChildProcess) start() error {
91 return errors.New("restored process cannot be started")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected