freebsd-dev/sys/geom/bde
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_bde_crypt.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_bde_lock.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_bde_work.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_bde.c Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
g_bde.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00