freebsd-skq/sys/geom
Pawel Jakub Dawidek 8e88808915 md_hash field in g_eli_metadata structure is not 4 byte aligned, which
case panic on sparc64.

The problem is in MD5(9) implementation. The Encode() function takes
'unsigned char *output' as its first argument, which is then assigned to
'u_int32_t *op'. If the 'output' argument is not 4 byte aligned (and in
geli(8) case it is not), sparc64 machine will panic.

I don't know how to fix MD5(9) in a clean way, so I'm implementing a
work-around in geli(8).

Reported by:	brueffer
MFC after:	3 days
2006-03-30 14:41:13 +00:00
..
bde Kill leading whilespace. 2005-11-30 19:07:28 +00:00
concat Remove trailing spaces. 2006-02-01 12:06:01 +00:00
eli md_hash field in g_eli_metadata structure is not 4 byte aligned, which 2006-03-30 14:41:13 +00:00
gate Remove trailing spaces. 2006-02-01 12:06:01 +00:00
label We need to check if file system size is equal to provider's size, because 2006-03-04 19:41:54 +00:00
mirror - 'ndisks' variable is not boolean, so compare it with a value. 2006-03-30 12:15:41 +00:00
nop Remove trailing spaces. 2006-02-01 12:06:01 +00:00
raid3 Preserve previous behaviour of kern.geom.raid3.n{64,16,4}k tunables were 0 2006-03-28 18:34:36 +00:00
shsec Remove trailing spaces. 2006-02-01 12:06:01 +00:00
stripe Remove trailing spaces. 2006-02-01 12:06:01 +00:00
uzip Rename geom_uzip class to g_uzip in order to be consistent with the naming 2006-01-22 15:35:14 +00:00
vinum Protect from creating striped and RAID5 plexes with unequally sized 2006-03-30 14:01:25 +00:00
zero Remove trailing spaces. 2006-02-01 12:06:01 +00:00
geom_aes.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_apple.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_bsd_enc.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom_bsd.c It is unclear who is wrong and who is right, but when operating on 2005-11-30 22:54:41 +00:00
geom_ccd.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom_ctl.c o Don't cause a panic when the control request lacks a verb. 2005-09-18 23:54:40 +00:00
geom_ctl.h Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
geom_dev.c Avoid null pointer dereference. 2005-03-18 06:57:58 +00:00
geom_disk.c Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_disk.h Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_dump.c Make the kern.geom.conftxt sysctl more usable by also dumping the 2005-11-12 20:02:02 +00:00
geom_event.c Remove a race condition that could result in processes being stuck 2005-09-04 19:14:19 +00:00
geom_fox.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_gpt.c Check for g_read_data(9) errors properly: 2005-11-30 19:24:51 +00:00
geom_int.h Use unit number allocation functions for GEOM minor numbers. 2004-10-25 12:28:28 +00:00
geom_io.c Fix a typo. 2006-03-13 14:59:57 +00:00
geom_kern.c Add sysctl descriptions. 2005-11-25 10:09:30 +00:00
geom_mbr_enc.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom_mbr.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_pc98_enc.c Fix signed vs unsigned warning. 2005-05-01 09:44:50 +00:00
geom_pc98.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_slice.c Allow to use g_slice_orphan() from outside. 2006-02-18 11:21:17 +00:00
geom_slice.h Allow to use g_slice_orphan() from outside. 2006-02-18 11:21:17 +00:00
geom_subr.c Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_sunlabel_enc.c Support VTOC volume names. This can be useful to distinguish multiple 2005-03-30 09:33:10 +00:00
geom_sunlabel.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_vfs.c - Lock Giant if needed around the call to vnode_create_vobject(). This is 2006-03-02 05:37:44 +00:00
geom_vfs.h Make various random things static 2005-02-10 12:10:35 +00:00
geom_vol_ffs.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom.h Typo. 2005-09-03 11:03:10 +00:00
notes For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00