Re: [PATCH 02/17] exec: Simplify unshare_files

From: Christian Brauner
Date: Tue Aug 18 2020 - 06:08:28 EST


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@xxxxxxxxxxxx>
> ---

Looks good.
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>