Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.
From: Linus Torvalds
Date: Wed Oct 23 2019 - 16:15:36 EST
On Wed, Oct 23, 2019 at 3:10 PM Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote:
>
> That wouldn't break the ABI, no more than when if you boot a kernel
> built with CONFIG_USERFAULTFD=n.
What? No.
You're entirely incorrect.
If USEFAULTFD no longer works, and if people depend on it, then it's
breaking the ABI. End of story. No weaselwording of "as if built with
CONFIG_USERFAULTFD=n" allowed, no garbage.
Btw, the whole "breaking the ABI" is misleading wording anyway. It's
irrelevant. You can "break" the ABI all you want by changing
semantics, adding or removing features, or making it do anything else
- as long as nobody notices.
Because the only thing that matters is that it doesn't break any user
workflows. That's _all_ that matters, but it's a big deal, and it
means that your fantasy reading of what "ABI" means is irrelevant.
Just because there's a config option to turn something off, doesn't
mean that you can then claim that you can do whatever.
So your statement is nonsensical and pointless.
Please don't spread this kind of bogus claims.
Linus