Re: ptrace numbers

Carsten Paeth (calle@calle.in-berlin.de)
Fri, 21 Jun 1996 16:10:51 +0200 (MET DST)


>
>
> Just curious...
>
> I was looking at the bsd ptrace call to port strace to it...
>
> I notice in linux we have:
[...]
> #define PTRACE_ATTACH 0x10
> #define PTRACE_DETACH 0x11

If you want to port strace, you miss the important:
#define PTRACE_SYSCALL 24
which is not in bsd.

>
[...]
>
> marty leisner@sdsp.mc.xerox.com
> Member of the League for Programming Freedom (http://www.lpf.org)
> Any sufficiently advanced technology is indistinguishable from magic
> Arthur C. Clarke, The Lost Worlds of 2001
>

calle

-- 
calle@calle.in-berlin.de