[PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

PLATTNER Christoph christoph.plattner at thalesgroup.com
Mon Mar 15 19:55:39 AEDT 2021


Thank you for maintenance and for following this request.

Regards
Christoph

-----Original Message-----
From: Michael Ellerman <patch-notifications at ellerman.id.au> 
Sent: Sonntag, 14. März 2021 11:01
To: Michael Ellerman <mpe at ellerman.id.au>; Paul Mackerras <paulus at samba.org>; Benjamin Herrenschmidt <benh at kernel.crashing.org>; PLATTNER Christoph <christoph.plattner at thalesgroup.com>; Christophe Leroy <christophe.leroy at csgroup.eu>
Cc: linux-kernel at vger.kernel.org; linuxppc-dev at lists.ozlabs.org
Subject: Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

On Mon, 1 Feb 2021 06:29:50 +0000 (UTC), Christophe Leroy wrote:
> On book3s/32, page protection is defined by the PP bits in the PTE 
> which provide the following protection depending on the access keys 
> defined in the matching segment register:
> - PP 00 means RW with key 0 and N/A with key 1.
> - PP 01 means RW with key 0 and RO with key 1.
> - PP 10 means RW with both key 0 and key 1.
> - PP 11 means RO with both key 0 and key 1.
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/603: Fix protection of user pages mapped with PROT_NONE
      https://git.kernel.org/powerpc/c/c119565a15a628efdfa51352f9f6c5186e506a1c

cheers


More information about the Linuxppc-dev mailing list