On Thu, Sep 27, 2012 at 07:17:49AM -0700, H. Peter Anvin wrote:While we easily can fetch termios settings and such, there are few bits which
are missed to expord. So this patch provides them to user-space.
What bothers me (and the same applies to termios) is that you have
NO idea if your particular process is the "owner" of that tty. tty
users use out-of-band protocols, often implicit, to determine which
process "owns" the tty state.
If you can't guarantee that ALL those processes are stopped and
checkpointed/restarted, you have a huge problem.
Well, sure inside our tool before doing checkpoint we stop all
tasks which are part of dumpee process tree. This unfortunatly
doesn't apply to these ioctl calls. Peter, any idea how to deal
with that?