[PATCH] powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries.

Michael Ellerman patch-notifications at ellerman.id.au
Sun Oct 20 20:09:55 AEDT 2019


On Mon, 2019-10-14 at 16:51:28 UTC, Christophe Leroy wrote:
> Make sure starting addr is aligned to segment boundary so that when
> incrementing the segment, the starting address of the new segment is
> below the end address. Otherwise the last segment might get  missed.
> 
> Fixes: a68c31fc01ef ("powerpc/32s: Implement Kernel Userspace Access Protection")
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/d10f60ae27d26d811e2a1bb39ded47df96d7499f

cheers


More information about the Linuxppc-dev mailing list