[CRIU] [PATCH] criu: tty: pick only master as a control terminal
Cyrill Gorcunov
gorcunov at gmail.com
Wed Dec 9 09:06:58 PST 2015
On Wed, Dec 09, 2015 at 07:58:41PM +0300, Dmitry Safonov wrote:
> https://jira.sw.ru/browse/PSBM-42093
>
> Signed-off-by: Dmitry Safonov <dsafonov at odin.com>
> ---
> tty.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tty.c b/tty.c
> index 1286742..a5338d2 100644
> --- a/tty.c
> +++ b/tty.c
> @@ -1185,6 +1185,9 @@ int tty_setup_slavery(void)
> info->driver->type == TTY_TYPE__CTTY)
> continue;
>
> + if (!tty_is_master(info))
> + continue;
> +
> info->ctl_tty = info;
> pr_debug("ctl tty leader %x\n", info->tfe->id);
> peer = info;
Could you please describe in changelog what's the problem is?
More information about the CRIU
mailing list