[CRIU] [PATCH] tty: Don't forget to setup peers mode on restore

Dmitry Safonov dsafonov at virtuozzo.com
Fri Jun 24 07:42:54 PDT 2016


On 06/24/2016 05:19 PM, Cyrill Gorcunov wrote:
> In commit ... we've started to carry @mode of the
> files we're opening on restore, implying they are
> static and should not be changed. This is true for
> regular files but the pty peers are created
> dynamically so if someone have set some special
> mode beore the checkpoint procedure we will fail
> on restore when regular file engine test it. So lets
> setup @mode unconditionally.
>
> https://travis-ci.org/xemul/criu/jobs/140011141
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

I'm not very familiar with this code, but looks good for me:
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>


More information about the CRIU mailing list