]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273489 (cperciva):
authorgjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jul 2015 18:52:22 +0000 (18:52 +0000)
committergjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jul 2015 18:52:22 +0000 (18:52 +0000)
commit48917872712fac651f88092de1183ee4a2c3a336
tree00467c418a2be355ff8c5f18c3455d0c2ce0d484
parent7ce016d32e832868a249eb8fc3fc3a1e0fadfbe4
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.

PR: 200448
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@285249 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/eli/g_eli.c