ptrace in unix tracing non-child processes

Chris Torek chris at mimsy.UUCP
Sun Apr 10 03:30:56 AEST 1988


In article <352 at tandem.UUCP> narayan at tandem.UUCP (Narayan Mohanram) writes:
>Has any one considered implementing a `xptrace ()' which can 
>debug non-child processes. This will get one the ability to
>debug processes such as daemons that are already running.

Better: throw out ptrace entirely and adopt the V8/V9 `/proc' approach.
ptrace is ugly and slow; /proc is moderatly odd (ioctls for process
control!?) and much less so.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list