[pcre-dev] [Bug 1749] PCRE-JITted code should be executed fr…

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumptes vells: [pcre-dev] [Bug 1749] New: PCRE-JITted code should be executed from non-writable memory to obey execmem SELinux restriction
Assumpte: [pcre-dev] [Bug 1749] PCRE-JITted code should be executed from non-writable memory to obey execmem SELinux restriction
https://bugs.exim.org/show_bug.cgi?id=1749

--- Comment #12 from Giuseppe D'Angelo <dangelog@???> ---
(In reply to Zoltan Herczeg from comment #10)
> It seems the trick is mapping it twice:
>
> > One is writeable, the other is executable.
>
> So one thread can write a new code while another executes an existing
> pattern.


So basically all threads use the same mapping, with different permissions in
different regions, instead of having one mapping per jit-compiled pattern?

> Next question: how can you allocate / deallocate 64K+ chunks of this file?


Could you pleae elaborate a little about what's going on here?

--
You are receiving this mail because:
You are on the CC list for the bug.