[CRIU] Re: [PATCH 2/3] tty: Fix tty inheritance in case if zero sid fetched

Pavel Emelyanov xemul at parallels.com
Fri Oct 26 04:12:53 EDT 2012


On 10/26/2012 11:01 AM, Cyrill Gorcunov wrote:
> 
> In case if at checkpoint time we've fetched zero sid
> associated with tty peer it doesn't obligatory means
> that we've met a hangig up terminal, in particular
> zero sid may be obtained if the slave peer do not
> belong to the session the task run in but inherited
> from the parent. Thus if --shell-job passed we should
> handle such situation gracefully.
> 
> [ https://bugzilla.openvz.org/show_bug.cgi?id=2405 ]
> 
> Reported-by: Andrey Vagin <avagin at openvz.org>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  tty.c |   32 ++++++++++++++++++++++++++------
>  1 files changed, 26 insertions(+), 6 deletions(-)
> 


This also tosses the code around.
Plz, split into two -- fix and toss.


More information about the CRIU mailing list