summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2014-10-22 23:41:15 +0000
committercperciva <cperciva@FreeBSD.org>2014-10-22 23:41:15 +0000
commitbdb0ac02b9fd8f331fa70c8a4c29495b7ee43293 (patch)
tree42841fc5abb0b7084695c9c3c7348c8bb0a10f33 /contrib/netbsd-tests/lib/libc/sys/t_getgroups.c
parent6094cae3cae38519aa465059f3d19d70ecc1318d (diff)
downloadFreeBSD-src-bdb0ac02b9fd8f331fa70c8a4c29495b7ee43293.zip
FreeBSD-src-bdb0ac02b9fd8f331fa70c8a4c29495b7ee43293.tar.gz
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; FreeBSD's loader does not yet do this, but GRUB (and PCBSD) will have support for this soon. Tested by: kmoore
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_getgroups.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud