]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kenv: allow listing of static kernel environments
authorKyle Evans <kevans@FreeBSD.org>
Sun, 20 Jun 2021 19:36:10 +0000 (14:36 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 26 Aug 2021 06:40:45 +0000 (01:40 -0500)
commita961049fc9b6e4b14ec071b6c457901b1badbea1
treec122cf7be2e2a102aea96d8269217973759e5225
parentef70a18d88e65879a78992dd6c5e3fc7a1cdb225
kenv: allow listing of static kernel environments

The early environment is typically cleared, so these new options
need the PRESERVE_EARLY_KENV kernel config(8) option. These environments
are reported as missing by kenv(1) if the option is not present in the
running kernel.

(cherry picked from commit db0f26439357b78863e61985acd1e5acf75ce73d)
bin/kenv/kenv.1
bin/kenv/kenv.c
lib/libc/sys/kenv.2
sys/kern/kern_environment.c
sys/sys/kenv.h