[Review] Remove procfs dependency of truss
Howard Su
howard0su at gmail.com
Wed Apr 4 12:18:48 UTC 2007
On 4/4/07, Ed Schouten <ed at fxq.nl> wrote:
> * Howard Su <howard0su at gmail.com> wrote:
> > Following the suggestion in idea page, I proposed the attached patch.
> > I didn't change any kernel part because I think PTRACE(2) is
> > functional although man page didn't document it.
>
> Indeed. Looking at sys/ptrace.h, there are a lot of instructions that
> aren't documented in the manpage:
>
> - PT_GETNUMLWPS
> - PT_GETLWPLIST
> - PT_CLEARSTEP
> - PT_SETSTEP
> - PT_SUSPEND
> - PT_RESUME
> - PT_TO_SCE
> - PT_TO_SCX
> - PT_SYSCALL
> - PT_FIRSTMACH
As far as i know, PT_TO_SCE, PT_TO_SCX, PT_SYSCALL works well. I use
PT_SYSCALL in my patch.
--
-Howard
More information about the freebsd-current
mailing list