Re: ptrace vs /proc

Pradeep Padala
2002-07-03T01:15:48Z

> The Solaris /proc implementation, in contrast, was much cleaner,
> in my experience. I suspect this is partially because the Solaris
> implementation was more carefully thought-through, but also the interface
> helped: by not overloading the meaning of signals, the Solaris /proc
> interface avoids changing the semantics of signal-related functionality
> in the traced process, and this makes for cleaner code.

I completely agree with you. Using ptrace to do user level extensions like
UFO(http://www.cs.ucsb.edu/projects/ufo/index.html) is grossly inefficient
and kludgy.

--pradeep