freebsd-nq/sys/geom/eli
Kyle Evans 74d6c131cb Annotate geom modules with MODULE_VERSION
GEOM ELI may double ask the password during boot. Once at loader time, and
once at init time.

This happens due a module loading bug. By default GEOM ELI caches the
password in the kernel, but without the MODULE_VERSION annotation, the
kernel loads over the kernel module, even if the GEOM ELI was compiled into
the kernel. In this case, the newly loaded module
purges/invalidates/overwrites the GEOM ELI's password cache, which causes
the double asking.

MFC Note: There's a pc98 component to the original submission that is
omitted here due to pc98 removal in head. This part will need to be revived
upon MFC.

Reviewed by:	imp
Submitted by:	op
Obtained from:	opBSD
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D14992
2018-04-10 19:18:16 +00:00
..
g_eli_crypto.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_eli_ctl.c Introduce dry run option for attaching the device. 2018-04-10 13:22:48 +00:00
g_eli_hmac.c When building standalone, include stand.h rather than the kernel 2017-12-05 21:37:32 +00:00
g_eli_integrity.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_eli_key_cache.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_eli_key.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_eli_privacy.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_eli.c Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
g_eli.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
pkcs5v2.c We don't need both _STAND and _STANDALONE. There's more places that 2017-12-02 00:07:09 +00:00
pkcs5v2.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00