Messages in this thread | | | Date | Thu, 18 Nov 1999 15:46:06 +0100 | From | Wichert Akkerman <> | Subject | Re: 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]
| |