search for: eat_time

Displaying 1 result from an estimated 1 matches for "eat_time".

Did you mean: ae_time
1998 Feb 04
0
An old ld-linux.so hole
...spawn.c should open a file (called .lock ) receiving descriptor lock_fd and set a close-on-exec flag on it. Then spawn.c executes flock(lock_fd,LOCK_EX). Another program ( called noloop ) opens .lock and performs flock(noloop_fd,LOCK_EX) as well ( and goes to sleep). We also spawn a program called eat_time, which simply does for(;;);, generating some load on the machine. A great moment occures: spawn.c does execl("/usr/bin/passwd",long_arg0,0). As some load on the machine is imposed by eat_time, system call exec ( which is time-consuming) should use whole time quantum available for spawn....