Date: Wed, 4 Apr 2007 20:18:45 +0800 From: "Howard Su" <howard0su@gmail.com> To: "Ed Schouten" <ed@fxq.nl> Cc: current@freebsd.org Subject: Re: [Review] Remove procfs dependency of truss Message-ID: <f126fae00704040518n21b5ee64id48d98ab85d009b6@mail.gmail.com> In-Reply-To: <20070404121602.GI14608@hoeg.nl> References: <f126fae00704040118w25a7b291xdcf1b6300bab1ceb@mail.gmail.com> <20070404121602.GI14608@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/07, Ed Schouten <ed@fxq.nl> wrote: > * Howard Su <howard0su@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f126fae00704040518n21b5ee64id48d98ab85d009b6>