Re: [RFC PATCH v2 5/8] mseal: Check seal flag for munmap(2)
From: Linus Torvalds
Date: Tue Oct 17 2023 - 12:54:58 EST
On Tue, 17 Oct 2023 at 02:08, <jeffxu@xxxxxxxxxxxx> wrote:
>
> Of all the call paths that call into do_vmi_munmap(),
> this is the only place where checkSeals = MM_SEAL_MUNMAP.
> The rest has checkSeals = 0.
Why?
None of this makes sense.
So you say "we can't munmap in this *one* place, but all others ignore
the sealing".
Crazy.
Linus