Do you mean that I should replace PTRACE_* with PT_* for kfreebsd or for
both kfreebsd and linux?

I would use PT_ATTACH/PT_DETACH everywhere
and added into scanmem/ptrace.c after all includes lines:

#ifndef PT_ATTACH
#define PT_ATTACH PTRACE_ATTACH
#endif

#ifndef PT_DETTACH
#define PT_DETTACH PTRACE_DETTACH
#endif

For these, the effective interface on *BSD and Linux is the same.

And I'll try to port it

Many thanks.

                Petr



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to