Re: [PATCH] tpm: track the response read position internally, not via the file offset
From: Jarkko Sakkinen
Date: Tue Nov 17 2026 - 07:35:10 EST
On Tue, Nov 17, 2026 at 12:59:25PM +0200, Jarkko Sakkinen wrote:
> ...
I think this would be more feasible:
if (current->flags & PF_IO_WORKER)
return -EIO;
if ((current->flags & PF_KTHREAD) && current->io_uring)
return -EIO;
I.e., block io_uring entirely.
Br, Jarkko