Searched hist:"06 fbe81b5909847aa13f9c86c2b6f9bbc5c2795b" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-8xx.h | diff 06fbe81b5909847aa13f9c86c2b6f9bbc5c2795b Mon Mar 11 09:30:33 CET 2019 Christophe Leroy <christophe.leroy@c-s.fr> powerpc/8xx: Add Kernel Userspace Execution Prevention
This patch adds Kernel Userspace Execution Prevention on the 8xx.
When a page is Executable, it is set Executable for Key 0 and NX for Key 1.
Up to now, the User group is defined with Key 0 for both User and Supervisor.
By changing the group to Key 0 for User and Key 1 for Supervisor, this patch prevents the Kernel from being able to execute user code.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/linux/arch/powerpc/platforms/ |
H A D | Kconfig.cputype | diff 06fbe81b5909847aa13f9c86c2b6f9bbc5c2795b Mon Mar 11 09:30:33 CET 2019 Christophe Leroy <christophe.leroy@c-s.fr> powerpc/8xx: Add Kernel Userspace Execution Prevention
This patch adds Kernel Userspace Execution Prevention on the 8xx.
When a page is Executable, it is set Executable for Key 0 and NX for Key 1.
Up to now, the User group is defined with Key 0 for both User and Supervisor.
By changing the group to Key 0 for User and Key 1 for Supervisor, this patch prevents the Kernel from being able to execute user code.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|