Comment 2 for bug 1903833

Revision history for this message
Richard Henderson (rth) wrote :

The patch is most definitely wrong. The page protection
is required to implement self-modifying code, of which a
signal trampoline is a subset.

Moreover, your test case works for me using both
x86_64-linux and aarch64-linux as hosts.

There may be a bug, but I suspect it to be within WSL.
I have no way to test that one way or another.