]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make getenv_*() functions and respectively TUNABLE_*_FETCH() macros not
authormav <mav@FreeBSD.org>
Fri, 1 Nov 2013 10:32:33 +0000 (10:32 +0000)
committermav <mav@FreeBSD.org>
Fri, 1 Nov 2013 10:32:33 +0000 (10:32 +0000)
commitb8e600624bf0cdd5abcca69fea7a11b8223207ab
tree3d0a08c76dd1f25df78ab474ae50b01f1587f9c1
parent060333520d16e3795261ab700378f3209248a70d
Make getenv_*() functions and respectively TUNABLE_*_FETCH() macros not
allocate memory and so not require sleepable environment.  getenv() has
already used on-stack temporary storage, so just use it more rationally.
getenv_string() receives buffer as argument, so don't need another one.
sys/kern/kern_environment.c