| | 1970 | /* |
| | 1971 | * 5020256 |
| | 1972 | * |
| | 1973 | * The current implementation of ptrace() causes the traced process to |
| | 1974 | * be abducted away from the true parent and adopted by the tracer. |
| | 1975 | * |
| | 1976 | * Once the tracing process relinquishes control, the kernel then |
| | 1977 | * restores the true parent/child relationship. |
| | 1978 | * |
| | 1979 | * Unfortunately, the wait*() family of APIs is unaware of the temporarily |
| | 1980 | * data structures changes, and they return an error if reality hasn't |
| | 1981 | * been restored by the time they are called. |
| | 1982 | */ |