[CRIU] [PATCH 00/15] tty: Add support for multiple devtps instances

Cyrill Gorcunov gorcunov at gmail.com
Fri Sep 7 19:18:21 MSK 2018


Similar code is living in vz7 instace of criu so I think it is time
to move it into vanilla criu. This hasn't been done before mostly
due to lack of time.

Cyrill Gorcunov (15):
  tty: Use stdint types
  tty: Improve session leader lookup
  tty: Use mnt_id inside pairs comparision
  tty: Add is_ctty helper
  tty: Fetch ctty index based on sid
  tty: Restore tty params synchronously
  tty: Check for valid index when collecting
  tty: Don't check for group inheritance
  tty: Add helpers to resolve mnt_id on peers
  tty: Add support for multiple devpts instances
  tty: Add bug-on in tty_test_and_set
  tty: Align members
  tty: Shrink code in dump_verify_tty_sids
  tty: More detailed logging
  test: pty05 -- Add testing of multiple devpts instance

 criu/cr-dump.c              |   1 +
 criu/include/mount.h        |   2 +
 criu/include/tty.h          |   1 +
 criu/include/util.h         |  14 +
 criu/mount.c                |  99 ++++++
 criu/tty.c                  | 611 +++++++++++++++++++++++++-----------
 images/tty.proto            |   6 +-
 test/zdtm/static/Makefile   |   1 +
 test/zdtm/static/pty05.c    | 183 +++++++++++
 test/zdtm/static/pty05.desc |   1 +
 10 files changed, 725 insertions(+), 194 deletions(-)
 create mode 100644 test/zdtm/static/pty05.c
 create mode 100644 test/zdtm/static/pty05.desc

-- 
2.17.1



More information about the CRIU mailing list