Date: Tue, 27 Apr 2004 18:27:36 -0700 (PDT) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/kenv kenv.c Message-ID: <200404280127.i3S1RaNA022646@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004/04/27 18:27:36 PDT FreeBSD src repository Modified files: bin/kenv kenv.c Log: Various quibbles: - Print a diagnostic if kdumpenv() fails. This can occur due to MAC restrictions or lack of memory. Catch all kenv(2) failures as well. - Just of the heck of it, DTRT if the kernel environment size changes at the wrong time. The old code could fail silently or fail to null-terminate a buffer if you got exceptionally unlucky. - Sort and GC the #includes. Revision Changes Path 1.6 +28 -15 src/bin/kenv/kenv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404280127.i3S1RaNA022646>