]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: lua: module names should permit more
authorKyle Evans <kevans@FreeBSD.org>
Tue, 5 Sep 2023 02:21:34 +0000 (21:21 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Mon, 11 Sep 2023 22:02:38 +0000 (17:02 -0500)
commitbabfcc0aa66256ffa5142a621ee9eba67d564efb
tree90163c9f41c73201cb39135017674b2ece081a63
parent25f07248916f0108bd62b3deb58e21bff880b391
stand: lua: module names should permit more

The module entries should generally allow whatever is allowed as an
env_var in the pattern table.  Notably, we're missing periods which
would allow proper entries for .dtb files in loader.conf that don't need
to specify a module_name entry for it.

%d in this expression is actually redundant as %w is actually
"all alphanumerics," but I've included it for now to match the env_var
entry.  We should really remove it from both.

Reported by: "aribi" on the forums via allanjude@

(cherry picked from commit 5bc1e0c2285e73fe8455bb6c72b2b40e33f5477e)
stand/lua/config.lua