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

Pavel Emelyanov xemul at parallels.com
Mon Oct 15 13:15:30 EDT 2012


On 10/15/2012 09:07 PM, Cyrill Gorcunov wrote:
> 
> 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(-)
> 


> +	struct parasite_dump_tty *args = p->ctl->addr_args;
>  	int ret;

No no no. Only via parasite_args().


More information about the CRIU mailing list