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

Christian Brauner
2020-08-18T10:08:28Z

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@xmission.com>
> ---

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