[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Checkpoint/restart of ptys, pgids, and controlling tty

From:  Oren Laadan <orenl-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
To:  containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject:  Checkpoint/restart of ptys, pgids, and controlling tty
Date:  Fri, 4 Sep 2009 10:20:45 -0400

This post packs together the patches (6 for kernel, 3 for user) to
provide checkpoint/restart support for ptys, pgids and controlling
terminal. They apply on top of current ckpt-dev-v17 (kernel, user).

I'm not an expert on PTYs, TTYs, line disciplines and the like,
comments are mostly welcome:

* What (additional) values we need to sanitize on restart ?
* What (additional) locking should be in place ? (especially checkpoint)
* Need to save/restore echo buffer (and position) ?
* /dev/ptmx and /dev/pts/... paths are currently hardcoded
* Other security concerns ? ...

Oren.


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds