Date: Tue, 27 Dec 1994 19:21:44 +1100 From: Bruce Evans <bde@zeta.org.au> To: hackers@freebsd.org, u923168@student.canberra.edu.au Subject: Re: ptrace Message-ID: <199412270821.TAA05057@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>A quick question. Is there anything in FreeBSD which does what the >PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the Not that I know if. >sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived >through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. procfs is broken too (regs are for curproc). >Or do I have to use PTRACE_SINGLESTEP and pray to the BSD gods? (yuk) >(still not sure how I'd detect syscalls, but shouldn't be *that* hard) How could PTRACE_SINGLESTEP be used other than to trace the whole process at glacial speed? It would be easier to implement PTRACE_SYSCALL. Which spelling of the ptrace numbers is least nonstandard, FreeBSD's PT_FOO or Linux's PTRACE_VERBOSEFOO? Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412270821.TAA05057>