[Devel] [RFC 0/7] criu: Add support for ctty inheritance

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 15 23:30:23 MSK 2018


This series requires kernel patch titled

[PATCH rh7]: ve: Provide interface for current tty inheritance

An easy way to test this is to run container, start screen
sessions inside and open a few new sessions where run python
script with multiple f=open("/dev/tty", "r+").

Cyrill Gorcunov (7):
  log: pr_warn_once -- Fix formatting
  check: Include sys/mount.h before linux/aio_abi.h
  files: Provide virt_sid in fd_parms
  tty: Don't check for group inheritance
  kdat: Add test for ctty inheritance
  tty: Move session lookup leader into find_session_leader
  tty: ctty -- Add support for multiple inherited ctty opened

 criu/cr-check.c        |   2 +-
 criu/files.c           |   1 +
 criu/include/files.h   |   1 +
 criu/include/kerndat.h |   1 +
 criu/include/log.h     |   4 +-
 criu/kerndat.c         |  17 ++++
 criu/tty.c             | 211 +++++++++++++++++++++++++++++++++++++++++++------
 7 files changed, 211 insertions(+), 26 deletions(-)

-- 
2.14.3



More information about the Devel mailing list