]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lua: Export loaded modules env vars via environment
authorWarner Losh <imp@FreeBSD.org>
Thu, 9 Feb 2023 16:49:43 +0000 (09:49 -0700)
committerWarner Losh <imp@FreeBSD.org>
Thu, 9 Feb 2023 18:56:20 +0000 (11:56 -0700)
commite9eee0f256a3501862beafaa6a45bcac8dd193d9
tree7e760ce7725e2ad1511ec4cf426721080f73101a
parent71e0c8906e1a4ff774f8ae810aeb94af039eedb7
lua: Export loaded modules env vars via environment

To make auditing and debugging easier, export foo_load=XXX foo_name=yyy
etc to the loader env that we export to the kernel.

Original by: dhw
Sponsored by: Netflix
Discussed with: kevans
Differential Revsion: https://reviews.freebsd.org/D38466
stand/lua/config.lua