[CRIU] [PATCH 2/5] parasite: Add parasite_dump_tty helper

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 13:07:08 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 |    2 ++
 include/parasite.h         |    9 +++++++++
 parasite-syscall.c         |   11 +++++++++++
 parasite.c                 |   39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+), 0 deletions(-)

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


More information about the CRIU mailing list