[CRIU] [PATCH 00/14] Process tree handling and TTY migration

Cyrill Gorcunov gorcunov at openvz.org
Sat Oct 6 02:58:29 EDT 2012


Hi guys, this series does a couple of things -- it does tune
up process tree code preparing it for ability of PID/GIDs inheritance
and restoration of external tty peer.

The series consists of

  pstree: pstree_item members tuning up
  pstree: Rename @list member to @sibling
  dump: No need to init root_item->sibling
  pstree: Move struct pid to pstree.h
  pstree: Define symbolic name for init process

	These are rather a slab of patches which were
	sent out already and floating around but not
	yet merged.

  bitops: Add find_next_bit helper
  tty: Use find_next_bit helper to test tty_active_pairs bitmap
  sfd_type: Add SELF_STDIN_OFF service fd
  tty: Add tty_prep_fds, tty_fini_fds helpers
  files: Call for tty migration helpers where needed

	These are preparing tty code for peer migration

  options: Add "--inherit-sid" option
  options: Add "--ext-tty" option
  pstree: Migrate SIDs/PGIDs if requested
  tty: Migrate tty slave peer connection

	These are main changes -- we introduce two new options
	"--inherit-sid", for restore of process tree in new
	session. And "--ext-tty" to restore external tty peer.

Please review and tell me what you think. Thanks.

-- 
1.7.7.6


More information about the CRIU mailing list