MCPcopy
hub / github.com/google/gvisor / newProcessBuilder

Function newProcessBuilder

runsc/container/container_test.go:285–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283}
284
285func newProcessBuilder() *processBuilder {
286 return &processBuilder{
287 process: control.Process{
288 UID: math.MaxUint32,
289 PID: -1,
290 PPID: -1,
291 PGID: -1,
292 },
293 }
294}
295
296func (p *processBuilder) Cmd(cmd string) *processBuilder {
297 p.process.Cmd = cmd

Callers 15

TestMultiContainerSanityFunction · 0.85
TestMultiPIDNSFunction · 0.85
TestMultiPIDNSPathFunction · 0.85
TestMultiPIDNSRootFunction · 0.85
TestMultiContainerWaitFunction · 0.85
TestExecWaitFunction · 0.85
TestMultiContainerSignalFunction · 0.85
TestDuplicateEnvVariableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…