From 866f5c51a08025593c5fbf32feb9a705be7cdc95 Mon Sep 17 00:00:00 2001 From: Ken Sato Date: Wed, 3 Feb 2021 08:37:21 +0900 Subject: [PATCH] docs: add limitation of system calls that call copy_to_user() Change-Id: If449c73f8d5949ab5526ea598b0f713ed4431157 Refs: #1514 --- docs/users.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/users.rst b/docs/users.rst index 32a6ba9e..7842ff78 100644 --- a/docs/users.rst +++ b/docs/users.rst @@ -214,3 +214,9 @@ Limitations :: sudo systemctl restart xos_hwb + +31. System calls can write the mcexec VMAs with PROT_WRITE flag not + set. This is because we never turn off PROT_WRITE of the mcexec + VMAs to circumvent the issue "set_host_vma(): do NOT read protect + Linux VMA". +