[CRIU] [PATCH] crit: Add userns handler

Andrew Vagin avagin at odin.com
Tue Oct 20 05:54:30 PDT 2015


On Mon, Oct 19, 2015 at 07:07:37PM +0300, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  pycriu/images/images.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/pycriu/images/images.py b/pycriu/images/images.py
> index 47b0aef4e09d..5e0ad6908fee 100644
> --- a/pycriu/images/images.py
> +++ b/pycriu/images/images.py
> @@ -303,7 +303,8 @@ handlers = {
>  	'IPCNS_SHM'		: entry_handler(ipc_shm_entry),
>  	'IPCNS_SEM'		: entry_handler(ipc_sem_entry),
>  	'IPCNS_MSG'		: entry_handler(ipc_msg_entry),
> -	'NETNS'			: entry_handler(netns_entry)
> +	'NETNS'			: entry_handler(netns_entry),
> +	'USERNS'		: entry_handler(userns_entry)

it's better to add comma to the end of line

>  	}
>  
>  def __rhandler(f):
> -- 
> 2.4.3
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list