Hi Waldek

This is exactly what I was hoping would happen:

I was pointed out to me that in Linux kernel 5.8 there is
a change to default memory settings: before readable memory
was executable by default, in 5.8 it is no longer executable
without explicit setting.

Attached patch to 'c_core.c' should restore previous
behaviour.  We should probably explicitely set executable
permissions on all memory that we want to execute, but this
would require a bit more work.  And without kernel 5.8
I would be unable to test such patch.

To test you need to apply patch to 'c_core.c', recompile
C routines and relink (there is no change to Pop11 code,
only to C file).  Of course full rebuild will do.

I am busy most of today, but will try to do this tonight -- hoping my fading
brain will remember how to do all the steps. I'll then reboot into 5.8 and test
the result.

If it works we can rebuild the package to download to install poplog. I assume
the change will not do any harm if run on an older kernel...

Thanks.

Aaron

Reply via email to