x86/EFI: Avoid mapping EFI system memory as shadow stacks
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 20:49:13 +0000 (21:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 22:09:46 +0000 (23:09 +0100)
commit137d2d6310d31b4ace3df01832c37aa86b6173cc
treef20e094560d581503e9d7df411c5e7d15b31bcc2
parent97c7e7994fe217656c0af00696c3e6dd5582cdef
x86/EFI: Avoid mapping EFI system memory as shadow stacks

Ensure the dirty bit is clear when creating read-only EFI mappings.

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/efi/boot.c