]> 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:35:33 +0000 (01:35 -0500)
commitd511b903b9ed6faaedd26bafe92d7f363051455a
tree4fa600e37f33bf0e523a8f2889780a37382fa7f8
parent8e11e8fb782cab5bbcde7a3f44f614c75f4b163d
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