ptrace question

hartman at m.cs.uiuc.edu hartman at m.cs.uiuc.edu
Sun Jul 24 11:45:00 AEST 1988


What is (is there) a difference between 'ptrace' under Berkeley UNIX and
under System V?  My SVR3 man page says something like "provides a means
by which a PARENT process may control the execution of a CHILD process".
The BSD entry says something more like "the execution of ANOTHER process".

I like the less restrictive, BSD definition better -- but is there really
a difference in functionality, and if so, why?

Also, any short examples demonstrating the use of 'ptrace' would be
appreciated.  Thanks.

-- 
Mark Hartman                    hartman at cs.uiuc.edu
                                ..uiucdcs!hartman



More information about the Comp.unix.wizards mailing list