From nobody Tue Jul 25 04:35:35 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R942v57K3z4pBKJ; Tue, 25 Jul 2023 04:35:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R942v4cpZz3JZm; Tue, 25 Jul 2023 04:35:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690259735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cvT7NM3oXoP+RHHrXGk+iMIYVA8cYSv68HuxNN9YPkg=; b=hqbqIVvNrxWILEjWDKmJbKO0hmunwlp99aCN2FbJHjUQxllx/BQUn2F+cGE49BVpypG52A 6LMQwySwR1iSZBBJMHVFm71WIXgW/BxXZBzp4mg8X6yH6Hx+ENjt2QQF5uS0MYa5j3r4bh Q/p1Q+V6nUgVgDP+esWqHyB4KqEmBMtn4T9AQ40WFFs1A9GgjlAlFw0WiZYXsdL3Oyp3Fq dY0SrIsqTW2mAVlriq6ZjKSP999JiEHnerhdJgsqavDv9DI5PhrBELfKtob8XpqdS+zTgj GjLJL9AtmaxCasSlP2ouj7YnBWc2yGZGjLtcO5EGjyEho66hDFGGuw9nwPCwrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690259735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cvT7NM3oXoP+RHHrXGk+iMIYVA8cYSv68HuxNN9YPkg=; b=TxaVHv0PQDJbvipIq1Te0P0doDcmntBoM3l/pMPlQ9Q3vTNP/BM1xMrR+q6W/tSi/q62E/ Rvz6KifVmrzC0ysyXionrDBn2ZbJRc2s8JPAZxEN57DY88XFY1FKuvamcUaSvX+lsehkGM AphriOG92MINzfQX2FshSaKWrHdGFhOt8wh6skFen9fcIb0CkM9S8h9I5t1X6ZBk5QdtNt CYaDzFm7R8ogPaG6TUYCDftcoJxE5XaLVMHK85igLbQPM/QzeWo/piABkOcWWs33lY7Fo+ AZhVbVxAlIg7mp66Mx2oag8hnu7gLvnwf0X2ayySm37tuZftxbhmhEhGI3AD5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690259735; a=rsa-sha256; cv=none; b=bcQTe9R3Hc2NCdUV6p/IVIo7f+c/0SvHknLSy4ZQ4ssGGuc7cKN9+eXsSh0PqChzSoYwqW nuAkFj4L3gRJCHwHe+Mk+rusAmAMTn20IZcmygvZLNxLg2rsFs2MH2l6C3cNDEktWoNErC p/eGWX36cY5KkQMhSOzd9YbxzaYXwyns6jZmelpp7oDfBtDIWFv0sYGCuK2YC7bXsvfwez Xy2pYRlWt8vI1nZ7/Ft3l/P/G5OZHA67URlTi3SqiP45eFHf36piBl2faVPNvRWB+GlU6c LFnt1fiAH0u+8fTAcWYbnFzDKs5CUZ9J+cpILmNMBdurp+FET5qXPOKMUuuHyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R942v3jQ0zmZk; Tue, 25 Jul 2023 04:35:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36P4ZZOi056119; Tue, 25 Jul 2023 04:35:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36P4ZZN6056118; Tue, 25 Jul 2023 04:35:35 GMT (envelope-from git) Date: Tue, 25 Jul 2023 04:35:35 GMT Message-Id: <202307250435.36P4ZZN6056118@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: b9b8a4769c09 - main - RELNOTES: add a note about lua config files in loader List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b9b8a4769c09d6e9422be242c4de1d881095ba82 Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=b9b8a4769c09d6e9422be242c4de1d881095ba82 commit b9b8a4769c09d6e9422be242c4de1d881095ba82 Author: Kyle Evans AuthorDate: 2023-07-25 04:35:25 +0000 Commit: Kyle Evans CommitDate: 2023-07-25 04:35:25 +0000 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