mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
c18acfe756
@ -168,7 +168,7 @@ static void mcode_protect(jit_State *J, int prot)
|
||||
#define MCPROT_RUN MCPROT_RX
|
||||
|
||||
/* Protection twiddling failed. Probably due to kernel security. */
|
||||
static LJ_NOINLINE void mcode_protfail(jit_State *J)
|
||||
static LJ_NORET LJ_NOINLINE void mcode_protfail(jit_State *J)
|
||||
{
|
||||
lua_CFunction panic = J2G(J)->panic;
|
||||
if (panic) {
|
||||
@ -176,6 +176,7 @@ static LJ_NOINLINE void mcode_protfail(jit_State *J)
|
||||
setstrV(L, L->top++, lj_err_str(L, LJ_ERR_JITPROT));
|
||||
panic(L);
|
||||
}
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Change protection of MCode area. */
|
||||
|
Loading…
Reference in New Issue
Block a user