]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - Documentation/admin-guide/kernel-parameters.txt
powerpc: Add skeleton for Kernel Userspace Execution Prevention
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 18 Apr 2019 06:51:19 +0000 (16:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:05:56 +0000 (23:05 +1000)
commit0fb1c25ab523614b056ace11be67aac8f8ccabb1
tree0f458e2ca41b6e94626f1d7bc41c4557e42a44ec
parent69795cabe4cfe5122438d50010ad5310c113a013
powerpc: Add skeleton for Kernel Userspace Execution Prevention

This patch adds a skeleton for Kernel Userspace Execution Prevention.

Then subarches implementing it have to define CONFIG_PPC_HAVE_KUEP
and provide setup_kuep() function.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Don't split strings, use pr_crit_ratelimited()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/admin-guide/kernel-parameters.txt
arch/powerpc/include/asm/kup.h
arch/powerpc/mm/fault.c
arch/powerpc/mm/init-common.c
arch/powerpc/platforms/Kconfig.cputype