lkml.org 
[lkml]   [1999]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vfork

Heh, found this in an old mailfolder I don't read anymore..

Previously Alan Cox wrote:
> Its such a brilliant idea that we already had it...
>
> if (!(clone_flags & CLONE_PTRACE))
> new_flags &= ~(PF_PTRACED|PF_TRACESYS);
>
> That was added for the threaded-gdb folks a while back 8)

Which means strace would need to turn fork into a clone call iff
we're running on Linux and iff we have a recent enough kernel, right?
That would mean adding more conditions to the code where it's already
messy enough.. although it would make it easier to port (right now
it goes wrong for mipsel for example, I think it still uses i386-instruction
on a mips processor.. oops!).

Wichert.

--
_________________________________________________________________
/ Generally uninteresting signature - ignore at your convenience \
| wichert@liacs.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.125 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site