[CRIU] [PATCH 2/3] tty: Fix tty inheritance in case if zero sid
fetched
Cyrill Gorcunov
gorcunov at openvz.org
Fri Oct 26 03:01:04 EDT 2012
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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tty-Fix-tty-inheritance-in-case-if-zero-sid-fetched.patch
Type: text/x-patch
Size: 1487 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121026/0e6278a0/0002-tty-Fix-tty-inheritance-in-case-if-zero-sid-fetched.bin
More information about the CRIU
mailing list