Re: [PATCH 0/2] mm/memfd: add F_SEAL_PUNCH_HOLE
From: Jason Gunthorpe
Date: Fri Oct 30 2026 - 08:17:16 EST
On Thu, Oct 29, 2026 at 07:11:25PM -0700, Andy Lutomirski wrote:
> I can't shake the feeling that the problem here isn't so much that KHO
> + iommofd doesn't like this but that the behavior in question is
> nonsensical.
It has been this way for ages, like David says if userspace shoot
itself in the foot it should not be surprised by this illogical
behavior..
You can get the same nonsenscial thing with just mmap too, you don't
even need a memfd.
Jason