summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/queue.c
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-07-08 09:54:17 +0000
committergjb <gjb@FreeBSD.org>2015-07-08 09:54:17 +0000
commitcee33caf0f51f0a9523cd4c20cd49afd40e47932 (patch)
treedee7b05991dbfbfa517c7dc1d89e8f5bdede2f6e /contrib/sendmail/src/queue.c
parent82385ff48486e123bf3fa1268e68a2d8f3e60b61 (diff)
downloadFreeBSD-src-cee33caf0f51f0a9523cd4c20cd49afd40e47932.zip
FreeBSD-src-cee33caf0f51f0a9523cd4c20cd49afd40e47932.tar.gz
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
Diffstat (limited to 'contrib/sendmail/src/queue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud