ptraceシステムコール
ptrace - process trace
SYNOPSIS
long ptrace(enum __ptrace_request request, pid_t pid, void *addr, void
*data);
DESCRIPTION
The ptrace system call provides a means by which a parent process may
observe and control the execution of another process, and examine and
change its core image and registers. It is primarily used to implement
breakpoint debugging and system call tracing.
SunOS のマニュアル・ページには ptrace は独特で不可解と記述されており、まさしくそうである。