[CRIU] [PATCH 07/14] parasite: Add parasite_dump_tty helper

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 10:54:50 EDT 2012


Will need it to fetch tty link parameters. This is
because the kernel provides SID/PGID related to the
caller context, and if we're dumping the process inside
namespace -- we need local SID/PGIDs, not global ones.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/parasite-syscall.h |    3 +++
 include/parasite.h         |    9 +++++++++
 parasite-syscall.c         |   14 ++++++++++++++
 parasite.c                 |   39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-parasite-Add-parasite_dump_tty-helper.patch
Type: text/x-patch
Size: 3481 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121015/11426841/0007-parasite-Add-parasite_dump_tty-helper-0001.bin


More information about the CRIU mailing list