Re: [PATCH v6 2/7] fs: Move __scm_install_fd() to __receive_fd()

From
Christoph Hellwig <hch@lst.de>
Date
2020-07-07 06:49:27
Also in
linux-fsdevel, linux-kselftest, lkml, netdev
Reply to
Kees Cook, 2020-07-06
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().
Why the __ prefix if there is no receive_fd()?
Thread (26 messages) 26 messages, 3 authors, last reply 2020-07-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help