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

2018-02-15 Thread Cyrill Gorcunov
On Thu, Feb 15, 2018 at 02:18:27PM -0800, Andrey Vagin wrote: > On Thu, Feb 15, 2018 at 09:54:39PM +0300, Cyrill Gorcunov wrote: > > When fork() is called the current controlling terminal is inherited > > by a child process. But in criu we fork all process first and then > > restore their files,

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

2018-02-15 Thread Andrey Vagin
On Thu, Feb 15, 2018 at 09:54:39PM +0300, Cyrill Gorcunov wrote: > When fork() is called the current controlling terminal is inherited > by a child process. But in criu we fork all process first and then > restore their files, thus if terminal is opened in some children > its reference get lost.

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

2018-02-15 Thread Cyrill Gorcunov
When fork() is called the current controlling terminal is inherited by a child process. But in criu we fork all process first and then restore their files, thus if terminal is opened in some children its reference get lost. We refuse to checkpoint such configurations at the moment in criu itself.