[CRIU] [PATCH 0/3] prctl: Implement PR_SET_MM_MAP, rebase on lates master

Pavel Emelyanov xemul at parallels.com
Mon Oct 27 10:26:11 PDT 2014


On 10/24/2014 02:10 PM, Cyrill Gorcunov wrote:
> Cyrill Gorcunov (3):
>   prctl: Add new interface constants
>   prctl: restore -- Use new PR_SET_MM_MAP if kernel supports
>   prctl: check -- Try new interface as well
> 
>  cr-check.c      | 40 +++++++++++++++++++++--------------
>  include/prctl.h | 24 +++++++++++++++++++++
>  pie/restorer.c  | 65 ++++++++++++++++++++++++++++++++++++++++-----------------
>  3 files changed, 94 insertions(+), 35 deletions(-)
> 
Applied, thanks.

In patch #2 however:

> +	} else
> +		sys_close(args->fd_exe_link);

Is this new API difference? New prctl does NOT close the fd?


More information about the CRIU mailing list