[CRIU] Re: [PATCH 2/2] tty: Add checkpoint/restore for ttys

Andrew Vagin avagin at parallels.com
Thu Jun 21 08:22:03 EDT 2012


On Thu, Jun 21, 2012 at 02:59:28PM +0400, Cyrill Gorcunov wrote:
> On Thu, Jun 21, 2012 at 02:46:56PM +0400, Andrew Vagin wrote:
> >
> > Looks like that it should be dead-locked if slave and master will be
> > opened in one process and a descriptor number of slave will be less than
> > a number of master.
> 
> How it's possible? If slave get connected from another process then it
> means the fd is sent via scm. Or you mean the case of multiple slaves
> opening from another process?
I said nothing about another processes. Let's imagine, that we have one
process.
slave_fd = 1
master_fd = 2
> 
> 	Cyrill


More information about the CRIU mailing list