>> [...process reparenting...] > Isn't what you want to do very similar to what happens when a process > goes into background and the parent dies?
Yes. Between that and the partial reparenting that happens at debugger attach, most of the code I want already exists. The pieces that don't are things like dealing with control ttys and sessions (reparenting orphaned processes to init deals with those, but only in the form of setting them to a suitable "cleared" state; I would want something more). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B