aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_environment.c
Commit message (Expand)AuthorAgeFilesLines
* Create wrappers for uint64_t and int64_t for the tunables. While notWarner Losh2016-04-151-0/+46
* Allow a dynamic env to override a compiled-in static env by passing in theIan Lepore2016-02-211-0/+11
* Make the 'env' directive described in config(5) work on all architectures,Ian Lepore2016-01-021-3/+35
* Test if 'env' is NULL before doing memset() and strlen(),Xin LI2014-10-231-1/+1
* Avoid leaking data from the kernel environment: When we convert theColin Percival2014-10-221-3/+8
* Follow up to r225617. In order to maximize the re-usability of kernel codeDavide Italiano2014-10-161-7/+7
* Make getenv_*() functions and respectively TUNABLE_*_FETCH() macros notAlexander Motin2013-11-011-27/+19
* r249408 and r249436 cause a NULL pointer dereference on the CUBIEBOARDWarner Losh2013-04-161-1/+1
* Fix changes made in r249408.Jayachandran C.2013-04-131-1/+1
* Fix kenv behavior when there is no static environmentJayachandran C.2013-04-121-13/+16
* Reserve room for the terminating NUL when setting or getting kernelJaakko Heinonen2012-08-141-6/+6
* In order to maximize the re-usability of kernel code in user space thisKip Macy2011-09-161-1/+1
* In init_dynamic_kenv(), ignore environment strings exceeding theJaakko Heinonen2011-05-231-1/+7
* To avoid duplicated warning, move WITNESS_WARN() added in r221597 to theJaakko Heinonen2011-05-071-1/+2
* Add WITNESS_WARN() to getenv() to explicitly note that the function mayJaakko Heinonen2011-05-071-0/+1
* Merge change r198561 from projects/mips to head:Warner Losh2010-01-101-0/+33
* Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERICRobert Watson2009-06-051-2/+0
* Correctly sanity-check timer IDs. [SA-09:06]Colin Percival2009-03-231-3/+7
* Implement the following macros for completeness:Pawel Jakub Dawidek2008-07-211-0/+8
* Merge first in a series of TrustedBSD MAC Framework KPI changesRobert Watson2007-10-241-4/+4
* I don't know what I was smoking when I wrote these three years ago; theDag-Erling Smørgrav2007-10-131-4/+19
* Further system call comment cleanup:Robert Watson2007-03-051-2/+1
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson2006-11-061-3/+11
* Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.hRobert Watson2006-10-221-1/+2
* Use a sleep mutex instead of an sx lock for the kernel environment. ThisScott Long2006-07-091-24/+26
* Fix memory leak introduced in previous revision.Alexander Leidinger2006-03-151-3/+3
* Ignore kenv strings which overflow the room we have, rather than pretendPoul-Henning Kamp2006-03-091-1/+6
* Reorder statements to avoid accessing unknown memory.David Xu2005-09-261-2/+2
* Add bounds checking to the setenv part of the kernel environment.Alexander Leidinger2005-07-311-1/+10
* My addled brains didn't realize that since vtp points into value, weDag-Erling Smørgrav2005-03-091-2/+5
* Teach getenv_quad() to recognize k/m/g/t suffixes in both lower- andDag-Erling Smørgrav2005-03-051-3/+15
* Make a bunch of malloc types static.Poul-Henning Kamp2005-02-101-1/+1
* Retire TUNABLE_QUAD_*.Dag-Erling Smørgrav2004-11-081-8/+0
* Add TUNABLE_LONG and TUNABLE_ULONG, and use the latter for theDag-Erling Smørgrav2004-10-311-0/+46
* If the buffer supplied to kenv(KENV_DUMP, ...) isn't big enough,David Schultz2004-04-281-21/+18
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-6/+6
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-6/+6
* remove syscallarg().Alfred Perlstein2002-12-141-4/+4
* SCARGS removal take II.Alfred Perlstein2002-12-141-14/+14
* Backout removal SCARGS, the code freeze is only "selectively" over.Alfred Perlstein2002-12-131-14/+14
* Remove SCARGS.Alfred Perlstein2002-12-131-14/+14
* Add MAC checks for various kenv() operations: dump, get, set, unset,Robert Watson2002-11-011-1/+23
* Use strlcpy() instead of strncpy() to copy NUL terminated stringsRobert Drehmel2002-10-171-2/+1
* Cosmetic tweaks. Try and keep the style more consistent, catch some strayPeter Wemm2002-05-011-42/+41
* Fixed some longstanding bugs in _getenv_static():Bruce Evans2002-04-251-3/+4
* Avoid calling malloc() or free() while holding theMaxime Henrion2002-04-171-13/+26
* Rework the kernel environment subsystem. We now convert the staticMaxime Henrion2002-04-171-59/+308
* Fix an inverted test csae. Success of getenv() is determined by a returnJohn Baldwin2001-10-251-1/+1
* - Change getenv_quad() to return an int instead of a quad_t since itJohn Baldwin2001-10-231-1/+21