[0/2] linux-user: mmap/mprotect prot values

Message ID 20200519185645.3915-1-richard.henderson@linaro.org
Headers show
  • linux-user: mmap/mprotect prot values
Related show


Richard Henderson May 19, 2020, 6:56 p.m.
The new validation hook will give me a place to add extra
hooks to handle BTI and MTE.  But in the meantime, we can
adjust the host page protections to make PROT_EXEC reliable.


Richard Henderson (2):
  linux-user: Validate mmap/mprotect prot value
  linux-user: Adjust guest page protection for the host

 linux-user/mmap.c | 110 ++++++++++++++++++++++++++++++++--------------
 1 file changed, 77 insertions(+), 33 deletions(-)