aboutsummaryrefslogtreecommitdiff
path: root/contrib/arm-optimized-routines/math/test/rtest/semi.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-08-22 03:48:14 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-08-22 03:48:29 +0000
commit510e473ff3a6d4620c603c1b9ba06fb2bf5745fd (patch)
treea50f4a6636303a52ed23fe901a9cd43f062ccd90 /contrib/arm-optimized-routines/math/test/rtest/semi.h
parent95e6fd1fd85a448d2c68473b85a61fba24c9bc4f (diff)
stand: add a mechanism to avoid env var propagation to kenvHEADmain
Our only user of this at the moment is teken.{fg,bg}_color. These are special because teken is a library common to both the kernel and the loader, and we want to avoid having special vars to control the loader vs. the kernel. Ideally, if a user wants a different set of console colors, then they set the appropriate teken variable and it Just Works(TM) everywhere. We can't just avoid setting the env vars, because we specifically want to install a hook to adjust how loader is drawn. This allows us to avoid breaking a kernel config(5) that has some default teken colors set with our defaults. That's a valid configuration, even if it might seem weird that they don't want to set colors in both loader and the kernel -- they may not anticipate spending any time in loader, and thus prefer to just let it do its default behavior. NOKENV is expected to be unset if the value is overwritten, rather than acting as a persistent marker that we do not want the value to persist under any circumstance. We can always add another flag bit later for persistence if we find a use for that, but most variables are fine to carry over. This is mostly needed for environment variables that we really just want to set a hook for. Future work could expand this to break it out to the scripted interfaces. We have discussed some options like a new built-in command, or adding a flag to the existing `set` command, but haven't really come up with a concrete plan to avoid confusion. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D50888
Diffstat (limited to 'contrib/arm-optimized-routines/math/test/rtest/semi.h')
0 files changed, 0 insertions, 0 deletions