[CRIU] [PATCH 02/17] exec: Simplify unshare_files
Christian Brauner
christian.brauner at ubuntu.com
Tue Aug 18 13:08:21 MSK 2020
On Mon, Aug 17, 2020 at 05:04:10PM -0500, Eric W. Biederman wrote:
> Now that exec no longer needs to return the unshared files to their
> previous value there is no reason to return displaced.
>
> Instead when unshare_fd creates a copy of the file table, call
> put_files_struct before returning from unshare_files.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
> ---
Looks good.
Acked-by: Christian Brauner <christian.brauner at ubuntu.com>
More information about the CRIU
mailing list