freebsd-skq/sys/geom/label
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_label_disk_ident.c Squash error from geom by sizing ident strings to DISK_IDENT_SIZE. 2018-04-05 13:56:40 +00:00
g_label_ext2fs.c
g_label_gpt.c
g_label_iso9660.c
g_label_msdosfs.c
g_label_msdosfs.h
g_label_ntfs.c
g_label_reiserfs.c
g_label_ufs.c When freeing a superblock returned by ffs_sbget, be sure to also 2018-03-24 15:36:25 +00:00
g_label.c Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
g_label.h