summaryrefslogtreecommitdiff
path: root/sys/kern/kern_environment.c
AgeCommit message (Expand)Author
2025-09-06kenv: Sprinkle const qualifiers where appropriateZhenlei Huang
2024-04-15Reduce reliance on sys/sysproto.h pollutionBrooks Davis
2023-11-26sys: Automated cleanup of cdefs and other formattingWarner Losh
2023-09-21sysctl: Update 'master' copy of vnet SYSCTLs on kernel environment variables ...Zhenlei Huang
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2023-01-30kern_environment: Partially apply style(9)Jose Luis Duran
2022-10-17kern: Support duplicate variables in early kenvColin Percival
2022-05-28sysent: Get rid of bogus sys/sysent.h include.Dmitry Chagin
2021-07-18kenv: allow listing of static kernel environmentsKyle Evans
2021-07-18kern: add an option for preserving the early kenvKyle Evans
2020-10-07Move kernel env global variables, etc to sys/kenv.hWarner Losh
2020-09-21Use getenv_is_true() in init_static_kenv()Mitchell Horne
2020-09-21Add getenv(9) boolean parsing functionsMitchell Horne
2020-09-01kern: clean up empty lines in .c and .h filesMateusz Guzik
2020-08-14kenv: avoid sleepable alloc for integer tunablesJason A. Harmening
2020-06-25Use zfree() instead of explicit_bzero() and free().John Baldwin
2020-06-16Make KENV_MVALLEN tunableSimon J. Gerraty
2019-09-12Follow up r352244: kenv: tighten up assertionsKyle Evans
2019-09-12kenv: assert that an empty static buffer passed in is "empty"Kyle Evans
2019-02-05Fix zapping of static hints and env in init_static_kenv(). EnvironmentsBruce Evans
2018-11-13Add dynamic_kenv assertion to init_static_kenvKyle Evans
2018-10-25Add FALLTHROUGH comments to appease Coverity.Mark Johnston
2018-07-12kern_environment: Give the static environment a chance to disable MD envKyle Evans
2018-07-10kern_environment: bool'itize dynamic_kenv; fix small style(9) nitKyle Evans
2018-07-06kern_environment: Fix SYSINIT orderingKyle Evans
2018-07-05kern_environment: use any provided environments, evict hintmode/envmodeKyle Evans
2018-07-05Revert r335995 due to accidental changes snuck inKyle Evans
2018-07-05kern_environment: use any provided environments, evict hintmode/envmodeKyle Evans
2018-06-20Permit the kernel environment to set an array of numeric values for a singleHans Petter Selasky
2018-04-10Use explicit_bzero() when cleaning values out of the kernel environment.Ian Lepore
2017-11-27sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-04-15Create wrappers for uint64_t and int64_t for the tunables. While notWarner Losh
2016-02-21Allow a dynamic env to override a compiled-in static env by passing in theIan Lepore
2016-01-02Make the 'env' directive described in config(5) work on all architectures,Ian Lepore
2014-10-23Test if 'env' is NULL before doing memset() and strlen(),Xin LI
2014-10-22Avoid leaking data from the kernel environment: When we convert theColin Percival
2014-10-16Follow up to r225617. In order to maximize the re-usability of kernel codeDavide Italiano
2013-11-01Make getenv_*() functions and respectively TUNABLE_*_FETCH() macros notAlexander Motin
2013-04-16r249408 and r249436 cause a NULL pointer dereference on the CUBIEBOARDWarner Losh
2013-04-13Fix changes made in r249408.Jayachandran C.
2013-04-12Fix kenv behavior when there is no static environmentJayachandran C.
2012-08-14Reserve room for the terminating NUL when setting or getting kernelJaakko Heinonen
2011-09-16In order to maximize the re-usability of kernel code in user space thisKip Macy
2011-05-23In init_dynamic_kenv(), ignore environment strings exceeding theJaakko Heinonen
2011-05-07To avoid duplicated warning, move WITNESS_WARN() added in r221597 to theJaakko Heinonen
2011-05-07Add WITNESS_WARN() to getenv() to explicitly note that the function mayJaakko Heinonen
2010-01-10Merge change r198561 from projects/mips to head:Warner Losh
2009-06-05Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERICRobert Watson
2009-03-23Correctly sanity-check timer IDs. [SA-09:06]Colin Percival