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

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

Message

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.


r~


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(-)

-- 
2.20.1