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

Method Set

libcontainer/system/linux.go:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (p ParentDeathSignal) Set() error {
32 return SetParentDeathSignal(uintptr(p))
33}
34
35func SetParentDeathSignal(sig uintptr) error {
36 if err := unix.Prctl(unix.PR_SET_PDEATHSIG, sig, 0, 0, 0); err != nil {

Callers 1

RestoreMethod · 0.95

Calls 1

SetParentDeathSignalFunction · 0.85

Tested by

no test coverage detected