[CRIU] [RFC 0/7] tty: Add support for multiple devpts

Cyrill Gorcunov gorcunov at openvz.org
Thu Jan 19 14:15:54 PST 2017


It is been discovered that we need to support the cases
where several devpts mounted.

Please take a look once time permit.

Cyrill Gorcunov (7):
  tty: Unify id printing
  tty: Print rdev and dev pair in case of error
  tty: Save task current terminal if present
  tty: mount -- Add mount_resolve_devpts_mnt_id helper
  tty: Save mount ids for terminals into image
  tty: Add support for multiple devpts instances
  test: pty05 -- Add testing of multiple devpts instance

 criu/cr-dump.c              |   7 +
 criu/include/mount.h        |   1 +
 criu/mount.c                |  52 +++++++
 criu/tty.c                  | 326 +++++++++++++++++++++++++++++++-------------
 images/core.proto           |   2 +
 images/tty.proto            |   4 +
 test/zdtm/static/Makefile   |   1 +
 test/zdtm/static/pty05.c    | 121 ++++++++++++++++
 test/zdtm/static/pty05.desc |   1 +
 9 files changed, 420 insertions(+), 95 deletions(-)
 create mode 100644 test/zdtm/static/pty05.c
 create mode 100644 test/zdtm/static/pty05.desc

-- 
2.7.4



More information about the CRIU mailing list