freebsd-skq/sys/geom
Pawel Jakub Dawidek ad0a523639 When support for multiple encryption keys was committed, GELI integrity mode
was not updated to pass CRD_F_KEY_EXPLICIT flag to opencrypto. This resulted in
always using first key.

We need to support providers created with this bug, so set special
G_ELI_FLAG_FIRST_KEY flag for GELI provider in integrity mode with version
smaller than 6 and pass the CRD_F_KEY_EXPLICIT flag to opencrypto only if
G_ELI_FLAG_FIRST_KEY doesn't exist.

Reported by:	Anton Yuzhaninov <citrin@citrin.ru>
MFC after:	1 week
2011-05-08 09:17:56 +00:00
..
bde Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
cache Remove unneeded checks, g_new_xxx functions can not fail. 2011-05-04 17:37:37 +00:00
concat Remove "for a moment" assignment. struct g_geom zeroed when allocated. 2011-05-04 17:56:53 +00:00
eli When support for multiple encryption keys was committed, GELI integrity mode 2011-05-08 09:17:56 +00:00
gate GEOM has an internal mechanism to deal with ENOMEM errors returned via 2011-04-02 06:56:06 +00:00
journal Removed KASSERT, g_new_providerf() can not fail. 2011-05-04 18:06:40 +00:00
label When checking existence of providers skip those which are orphaned. 2011-05-04 12:59:11 +00:00
linux_lvm Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
mirror Implement relaxed comparision for hardcoded provider names to make it 2011-04-27 00:10:26 +00:00
mountver Remove unneeded code. 2011-05-04 18:17:21 +00:00
multipath Remove unneeded code. 2011-05-04 18:26:45 +00:00
nop Remove unneeded checks, g_new_xxx functions can not return NULL. 2011-03-31 06:30:59 +00:00
part Remove an incorrect be16toh() that prevented geom_part_apm from working on 2011-04-15 12:32:52 +00:00
raid Reduce geom_raid log verbosity. 2011-04-18 16:15:59 +00:00
raid3 Implement relaxed comparision for hardcoded provider names to make it 2011-04-27 00:10:26 +00:00
sched Remove unneeded code. 2011-05-04 18:41:26 +00:00
shsec Remove "for a moment" assignment. struct g_geom zeroed when allocated. 2011-05-04 17:56:53 +00:00
stripe Remove "for a moment" assignment. struct g_geom zeroed when allocated. 2011-05-04 17:56:53 +00:00
uzip Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
vinum - Check flag with the bitwise operator, not the logical operator. 2010-10-01 06:12:13 +00:00
virstor Implement relaxed comparision for hardcoded provider names to make it 2011-04-27 00:10:26 +00:00
zero In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case. 2010-05-10 19:08:53 +00:00
geom_aes.c
geom_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_bsd.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_ccd.c - Fix a potential NULL pointer reference. Note that this should not happen in 2008-11-25 20:28:33 +00:00
geom_ctl.c Finish r210923, 210926. Mark some devices as eternal. 2011-01-04 10:59:38 +00:00
geom_ctl.h
geom_dev.c Use make_dev_alias_p() added in r221397 to create alias dev entry. 2011-05-03 19:12:42 +00:00
geom_disk.c MFgraid/head r218212, r218257: 2011-03-24 19:23:42 +00:00
geom_disk.h Add the disk ident and a human-meaningful description (here, the disk model 2011-02-26 14:58:54 +00:00
geom_dump.c Escape characters unsafe for XML output in GEOM class, instance and 2010-03-20 16:16:13 +00:00
geom_event.c Use g_eventlock to protect against losing wakeups in the g_event process 2010-11-22 16:47:53 +00:00
geom_fox.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_int.h
geom_io.c Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. 2010-09-02 19:40:28 +00:00
geom_kern.c Use g_eventlock to protect against losing wakeups in the g_event process 2010-11-22 16:47:53 +00:00
geom_map.c Updates to geom_map from the author. 2011-05-05 14:43:09 +00:00
geom_mbr_enc.c
geom_mbr.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_pc98_enc.c
geom_pc98.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_redboot.c - Give geom_redboot taste of flash/spi. Now there is another provider 2010-02-03 01:12:19 +00:00
geom_slice.c Change the way in which zero stripesize is handled. Instead of reporting 2010-01-06 13:14:37 +00:00
geom_slice.h
geom_subr.c Implement relaxed comparision for hardcoded provider names to make it 2011-04-27 00:10:26 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_vfs.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
geom_vfs.h Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
geom_vol_ffs.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom.h Implement relaxed comparision for hardcoded provider names to make it 2011-04-27 00:10:26 +00:00
notes