Richard Henderson <[email protected]> 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 <[email protected]>
> Signed-off-by: Richard Henderson <[email protected]>

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

Tested-by: Alex Bennée <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>

-- 
Alex Bennée

Reply via email to