Re: [Review] Remove procfs dependency of truss

From: Howard Su <howard0su_at_gmail.com>
Date: Wed, 4 Apr 2007 20:18:45 +0800
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
Received on Wed Apr 04 2007 - 10:18:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC