Re: [patch 01/10] x86/fpu/signal: Clarify exception handling in restore_fpregs_from_user()

From: Linus Torvalds
Date: Mon Aug 30 2021 - 18:12:20 EST


On Mon, Aug 30, 2021 at 3:01 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> So yes, the negation does not matter, but the ability to check whether
> the fail was caused by #PF or not matters.

See my secopd email with a note on access granularity, and why this
kind of model doesn't seem to work in general and seems dangerous.

Linus