Re: [PATCH 01/10] security: Override creds in __fput() with last fputter's creds [ver #3]

From: Andy Lutomirski
Date: Thu Jun 06 2019 - 11:01:37 EST




> On Jun 6, 2019, at 2:42 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
>
> So that the LSM can see the credentials of the last process to do an fput()
> on a file object when the file object is being dismantled, do the following
> steps:
>

I still maintain that this is a giant design error. Can someone at least come up with a single valid use case that isnât entirely full of bugs?