On Mon, Aug 13, 2012 at 11:59:33AM +0400, Cyrill Gorcunov wrote: > > Moreover we could restore SID from task 1 but in this > scenario task 2 doesn't even have file desciptor for > master pty. Typo, I meant task 1 doesn't have master fd, 'cause it's closed.