1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/stand/liblua
Kyle Evans 697f127dd6 lualoader: Expose loader.parse and add cli_execute_unparsed
This will be used for scenarios where the command to execute is coming in
via the environment (from, for example, loader.conf(5)) and is thus not
necessarily trusted.

cli_execute_unparsed will immediately be used for handling
module_{before,after,error} as well as menu_timeout_command. We still want
to offer these variables the ability to execute Lua-intercepted loader
commands, but we don't want them to be able to execute arbitrary Lua.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D14580
2018-03-07 18:25:27 +00:00
..
float.h
lerrno.c loader.lua: Expose errno table to lua 2018-02-20 19:39:48 +00:00
lerrno.h loader.lua: Expose errno table to lua 2018-02-20 19:39:48 +00:00
lfs.c Lua lfs.attributes: Provide a more consistent error return 2018-02-20 18:21:30 +00:00
lfs.h Lua loader: Add barebones "lfs" module 2018-02-18 01:15:25 +00:00
locale.h
lstd.c liblua: Implement write support 2018-02-24 02:57:24 +00:00
lstd.h liblua: Implement write support 2018-02-24 02:57:24 +00:00
luaconf.h lualoader: Remove nasty hack for not printing out ".0" 2018-02-21 21:39:47 +00:00
lutils.c lualoader: Expose loader.parse and add cli_execute_unparsed 2018-03-07 18:25:27 +00:00
lutils.h interp_lua: Register io/loader with regular Lua module system 2018-02-18 01:13:58 +00:00
Makefile Centralize lua defines 2018-02-23 04:04:03 +00:00
math.h