Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631985
| From | Cyrill Gorcunov <gorcunov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] tty: pty -- Add ability to setup next pty number for ptmx open |
| Date | 2017-04-27 11:30 +0200 |
| Message-ID | <tANUl-6Xr-7@gated-at.bofh.it> (permalink) |
| References | <tlXLY-5a1-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Mar 17, 2017 at 1:56 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote: > When we restore PTY terminals we do iterate over open() calls to reach > the index used at checkpoint time (say application opened a number of > terminals, then closed all other except last one) which of course very > inconvenient. > > The problem get more notable in scope of controlling terminal represented > by /dev/tty device: current CRIU restore scheme is lazy, we don't open > files immedeately after the forks but rather defer until the whole > process tree is created, then every process opens own files in async > way and in result /dev/tty is not propagated into children because > it is not yet opened. > Gentlemen, ping?
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [RFC] tty: pty -- Add ability to setup next pty number for ptmx open Cyrill Gorcunov <gorcunov@gmail.com> - 2017-04-27 11:30 +0200
csiph-web