From b9b8a4769c09d6e9422be242c4de1d881095ba82 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 24 Jul 2023 23:35:25 -0500 Subject: [PATCH] RELNOTES: add a note about lua config files in loader Scripted configuration can make safer some use-cases that currently use local.lua, but don't actually need to access external resources to make their changes. Let's note the new feature in RELNOTES. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D40066 --- RELNOTES | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RELNOTES b/RELNOTES index d257f4cf4813..8c1b48de7e5c 100644 --- a/RELNOTES +++ b/RELNOTES @@ -10,6 +10,15 @@ newline. Entries should be separated by a newline. Changes to this file should not be MFCed. +3cb2f5f369ec: + The lua-flavored loader(8) will now interpret .lua files that appear in + loader_conf_files as lua, and execute them in a sandbox. Existing + loader environment variables are available as globals in the sandbox, + and any global variable set, if not a table value, will be reflected in + the loader environment upon successful execution of the configuration + file. Environment variables with names that aren't valid lua names may + be accessed as indices of _ENV; e.g., _ENV['net.fibs']. + bdc81eeda05d: nda is now the default nvme device on all platforms. While nda creates