> 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!).
I wonder what you're talking about. I'm sure I didn't leave i386 code
in the MIPS stuff - it wouldn't even assemble :-)
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/