about summary refs log tree commit diff stats
path: root/src/lbaselib.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-13 14:38:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-03-13 14:41:41 -0700
commitee7f893a7e9440b0caaeddb804e8e1ac34f5c9a2 (patch)
treee391d63f26491b8486b3a8936a261d70da0e9625 /src/lbaselib.c
parent35a6794386d347baec5349fceeb419f940361b87 (diff)
downloadteliva-ee7f893a7e9440b0caaeddb804e8e1ac34f5c9a2.tar.gz
drop string.dump, clean up docs around it
Diffstat (limited to 'src/lbaselib.c')
-rw-r--r--src/lbaselib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lbaselib.c b/src/lbaselib.c
index 8a4d651..6f78f7f 100644
--- a/src/lbaselib.c
+++ b/src/lbaselib.c
@@ -380,10 +380,14 @@ static int luaB_newproxy (lua_State *L) {
 static const luaL_Reg base_funcs[] = {
   {"assert", luaB_assert},
   {"collectgarbage", luaB_collectgarbage},
+  /* no 'dofile' without sandboxing it */
   {"error", luaB_error},
   {"gcinfo", luaB_gcinfo},
   {"getfenv", luaB_getfenv},
   {"getmetatable", luaB_getmetatable},
+  /* no 'loadfile' without sandboxing it */
+  /* no 'load' without sandboxing it */
+  /* no 'loadstring' without sandboxing it */
   {"next", luaB_next},
   {"pcall", luaB_pcall},
   {"print", luaB_print},