# Re: \[PATCH v13 03/13\] file: Export receive\_fd() to modules

- From: Al Viro \<viro@zeniv.linux.org.uk\>
- Date: 2021-09-05 16:53:59 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/09/213688
- Thread: https://ratatoskr.run/netdev/2021/08/213458/t.md

```text
On Sun, Sep 05, 2021 at 11:57:22AM -0400, Michael S. Tsirkin wrote:
> On Tue, Aug 31, 2021 at 06:36:24PM +0800, Xie Yongji wrote:
> > Export receive_fd() so that some modules can use
> > it to pass file descriptor between processes without
> > missing any security stuffs.
> > 
> > Signed-off-by: Xie Yongji <redacted>
> > Acked-by: Jason Wang <redacted>
> 
> This needs some acks from fs devels.
> Viro?

*shrug*

I still think that having random ioctls messing with descriptor table
is a bad idea, and I'm not thrilled with the way it's currently
factored, but we can change that later.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
