Richard Henderson <richard.hender...@linaro.org> writes:

> Using mprotect() to change PROT_* does not change the MAP_ANON
> previously set with mmap().  Our linux-user version of MTE only
> works with MAP_ANON pages, so losing PAGE_ANON caused MTE to
> stop working.
>
> Reported-by: Stephen Long <stepl...@quicinc.com>
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>

Yay test case ;-) It certainly fails before and works after.

Tested-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

-- 
Alex Bennée

Reply via email to