On Thu, Nov 30, 2023 at 01:49:11PM +0100, Christian Brauner wrote: > +++ b/include/linux/file.h > @@ -96,10 +96,7 @@ DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T), > > extern void fd_install(unsigned int fd, struct file *file); > > -extern int __receive_fd(struct file *file, int __user *ufd, > - unsigned int o_flags); > - > -extern int receive_fd(struct file *file, unsigned int o_flags); > +extern int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags); You could drop the 'extern' while you're at it.