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



Reply via email to