[CRIU] [PATCH 5/5] tty: Make tty_get_sid_pgrp() to use parasite code

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 13:07:11 EDT 2012


We need to use namespace local sid/pgid parameters
assigned on tty link, thus use parasite helper.

Otherwise we might fail on restore in namespace.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tty.c |   42 +++++++++++++++++-------------------------
 1 files changed, 17 insertions(+), 25 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-tty-Make-tty_get_sid_pgrp-to-use-parasite-code.patch
Type: text/x-patch
Size: 1614 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121015/ace0a82f/0005-tty-Make-tty_get_sid_pgrp-to-use-parasite-code.bin


More information about the CRIU mailing list