freebsd-dev/stand/lua
Kyle Evans 1ee89ab5dd lualoader: Accept that people use unquoted values in loader.conf
While loader.conf(5) suggests that all values should be quoted, reality is
that this was never strictly enforced and it is used. We already make some
concession to this in number values, which aren't strictly quoted either.

The compromise here is that multi-word values must be quoted. This lets
things like `foo_load=YES` work, while denying more complex expressions on
the right hand side. This likely catches the vast majority of current usage.

A bit of a kludge is needed to accomplish this since Lua regex doesn't
support branching. I had considered splitting up expressions and generating
the right-hand side of the expressions completely in config.parse, but
deemed this too large of an overhaul to take given the current timing. This
should be re-worked shortly after the thaw.

Reported by:	royger
2018-08-23 17:27:02 +00:00
..
cli.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
cli.lua.8 lualoader: Add cli.lua(8) to the tree 2018-06-09 19:51:09 +00:00
color.lua lualoader: More black-on-white fixes 2018-06-12 03:44:34 +00:00
color.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
config.lua lualoader: Accept that people use unquoted values in loader.conf 2018-08-23 17:27:02 +00:00
config.lua.8 Add config.lua(8) to the tree 2018-08-19 15:07:39 +00:00
core.lua lualoader: Just compare expression directly 2018-08-21 23:34:30 +00:00
core.lua.8 Eliminate zfsloader man page. 2018-07-20 05:17:49 +00:00
drawer.lua lualoader: Add drawer-exported variables for default logodefs 2018-08-19 18:43:10 +00:00
drawer.lua.8 Add drawer.lua(8) 2018-08-20 02:08:39 +00:00
hook.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
hook.lua.8 lualoader: Add hook.lua(8) to tree 2018-06-09 14:26:30 +00:00
loader.lua lualoader: More black-on-white fixes 2018-06-12 03:44:34 +00:00
logo-beastie.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-beastiebw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-fbsdbw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-orb.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-orbbw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
Makefile lualoader: Install all manpages 2018-08-20 02:40:10 +00:00
menu.lua lualoader: Clear up some possible naming confusion 2018-03-21 15:09:47 +00:00
menu.lua.8 Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
password.lua lualoader: Use global printc instead of loader.printc 2018-03-02 16:06:20 +00:00
password.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
screen.lua Serial console menus for lua. 2018-08-20 16:44:09 +00:00
screen.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00