[CRIU] Re: [PATCH 5/6] tty: Restore orphan slavery peers

Cyrill Gorcunov gorcunov at openvz.org
Fri Sep 14 06:56:52 EDT 2012


On Fri, Sep 14, 2012 at 02:38:42PM +0400, Cyrill Gorcunov wrote:
> 
> In case if there is no master peer associated
> with a slave peer we have two cases
> 
>  - the master peer was closed before slave
>  - we just have no master peer at all, but
>    only slave one
> 
> In first case we just create a fake master peer
> and connect slaves on it.
> 
> The second case is a bit more complex. Because
> we have no master peer -- it means the slaves
> are connected to some external master peer which
> doesn't belong us. In a sake of security in such
> case a user must provide "--ext-tty" option on
> restore granting the program to connect to existing
> external master peer.
> 
> Suggested-by: Andrey Vagin <avagin at openvz.org>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---

Pavel, you may review it if you get some time to, but I
think I should better split it to a couple.


More information about the CRIU mailing list