Re: [PATCH v8 00/21] Avoid MAP_FIXED gap exposure
From: Jeff Xu
Date: Fri Aug 30 2024 - 12:06:16 EST
Hi Liam
On Thu, Aug 29, 2024 at 9:01 PM Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> wrote:
>
> Changes since v7:
>
> This is all the patches I've sent for v7 fixups plus the return code for
> mseal(). The incorrect return code was introduced in an earlier patch
> and then modified (still incorrectly) later, so this version will
> hopefully bisect cleanly.
>
> - Fixed return type of vms_gather_munmap_vmas() to -ENOMEM or -EPERM
> - Passed through error returned from vms_gather_munmap_vmas() in
> mmap_region() - Thanks Jeff
I would think it is cleaner to fix the original commit directly
instead of as part of a large patch series, no ? If not possible,
maybe mm-unstable should apply my fix first then you can refactor
based on that ?
-Jeff