# Re: \[PATCH v6 2/7\] fs: Move \_\_scm\_install\_fd() to \_\_receive\_fd()

- From: Christian Brauner \<hidden\>
- Date: 2020-07-07 11:46:14 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/07/183593
- Thread: https://ratatoskr.run/netdev/2020/07/183533/t.md

```text
On Mon, Jul 06, 2020 at 01:17:15PM -0700, Kees Cook wrote:
> In preparation for users of the "install a received file" logic outside
> of net/ (pidfd and seccomp), relocate and rename __scm_install_fd() from
> net/core/scm.c to __receive_fd() in fs/file.c, and provide a wrapper
> named receive_fd_user(), as future patches will change the interface
> to __receive_fd().
> 
> Reviewed-by: Sargun Dhillon <redacted>
> Signed-off-by: Kees Cook <redacted>
> ---

Thanks!
Acked-by: Christian Brauner <redacted>
```
