On Thu, Apr 01, 2021 at 03:10:47PM -0700, Yu-cheng Yu wrote: > A shadow stack PTE must be read-only and have _PAGE_DIRTY set. However, > read-only and Dirty PTEs also exist for copy-on-write (COW) pages. These > two cases are handled differently for page faults. Introduce > VM_SHADOW_STACK to track shadow stack VMAs. > > Signed-off-by: Yu-cheng Yu <yu-cheng...@intel.com> > Cc: Kees Cook <keesc...@chromium.org>
Reviewed-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com> -- Kirill A. Shutemov