summaryrefslogtreecommitdiff
path: root/arch/x86/mm/mem_encrypt_amd.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-08-29 13:18:03 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2022-09-01 21:10:19 +0300
commit652c5bf380ad018e15006a7f8349800245ddbbad (patch)
tree728090ac4d1581f79743ecc591e5859a1dbb6fce /arch/x86/mm/mem_encrypt_amd.c
parent86af8230ce138e0423f43f6b104f3fa050aced6d (diff)
downloadlinux-652c5bf380ad018e15006a7f8349800245ddbbad.tar.xz
x86/mm: Refuse W^X violations
x86 has STRICT_*_RWX, but not even a warning when someone violates it. Add this warning and fully refuse the transition. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lkml.kernel.org/r/YwySW3ROc21hN7g9@hirez.programming.kicks-ass.net
Diffstat (limited to 'arch/x86/mm/mem_encrypt_amd.c')
0 files changed, 0 insertions, 0 deletions