lkml.org 
[lkml]   [1996]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ptrace numbers
Date
From
> 
>
> 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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.176 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site