Messages in this thread | | | Date | Sat, 13 Mar 1999 00:27:28 +0100 | Subject | Re: Tracing of vfork | From | Marc Lehmann <> |
| |
On Fri, Mar 12, 1999 at 10:13:06AM +0100, Harald Koenig wrote: > 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...
Why? nice doesn't adjust negative priorities differently than positive ones (or zero).
-- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
- 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/
| |