()
| 606 | } |
| 607 | |
| 608 | func getSubreaper() (int, error) { |
| 609 | var i uintptr |
| 610 | if err := unix.Prctl(unix.PR_GET_CHILD_SUBREAPER, uintptr(unsafe.Pointer(&i)), 0, 0, 0); err != nil { |
| 611 | return -1, err |
| 612 | } |
| 613 | return int(i), nil |
| 614 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…