criu/test
Andrey Vagin 967ca651a8 tty: restore sid on master points only (v2)
If a master point has sid, it doesn't mean, that all slave points
will have sid. Look at tty03 for example:

  PID   SID TT       COMMAND
26748 26748 ?        tty03
26749 26749 pts/2     \_ tty03
26750 26750 ?             \_ tty03

The second process has not a file descriptor for the ctl tty,
but this tty is opened in tty03.

v2: If a slave point with sid has not a master point, the option
--shell-job must be set and sid isn't restored for such terminals.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-03-19 23:01:51 +04:00
..
app-emu app-emu/lxc: create /var/run/netns/ 2013-03-14 19:35:36 +04:00
tcp tcp: Automate TCP stream c/r 2012-04-28 20:37:54 +04:00
zdtm zdtm: one more test case for controlling terminals 2013-03-19 23:01:27 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile test: add ability to execute tests in parallel 2013-01-22 22:48:00 +04:00
zdtm.sh tty: restore sid on master points only (v2) 2013-03-19 23:01:51 +04:00