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

Method Signal

libcontainer/process.go:148–153  ·  view source on GitHub ↗

Signal sends a signal to the Process.

(sig os.Signal)

Source from the content-addressed store, hash-verified

146
147// Signal sends a signal to the Process.
148func (p *Process) Signal(sig os.Signal) error {
149 if p.ops == nil {
150 return errInvalidProcess
151 }
152 return p.ops.signal(sig)
153}
154
155// closeClonedExes cleans up any existing cloned binaries associated with the
156// Process.

Callers 12

forwardMethod · 0.45
terminateMethod · 0.45
killContainerFunction · 0.45
kill.goFile · 0.45
parseSignalFunction · 0.45
signalMethod · 0.45
signalMethod · 0.45
Example_containerFunction · 0.45
signalMethod · 0.45
runContainerFunction · 0.45
testPidnsInitKillFunction · 0.45
ExitStatusFunction · 0.45

Calls 1

signalMethod · 0.65

Tested by 3

Example_containerFunction · 0.36
runContainerFunction · 0.36
testPidnsInitKillFunction · 0.36