Re: Shutting down fds prior to execvpe in rainbow/inject.py: joyride 247 under Qemu

2007-11-07 Thread Marcus Leech
Albert Cahalan wrote: Marcus Leech writes: I experimentally put some code just before the execvpe() in inject.py to close FDs = 3 and = 10. I picked 10 out of the air, but I wouldn't expect there to be many open file descriptors at that point. Actually, given the semantics of dup(),

Re: Shutting down fds prior to execvpe in rainbow/inject.py: joyride 247 under Qemu

2007-11-07 Thread Alexander M. Latham
--- Michael Stone wrote: Logviewer hangs just like Clock. So does MaMa Media Creative Center, and Record.Hmmm. Record has been crashing on startup for a long time (a week?) because it's trying to mkdir() a directory that already exists. MaMa Media Creative Center had a similar problem,

Re: Shutting down fds prior to execvpe in rainbow/inject.py: joyride 247 under Qemu

2007-11-06 Thread Albert Cahalan
Marcus Leech writes: I experimentally put some code just before the execvpe() in inject.py to close FDs = 3 and = 10. I picked 10 out of the air, but I wouldn't expect there to be many open file descriptors at that point. Actually, given the semantics of dup(), you could use it to probe