diff options
author | Andrei Vagin <avagin@virtuozzo.com> | 2017-02-07 11:43:27 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-03-01 21:58:02 +0300 |
commit | 6afe523d97d59e6bf29621b8aa0e6a4332f710fc (patch) | |
tree | 707afc77061f89156261a2bcb3c10f76147532d7 /images/rpc.proto | |
parent | e4f60eee8b8861b98bdce0a88efcc5c72fb582de (diff) |
tty: notify about orphan tty-s via rpc
Now Docker creates a pty pair from a container devpts to use is as console.
A slave tty is set as a control tty for the init process and bind-mounted
into /dev/console. The master tty is handled externelly.
Now CRIU can handle external resources, but here we have internal resources
which are used externaly.
https://github.com/opencontainers/runc/issues/1202
travis-ci: success for A few fixes to c/r a docker container with a console (rev3)
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'images/rpc.proto')
-rw-r--r-- | images/rpc.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/rpc.proto b/images/rpc.proto index 56591dc4d..394469ad8 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -109,6 +109,7 @@ message criu_opts { optional bool tcp_skip_in_flight = 46; optional bool weak_sysctls = 47; optional int32 status_fd = 49; + optional bool orphan_pts_master = 50; } message criu_dump_resp { |