[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210315053721.189-2-xieyongji@bytedance.com>
Date: Mon, 15 Mar 2021 13:37:11 +0800
From: Xie Yongji <xieyongji@...edance.com>
To: mst@...hat.com, jasowang@...hat.com, stefanha@...hat.com,
sgarzare@...hat.com, parav@...dia.com, bob.liu@...cle.com,
hch@...radead.org, rdunlap@...radead.org, willy@...radead.org,
viro@...iv.linux.org.uk, axboe@...nel.dk, bcrl@...ck.org,
corbet@....net, mika.penttila@...tfour.com,
dan.carpenter@...cle.com
Cc: virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
kvm@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [PATCH v5 01/11] file: Export __receive_fd() to modules
Export __receive_fd() so that some modules can use
it to pass file descriptor between processes.
Signed-off-by: Xie Yongji <xieyongji@...edance.com>
---
fs/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/file.c b/fs/file.c
index dab120b71e44..a2e5bcae63ba 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -1107,6 +1107,7 @@ int __receive_fd(int fd, struct file *file, int __user *ufd, unsigned int o_flag
__receive_sock(file);
return new_fd;
}
+EXPORT_SYMBOL(__receive_fd);
static int ksys_dup3(unsigned int oldfd, unsigned int newfd, int flags)
{
--
2.11.0
Powered by blists - more mailing lists