Re: [PATCH 1/2] fs: Add fd_install file operation

From: Kalesh Singh
Date: Mon Aug 03 2020 - 14:27:05 EST


On Mon, Aug 03, 2020 at 05:34:29PM +0100, Christoph Hellwig wrote:
> On Mon, Aug 03, 2020 at 02:47:18PM +0000, Kalesh Singh wrote:
> > Provides a per process hook for the acquisition of file descriptors,
> > despite the method used to obtain the descriptor.
> >
> > Signed-off-by: Kalesh Singh <kaleshsingh@xxxxxxxxxx>
>
> I strongly disagree with this. The file operation has no business
> hooking into installing the fd.
Hi Christoph. I am exploring the alternative suggested by Matthew in
Patch 2/2. Thanks :)