diff --git a/memory_security/src/jit_memory.c b/memory_security/src/jit_memory.c index e34b6ab0cbe380bf5841bdb76be3d6e1d3339a84..13689428df580696197d774c705bcd771c97d2b1 100644 --- a/memory_security/src/jit_memory.c +++ b/memory_security/src/jit_memory.c @@ -56,12 +56,12 @@ void check_jit_memory(struct task_struct *task, unsigned long cookie, unsigned l return; unsigned long start = *err; - if (prot & PROT_EXEC) { - jit_memory_log_info("can not apply prot_exec"); - *err = -EACCES; - vm_munmap(start, size); - return; - } + // if (prot & PROT_EXEC) { + // jit_memory_log_info("can not apply prot_exec"); + // *err = -EACCES; + // vm_munmap(start, size); + // return; + // } if (!(flag & MAP_JIT)) return;