> See if attached diff solves some of the above? - is it intended to break text relocations? - what's "handle" argument for? btw, i don't think pax_mprotect_enabled and pax_mprotect_global are updated at all because you are using CTLFLAG_IMMEDIATE. YAMAMOTO Takashi