summaryrefslogtreecommitdiff
path: root/src/lj_state.h
diff options
context:
space:
mode:
authorMike Pall <mike>2020-06-15 12:21:05 +0200
committerMike Pall <mike>2020-06-15 12:21:05 +0200
commita44f53acf53603e7d9b88352de035b1804be4e88 (patch)
tree940e202e0ca56e0df42860fbc89326e72cdc148d /src/lj_state.h
parent34e53736c6ed90dc56357aff22009e88b443ecfd (diff)
downloadluajit-a44f53acf53603e7d9b88352de035b1804be4e88.tar.gz
luajit-a44f53acf53603e7d9b88352de035b1804be4e88.tar.bz2
luajit-a44f53acf53603e7d9b88352de035b1804be4e88.zip
Use a securely seeded global PRNG for the VM.
It's not 2005 anymore.
Diffstat (limited to 'src/lj_state.h')
-rw-r--r--src/lj_state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_state.h b/src/lj_state.h
index 9a8c7d93..50fe9000 100644
--- a/src/lj_state.h
+++ b/src/lj_state.h
@@ -32,4 +32,6 @@ LJ_FUNC void LJ_FASTCALL lj_state_free(global_State *g, lua_State *L);
32LJ_FUNC lua_State *lj_state_newstate(lua_Alloc f, void *ud); 32LJ_FUNC lua_State *lj_state_newstate(lua_Alloc f, void *ud);
33#endif 33#endif
34 34
35#define LJ_ALLOCF_INTERNAL ((lua_Alloc)(void *)(uintptr_t)(1237<<4))
36
35#endif 37#endif