[PATCH 1/2] mm/mprotect: Call arch_validate_prot under mmap_lock and with length

Jann Horn jannh at google.com
Thu Oct 15 09:29:42 AEDT 2020


On Wed, Oct 14, 2020 at 11:24 PM Khalid Aziz <khalid.aziz at oracle.com> wrote:
[...]
> current code? What FreeBSD does seems like a reasonable thing to do. Any
> way first thing to do is to update sparc to use arch_validate_flags()
> and update sparc_validate_prot() to not peek into vma without lock. I
> can do that unless Jann wants to rework this 2 patch series with these
> changes.

Ah, if you're willing to take care of that, that'd be nice, please do. :)


More information about the Linuxppc-dev mailing list