Messages in this thread | | | Date | Tue, 27 Mar 2012 17:09:07 +0100 | From | Matthew Garrett <> | Subject | Re: [PATCH] dmi, Use little-endian for sysfs PRODUCT UUID |
| |
On Mon, Mar 26, 2012 at 02:12:51PM -0400, Prarit Bhargava wrote: > Although RFC 4122 recommends network byte order for all fields, the PC > industry (including the ACPI, UEFI, and Microsoft specifications) has > consistently used little-endian byte encoding for the first three > fields: time_low, time_mid, time_hi_and_version. The same encoding, also > known as wire format, should also be used for the SMBIOS representation of > the UUID.
There's some potential for breakage here. Perhaps add an additional attribute that adds the purely little-endian UUID?
-- Matthew Garrett | mjg59@srcf.ucam.org
| |