This commit is contained in:
Victor Tabary 2024-06-26 19:09:43 +02:00
parent 0eaa6f5fe7
commit 29c9b2817f
2 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,10 @@ function clear.clearAllGlobals()
for k, v in pairs(_G) do
if not table_contains(WHITELIST, tostring(k)) then _G[k] = nil end;
end
_G["k"] = nil
_G["v"] = nil
_G["WHITELIST"] = nil
_G["clearAllGlobals"] = nil
end
jit.off(table_contains)
jit.off(clear.clearAllGlobals)

View File

@ -616,7 +616,6 @@ int init_seccomp()
return prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) || prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog);
}
#include "math.h"
int random_digit()
{