Re: Tracing of vfork

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Fri, 12 Mar 1999 10:13:06 +0100


On Mar 11, Michael Elizabeth Chastain wrote:

> Yes there are no-op system calls. Just change it to sys_getpid,
> and smash whatever you want on top of the return value on the way out.
> Or set ORIG_EAX to __NR_nice and EBX to 0.

be careful, nice(0) isn't necessaily a NOP all the time!
it's not true if nice<0 before calling...

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- 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/