Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to write paxctl MPROTECT-safe JIT code?

On Tue, Nov 15, 2016 at 12:34:14PM +0100, Thomas Klausner wrote:
> I've filed some upstream bug reports about paxctl issues, some existed
> already.
> One developer asks how to fix the issue:
> Can someone please help out here?

The only safe and performant way I know is to create a temporary file,
unlink it and mmap it twice via the fd. It's a PITA.


Home | Main Index | Thread Index | Old Index