gjb cee33caf0f MFC r273489 (cperciva):
Populate the GELI passphrase cache with the kern.geom.eli.passphrase
 variable (if any) provided in the boot environment.  Unset it from
 the kernel environment after doing this, so that the passphrase is
 no longer present in kernel memory once we enter userland.

 This will make it possible to provide a GELI passphrase via the boot
 loader.

 Note: head and stable/10 differ as a result of r273174, which renames
 the getenv(), setenv(), and unsetenv() functions with kern_getenv(),
 kern_setenv(), and kern_unsetenv(), which was reverted in the relevant
 parts of this change in 10-STABLE.

PR:		200448
Approved by:	re (kib)
Sponsored by:	The FreeBSD Foundation
2015-07-08 09:54:17 +00:00
..
2015-07-08 09:54:17 +00:00
2013-12-13 20:33:59 +00:00
2014-02-02 00:33:17 +00:00
2015-06-18 17:42:24 +00:00
2014-05-08 12:04:40 +00:00
2015-06-02 02:05:32 +00:00
2014-01-30 10:53:29 +00:00
2015-05-15 10:42:48 +00:00
2014-10-28 08:00:28 +00:00
2014-09-07 21:30:47 +00:00
2014-06-02 10:14:03 +00:00
2013-05-30 01:19:02 +00:00
2014-01-09 11:13:03 +00:00
2014-09-07 21:30:47 +00:00