RE: [PATCH v4 02/11] fs: Move __scm_install_fd() to __fd_install_received()

From: David Laight
Date: Wed Jun 17 2020 - 11:25:49 EST


From: Kees Cook
> Sent: 16 June 2020 04:25

> 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 __fd_install_received() in fs/file.c, and provide a
> wrapper named fd_install_received_user(), as future patches will change
> the interface to __fd_install_received().

Any reason for the leading __ ??

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)