Re: Re: [PATCH 1/2] file: Export receive_fd() to modules

2021-04-01 Thread Yongji Xie
On Thu, Apr 1, 2021 at 5:52 PM Greg KH wrote: > > On Thu, Apr 01, 2021 at 05:09:31PM +0800, Xie Yongji wrote: > > Export receive_fd() so that some modules can use > > it to pass file descriptor across processes without > > missing any security stuffs. > > > > Signed-off-by: Xie Yongji > > --- > >

Re: [PATCH 1/2] file: Export receive_fd() to modules

2021-04-01 Thread Greg KH
On Thu, Apr 01, 2021 at 05:09:31PM +0800, Xie Yongji wrote: > Export receive_fd() so that some modules can use > it to pass file descriptor across processes without > missing any security stuffs. > > Signed-off-by: Xie Yongji > --- > fs/file.c| 6 ++ > include/linux/file.h | 7 ++

[PATCH 1/2] file: Export receive_fd() to modules

2021-04-01 Thread Xie Yongji
Export receive_fd() so that some modules can use it to pass file descriptor across processes without missing any security stuffs. Signed-off-by: Xie Yongji --- fs/file.c| 6 ++ include/linux/file.h | 7 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fs/fil