diff options
author | John Levon <john.levon@joyent.com> | 2019-04-01 10:05:45 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-04-08 08:43:36 +0000 |
commit | fa83485c3551a3fd3848f1535acb98b30c6595a2 (patch) | |
tree | d1ab84da58bdbfaf128c634c000feebb17422123 /usr/src/uts/common/io/cmlb.c | |
parent | 9a8207fa35a4a0b13b30000d6ead058c47c0ccc3 (diff) | |
download | illumos-joyent-fa83485c3551a3fd3848f1535acb98b30c6595a2.tar.gz |
OS-7260 SmartOS should support booting with loader
OS-7271 proto.boot should include loader instead of grub
OS-7332 RICHMOND-16 mitigation ensnares stock loaders
OS-7584 MDB module for disk labelling would be useful
OS-7585 Need workaround to EFI boot on AMI BIOS
OS-7595 Triton-specific extensions to Loader
Portions contributed by: Rob Johnston <rob.johnston@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/io/cmlb.c')
-rw-r--r-- | usr/src/uts/common/io/cmlb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/cmlb.c b/usr/src/uts/common/io/cmlb.c index 17eca53288..417010c8e9 100644 --- a/usr/src/uts/common/io/cmlb.c +++ b/usr/src/uts/common/io/cmlb.c @@ -24,6 +24,7 @@ * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * Copyright 2016 Toomas Soome <tsoome@me.com> + * Copyright (c) 2019, Joyent, Inc. */ /* @@ -2747,7 +2748,7 @@ cmlb_validate_efi(efi_gpt_t *labp) { if (labp->efi_gpt_Signature != EFI_SIGNATURE) return (EINVAL); - /* at least 96 bytes in this version of the spec. */ + /* at least 92 bytes in this version of the spec. */ if (sizeof (efi_gpt_t) - sizeof (labp->efi_gpt_Reserved2) > labp->efi_gpt_HeaderSize) return (EINVAL); |