From 9e7b13f0a15eee67fb2112ae93597949c9789d3c Mon Sep 17 00:00:00 2001 From: "t.feng" Date: Mon, 28 Feb 2022 10:54:08 +0800 Subject: [PATCH] fix arm64 kernel image not aligned on 64k boundary --- ...r-the-PE-magic-for-the-compiled-arch.patch | 65 ++ ...x-EFI-loader-kernel-image-allocation.patch | 192 +++++ grub.patches | 718 +++++++++--------- grub2.spec | 9 +- 4 files changed, 625 insertions(+), 359 deletions(-) create mode 100644 backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch create mode 100644 backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch diff --git a/backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch b/backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch new file mode 100644 index 0000000..5dea6ff --- /dev/null +++ b/backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch @@ -0,0 +1,65 @@ +From 337b3d963d28b3544e8817428fb68ca559613a39 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Thu, 9 Sep 2021 10:59:28 -0400 +Subject: [PATCH 2/2] Arm: check for the PE magic for the compiled arch + +In "arm64: Fix EFI loader kernel image allocation", Ben fixed the kernel +alignment to match the alignment given in the PE header. In doing so, a +check for valid PE magic was added, which was hard-coded to the value +seen on Aarch64 (GRUB_PE32_PE64_MAGIC). + +Unfortunately, this code is shared between 64-bit and 32-bit, and so +that value broke 32-bit Arm systems. + +This patch adds a constant definition for GRUB_PE32_PEXX_MAGIC, which is +either GRUB_PE32_PE64_MAGIC or GRUB_PE32_PE32_MAGIC, depending on which +platform is being built, and uses it in the header magic check. + +Resolves: rhbz#2000756 + +Signed-off-by: Peter Jones +--- + grub-core/loader/arm64/linux.c | 2 +- + include/grub/arm/linux.h | 1 + + include/grub/arm64/linux.h | 1 + + 3 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c +index 1da1886..f0ad052 100644 +--- a/grub-core/loader/arm64/linux.c ++++ b/grub-core/loader/arm64/linux.c +@@ -342,7 +342,7 @@ parse_pe_header (void *kernel, grub_uint64_t *total_size, + + pe = (void *)((unsigned long)kernel + lh->hdr_offset); + +- if (pe->opt.magic != GRUB_PE32_PE64_MAGIC) ++ if (pe->opt.magic != GRUB_PE32_PEXX_MAGIC) + return grub_error(GRUB_ERR_BAD_OS, "Invalid PE optional header magic"); + + *total_size = pe->opt.image_size; +diff --git a/include/grub/arm/linux.h b/include/grub/arm/linux.h +index b582f67..966a507 100644 +--- a/include/grub/arm/linux.h ++++ b/include/grub/arm/linux.h +@@ -44,6 +44,7 @@ struct grub_arm_linux_pe_header + + #if defined(__arm__) + # define GRUB_LINUX_ARMXX_MAGIC_SIGNATURE GRUB_LINUX_ARM_MAGIC_SIGNATURE ++# define GRUB_PE32_PEXX_MAGIC GRUB_PE32_PE32_MAGIC + # define linux_arch_kernel_header linux_arm_kernel_header + # define grub_armxx_linux_pe_header grub_arm_linux_pe_header + #endif +diff --git a/include/grub/arm64/linux.h b/include/grub/arm64/linux.h +index a3be9dd..20828d9 100644 +--- a/include/grub/arm64/linux.h ++++ b/include/grub/arm64/linux.h +@@ -47,6 +47,7 @@ struct grub_arm64_linux_pe_header + + #if defined(__aarch64__) + # define GRUB_LINUX_ARMXX_MAGIC_SIGNATURE GRUB_LINUX_ARM64_MAGIC_SIGNATURE ++# define GRUB_PE32_PEXX_MAGIC GRUB_PE32_PE64_MAGIC + # define linux_arch_kernel_header linux_arm64_kernel_header + # define grub_armxx_linux_pe_header grub_arm64_linux_pe_header + #endif +-- +2.23.0 diff --git a/backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch b/backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch new file mode 100644 index 0000000..c4b26c0 --- /dev/null +++ b/backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch @@ -0,0 +1,192 @@ +From: Benjamin Herrenschmidt +Date: Mon, 2 Aug 2021 23:10:01 +1000 +Subject: [PATCH 1/2] arm64: Fix EFI loader kernel image allocation + +We are currently allocating just enough memory for the file size, +which means that the kernel BSS is in limbo (and not even zeroed). + +We are also not honoring the alignment specified in the image +PE header. + +This makes us use the PE optional header in which the kernel puts the +actual size it needs, including BSS, and make sure we clear it, and +honors the specified alignment for the image. + +Signed-off-by: Benjamin Herrenschmidt +--- + grub-core/loader/arm64/linux.c | 102 ++++++++++++++++++++++----------- + 1 file changed, 67 insertions(+), 35 deletions(-) + +diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c +index a18c487..a803aa9 100644 +--- a/grub-core/loader/arm64/linux.c ++++ b/grub-core/loader/arm64/linux.c +@@ -40,6 +40,8 @@ GRUB_MOD_LICENSE ("GPLv3+"); + static grub_dl_t my_mod; + static int loaded; + ++static void *kernel_alloc_addr; ++static grub_uint32_t kernel_alloc_pages; + static void *kernel_addr; + static grub_uint64_t kernel_size; + static grub_uint32_t handover_offset; +@@ -223,9 +225,8 @@ grub_linux_unload (void) + GRUB_EFI_BYTES_TO_PAGES (initrd_end - initrd_start)); + initrd_start = initrd_end = 0; + grub_free (linux_args); +- if (kernel_addr) +- grub_efi_free_pages ((grub_addr_t) kernel_addr, +- GRUB_EFI_BYTES_TO_PAGES (kernel_size)); ++ if (kernel_alloc_addr) ++ grub_efi_free_pages ((grub_addr_t) kernel_alloc_addr, kernel_alloc_pages); + grub_fdt_unload (); + return GRUB_ERR_NONE; + } +@@ -330,14 +331,35 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)), + return grub_errno; + } + ++static grub_err_t ++parse_pe_header (void *kernel, grub_uint64_t *total_size, ++ grub_uint32_t *entry_offset, ++ grub_uint32_t *alignment) ++{ ++ struct linux_arch_kernel_header *lh = kernel; ++ struct grub_armxx_linux_pe_header *pe; ++ ++ pe = (void *)((unsigned long)kernel + lh->hdr_offset); ++ ++ if (pe->opt.magic != GRUB_PE32_PE64_MAGIC) ++ return grub_error(GRUB_ERR_BAD_OS, "Invalid PE optional header magic"); ++ ++ *total_size = pe->opt.image_size; ++ *entry_offset = pe->opt.entry_addr; ++ *alignment = pe->opt.section_alignment; ++ ++ return GRUB_ERR_NONE; ++} ++ + static grub_err_t + grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)), + int argc, char *argv[]) + { + grub_file_t file = 0; +- struct linux_arch_kernel_header lh; +- struct grub_armxx_linux_pe_header *pe; + grub_err_t err; ++ grub_off_t filelen; ++ grub_uint32_t align; ++ void *kernel = NULL; + int rc; + + grub_dl_ref (my_mod); +@@ -351,41 +373,25 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)), + file = grub_file_open (argv[0], GRUB_FILE_TYPE_LINUX_KERNEL); + if (!file) + goto fail; +- +- kernel_size = grub_file_size (file); +- +- if (grub_file_read (file, &lh, sizeof (lh)) < (long) sizeof (lh)) +- return grub_errno; +- +- if (grub_arch_efi_linux_check_image (&lh) != GRUB_ERR_NONE) +- goto fail; +- +- grub_loader_unset(); +- +- grub_dprintf ("linux", "kernel file size: %lld\n", (long long) kernel_size); +- kernel_addr = grub_efi_allocate_any_pages (GRUB_EFI_BYTES_TO_PAGES (kernel_size)); +- grub_dprintf ("linux", "kernel numpages: %lld\n", +- (long long) GRUB_EFI_BYTES_TO_PAGES (kernel_size)); +- if (!kernel_addr) ++ ++ filelen = grub_file_size (file); ++ kernel = grub_malloc(filelen); ++ if (!kernel) + { +- grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory")); ++ grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("cannot allocate kernel load buffer")); + goto fail; + } + +- grub_file_seek (file, 0); +- if (grub_file_read (file, kernel_addr, kernel_size) +- < (grub_int64_t) kernel_size) ++ if (grub_file_read (file, kernel, filelen) < (grub_ssize_t)filelen) + { +- if (!grub_errno) +- grub_error (GRUB_ERR_BAD_OS, N_("premature end of file %s"), argv[0]); ++ grub_error (GRUB_ERR_FILE_READ_ERROR, N_("Can't read kernel %s"), ++ argv[0]); + goto fail; + } + +- grub_dprintf ("linux", "kernel @ %p\n", kernel_addr); +- + if (grub_efi_secure_boot ()) + { +- rc = grub_linuxefi_secure_validate (kernel_addr, kernel_size); ++ rc = grub_linuxefi_secure_validate (kernel, filelen); + if (rc <= 0) + { + grub_error (GRUB_ERR_INVALID_COMMAND, +@@ -394,8 +400,32 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)), + } + } + +- pe = (void *)((unsigned long)kernel_addr + lh.hdr_offset); +- handover_offset = pe->opt.entry_addr; ++ if (grub_arch_efi_linux_check_image (kernel) != GRUB_ERR_NONE) ++ goto fail; ++ if (parse_pe_header (kernel, &kernel_size, &handover_offset, &align) != GRUB_ERR_NONE) ++ goto fail; ++ grub_dprintf ("linux", "kernel mem size : %lld\n", (long long) kernel_size); ++ grub_dprintf ("linux", "kernel entry offset : %d\n", handover_offset); ++ grub_dprintf ("linux", "kernel alignment : 0x%x\n", align); ++ ++ grub_loader_unset(); ++ ++ kernel_alloc_pages = GRUB_EFI_BYTES_TO_PAGES (kernel_size + align - 1); ++ kernel_alloc_addr = grub_efi_allocate_any_pages (kernel_alloc_pages); ++ grub_dprintf ("linux", "kernel numpages: %d\n", kernel_alloc_pages); ++ if (!kernel_alloc_addr) ++ { ++ grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory")); ++ goto fail; ++ } ++ kernel_addr = (void *)ALIGN_UP((grub_uint64_t)kernel_alloc_addr, align); ++ ++ grub_dprintf ("linux", "kernel @ %p\n", kernel_addr); ++ grub_memcpy (kernel_addr, kernel, grub_min(filelen, kernel_size)); ++ if (kernel_size > filelen) ++ grub_memset ((char *)kernel_addr + filelen, 0, kernel_size - filelen); ++ grub_free(kernel); ++ kernel = NULL; + + cmdline_size = grub_loader_cmdline_size (argc, argv) + sizeof (LINUX_IMAGE); + linux_args = grub_malloc (cmdline_size); +@@ -419,6 +449,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)), + } + + fail: ++ if (kernel) ++ grub_free (kernel); ++ + if (file) + grub_file_close (file); + +@@ -431,9 +464,8 @@ fail: + if (linux_args && !loaded) + grub_free (linux_args); + +- if (kernel_addr && !loaded) +- grub_efi_free_pages ((grub_addr_t) kernel_addr, +- GRUB_EFI_BYTES_TO_PAGES (kernel_size)); ++ if (kernel_alloc_addr && !loaded) ++ grub_efi_free_pages ((grub_addr_t) kernel_alloc_addr, kernel_alloc_pages); + + return grub_errno; + } +-- +2.23.0 diff --git a/grub.patches b/grub.patches index 8720a82..39b3a71 100644 --- a/grub.patches +++ b/grub.patches @@ -1,358 +1,360 @@ -Patch0001: 0001-Add-support-for-Linux-EFI-stub-loading.patch -Patch0002: 0002-Rework-linux-command.patch -Patch0003: 0003-Rework-linux16-command.patch -Patch0004: 0004-Add-secureboot-support-on-efi-chainloader.patch -Patch0005: 0005-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch -Patch0006: 0006-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch -Patch0007: 0007-re-write-.gitignore.patch -Patch0008: 0008-IBM-client-architecture-CAS-reboot-support.patch -Patch0009: 0009-for-ppc-reset-console-display-attr-when-clear-screen.patch -Patch0010: 0010-Disable-GRUB-video-support-for-IBM-power-machines.patch -Patch0011: 0011-Honor-a-symlink-when-generating-configuration-by-gru.patch -Patch0012: 0012-Move-bash-completion-script-922997.patch -Patch0013: 0013-Update-to-minilzo-2.08.patch -Patch0014: 0014-Allow-fallback-to-include-entries-by-title-not-just-.patch -Patch0015: 0015-Add-GRUB_DISABLE_UUID.patch -Patch0016: 0016-Make-exit-take-a-return-code.patch -Patch0017: 0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch -Patch0018: 0018-Make-efi-machines-load-an-env-block-from-a-variable.patch -Patch0019: 0019-DHCP-client-ID-and-UUID-options-added.patch -Patch0020: 0020-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch -Patch0021: 0021-Add-support-for-UEFI-operating-systems-returned-by-o.patch -Patch0022: 0022-Migrate-PPC-from-Yaboot-to-Grub2.patch -Patch0023: 0023-Add-fw_path-variable-revised.patch -Patch0024: 0024-Pass-x-hex-hex-straight-through-unmolested.patch -Patch0025: 0025-Add-X-option-to-printf-functions.patch -Patch0026: 0026-Search-for-specific-config-file-for-netboot.patch -Patch0027: 0027-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch -Patch0028: 0028-Add-devicetree-loading.patch -Patch0029: 0029-Don-t-write-messages-to-the-screen.patch -Patch0030: 0030-Don-t-print-GNU-GRUB-header.patch -Patch0031: 0031-Don-t-add-to-highlighted-row.patch -Patch0032: 0032-Message-string-cleanups.patch -Patch0033: 0033-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch -Patch0034: 0034-Use-the-correct-indentation-for-the-term-help-text.patch -Patch0035: 0035-Indent-menu-entries.patch -Patch0036: 0036-Fix-margins.patch -Patch0037: 0037-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch -Patch0038: 0038-Enable-pager-by-default.-985860.patch -Patch0039: 0039-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch -Patch0040: 0040-Don-t-say-GNU-Linux-in-generated-menus.patch -Patch0041: 0041-Don-t-draw-a-border-around-the-menu.patch -Patch0042: 0042-Use-the-standard-margin-for-the-timeout-string.patch -Patch0043: 0043-Add-.eh_frame-to-list-of-relocations-stripped.patch -Patch0044: 0044-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch -Patch0045: 0045-Don-t-require-a-password-to-boot-entries-generated-b.patch -Patch0046: 0046-Don-t-emit-Booting-.-message.patch -Patch0047: 0047-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch -Patch0048: 0048-use-fw_path-prefix-when-fallback-searching-for-grub-.patch -Patch0049: 0049-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch -Patch0050: 0050-Fix-convert-function-to-support-NVMe-devices.patch -Patch0051: 0051-Add-grub_util_readlink.patch -Patch0052: 0052-Make-editenv-chase-symlinks-including-those-across-d.patch -Patch0053: 0053-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch -Patch0054: 0054-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch -Patch0055: 0055-Try-prefix-if-fw_path-doesn-t-work.patch -Patch0056: 0056-Update-info-with-grub.cfg-netboot-selection-order-11.patch -Patch0057: 0057-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch -Patch0058: 0058-Handle-rssd-storage-devices.patch -Patch0059: 0059-Make-grub2-mkconfig-construct-titles-that-look-like-.patch -Patch0060: 0060-Add-friendly-grub2-password-config-tool-985962.patch -Patch0061: 0061-tcp-add-window-scaling-support.patch -Patch0062: 0062-Fix-security-issue-when-reading-username-and-passwor.patch -Patch0063: 0063-Add-a-url-parser.patch -Patch0064: 0064-efinet-and-bootp-add-support-for-dhcpv6.patch -Patch0065: 0065-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch -Patch0066: 0066-Normalize-slashes-in-tftp-paths.patch -Patch0067: 0067-bz1374141-fix-incorrect-mask-for-ppc64.patch -Patch0068: 0068-Make-grub_fatal-also-backtrace.patch -Patch0069: 0069-Fix-up-some-man-pages-rpmdiff-noticed.patch -Patch0070: 0070-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch -Patch0071: 0071-Make-our-info-pages-say-grub2-where-appropriate.patch -Patch0072: 0072-print-more-debug-info-in-our-module-loader.patch -Patch0073: 0073-macos-just-build-chainloader-entries-don-t-try-any-x.patch -Patch0074: 0074-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch -Patch0075: 0075-export-btrfs_subvol-and-btrfs_subvolid.patch -Patch0076: 0076-grub2-btrfs-03-follow_default.patch -Patch0077: 0077-grub2-btrfs-04-grub2-install.patch -Patch0078: 0078-grub2-btrfs-05-grub2-mkconfig.patch -Patch0079: 0079-grub2-btrfs-06-subvol-mount.patch -Patch0080: 0080-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch -Patch0081: 0081-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch -Patch0082: 0082-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch -Patch0083: 0083-Use-grub_efi_.-memory-helpers-where-reasonable.patch -Patch0084: 0084-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch -Patch0085: 0085-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch -Patch0086: 0086-don-t-ignore-const.patch -Patch0087: 0087-don-t-use-int-for-efi-status.patch -Patch0088: 0088-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch -Patch0089: 0089-editenv-handle-relative-symlinks.patch -Patch0090: 0090-Make-libgrub.pp-depend-on-config-util.h.patch -Patch0091: 0091-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch -Patch0092: 0092-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch -Patch0093: 0093-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch -Patch0094: 0094-align-struct-efi_variable-better.patch -Patch0095: 0095-Add-BLS-support-to-grub-mkconfig.patch -Patch0096: 0096-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch -Patch0097: 0097-Add-linux-and-initrd-commands-for-grub-emu.patch -Patch0098: 0098-Add-grub2-switch-to-blscfg.patch -Patch0099: 0099-Add-grub_debug_enabled.patch -Patch0100: 0100-make-better-backtraces.patch -Patch0101: 0101-normal-don-t-draw-our-startup-message-if-debug-is-se.patch -Patch0102: 0102-Work-around-some-minor-include-path-weirdnesses.patch -Patch0103: 0103-Make-it-possible-to-enabled-build-id-sha1.patch -Patch0104: 0104-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch -Patch0105: 0105-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch -Patch0106: 0106-Fixup-for-newer-compiler.patch -Patch0107: 0107-Don-t-attempt-to-export-the-start-and-_start-symbols.patch -Patch0108: 0108-Fixup-for-newer-compiler.patch -Patch0109: 0109-Add-support-for-non-Ethernet-network-cards.patch -Patch0110: 0110-misc-fix-invalid-character-recongition-in-strto-l.patch -Patch0111: 0111-net-read-bracketed-ipv6-addrs-and-port-numbers.patch -Patch0112: 0112-bootp-New-net_bootp6-command.patch -Patch0113: 0113-efinet-UEFI-IPv6-PXE-support.patch -Patch0114: 0114-grub.texi-Add-net_bootp6-doument.patch -Patch0115: 0115-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch -Patch0116: 0116-efinet-Setting-network-from-UEFI-device-path.patch -Patch0117: 0117-efinet-Setting-DNS-server-from-UEFI-protocol.patch -Patch0118: 0118-Fix-one-more-coverity-complaint.patch -Patch0119: 0119-Support-UEFI-networking-protocols.patch -Patch0120: 0120-AUDIT-0-http-boot-tracker-bug.patch -Patch0121: 0121-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch -Patch0122: 0122-efi-uga-use-64-bit-for-fb_base.patch -Patch0123: 0123-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch -Patch0124: 0124-EFI-console-Add-grub_console_read_key_stroke-helper-.patch -Patch0125: 0125-EFI-console-Implement-getkeystatus-support.patch -Patch0126: 0126-Make-grub_getkeystatus-helper-funtion-available-ever.patch -Patch0127: 0127-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch -Patch0128: 0128-grub-editenv-Add-incr-command-to-increment-integer-v.patch -Patch0129: 0129-Add-auto-hide-menu-support.patch -Patch0130: 0130-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch -Patch0131: 0131-Add-grub-set-bootflag-utility.patch -Patch0132: 0132-docs-Add-grub-boot-indeterminate.service-example.patch -Patch0133: 0133-gentpl-add-disable-support.patch -Patch0134: 0134-gentpl-add-pc-firmware-type.patch -Patch0135: 0135-efinet-also-use-the-firmware-acceleration-for-http.patch -Patch0136: 0136-efi-http-Make-root_url-reflect-the-protocol-hostname.patch -Patch0137: 0137-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch -Patch0138: 0138-module-verifier-make-it-possible-to-run-checkers-on-.patch -Patch0139: 0139-Rework-how-the-fdt-command-builds.patch -Patch0140: 0140-Disable-non-wordsize-allocations-on-arm.patch -Patch0141: 0141-strip-R-.note.gnu.property-at-more-places.patch -Patch0142: 0142-Prepend-prefix-when-HTTP-path-is-relative.patch -Patch0143: 0143-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch -Patch0144: 0144-Make-grub_error-more-verbose.patch -Patch0145: 0145-Make-reset-an-alias-for-the-reboot-command.patch -Patch0146: 0146-EFI-more-debug-output-on-GOP-and-UGA-probing.patch -Patch0147: 0147-Add-a-version-command.patch -Patch0148: 0148-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch -Patch0149: 0149-arm-arm64-loader-Better-memory-allocation-and-error-.patch -Patch0150: 0150-Try-to-pick-better-locations-for-kernel-and-initrd.patch -Patch0151: 0151-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch -Patch0152: 0152-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch -Patch0153: 0153-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch -Patch0154: 0154-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch -Patch0155: 0155-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch -Patch0156: 0156-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch -Patch0157: 0157-Fix-getroot.c-s-trampolines.patch -Patch0158: 0158-Do-not-allow-stack-trampolines-anywhere.patch -Patch0159: 0159-Reimplement-boot_counter.patch -Patch0160: 0160-Make-grub_strtol-end-pointers-have-safer-const-quali.patch -Patch0161: 0161-Fix-menu-entry-selection-based-on-ID-and-title.patch -Patch0162: 0162-Make-the-menu-entry-users-option-argument-to-be-opti.patch -Patch0163: 0163-Add-efi-export-env-and-efi-load-env-commands.patch -Patch0164: 0164-Make-it-possible-to-subtract-conditions-from-debug.patch -Patch0165: 0165-Export-all-variables-from-the-initial-context-when-c.patch -Patch0166: 0166-Fix-the-looking-up-grub.cfg-XXX-while-tftp-booting.patch -Patch0167: 0167-Don-t-make-grub_strtoull-print-an-error-if-no-conver.patch -Patch0168: 0168-Fix-the-type-of-grub_efi_status_t.patch -Patch0169: 0169-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch -Patch0170: 0170-Fix-systemctl-kexec-exit-status-check.patch -Patch0171: 0171-Print-grub-emu-linux-loader-messages-as-debug.patch -Patch0172: 0172-Don-t-assume-that-boot-commands-will-only-return-on-.patch -Patch0173: 0173-Fix-undefined-references-for-fdt-when-building-with-.patch -Patch0174: 0174-autogen.sh-use-find-wholename-for-long-path-matches.patch -Patch0175: 0175-Fix-build-error-with-the-fdt-module-on-risc-v.patch -Patch0176: 0176-RISC-V-Fix-computation-of-pc-relative-relocation-off.patch -Patch0177: 0177-blscfg-Add-support-for-the-devicetree-field.patch -Patch0178: 0178-Set-a-devicetree-var-in-a-BLS-config-if-GRUB_DEFAULT.patch -Patch0179: 0179-Don-t-add-a-class-option-to-menu-entries-generated-f.patch -Patch0180: 0180-10_linux.in-Also-use-GRUB_CMDLINE_LINUX_DEFAULT-to-s.patch -Patch0181: 0181-blscfg-Don-t-hardcode-an-env-var-as-fallback-for-the.patch -Patch0182: 0182-grub-set-bootflag-Update-comment-about-running-as-ro.patch -Patch0183: 0183-grub-set-bootflag-Write-new-env-to-tmpfile-and-then-.patch -Patch0184: 0184-blscfg-add-a-space-char-when-appending-fields-for-va.patch -Patch0185: 0185-grub.d-Fix-boot_indeterminate-getting-set-on-boot_su.patch -Patch0186: 0186-blscfg-Add-support-for-sorting-the-plus-higher-than-.patch -Patch0187: 0187-Fix-savedefault-with-blscfg.patch -Patch0188: 0188-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch -Patch0189: 0189-chainloader-Define-machine-types-for-RISC-V.patch -Patch0190: 0190-Add-start-symbol-for-RISC-V.patch -Patch0191: 0191-RISC-V-Add-__clzdi2-symbol.patch -Patch0192: 0192-grub-install-Define-default-platform-for-RISC-V.patch -Patch0193: 0193-blscfg-Always-use-the-root-variable-to-search-for-BL.patch -Patch0194: 0194-efi-http-Export-fw-http-_path-variables-to-make-them.patch -Patch0195: 0195-efi-http-Enclose-literal-IPv6-addresses-in-square-br.patch -Patch0196: 0196-efi-net-Allow-to-specify-a-port-number-in-addresses.patch -Patch0197: 0197-efi-ip4_config-Improve-check-to-detect-literal-IPv6-.patch -Patch0198: 0198-efi-net-Print-a-debug-message-if-parsing-the-address.patch -Patch0199: 0199-blscfg-return-NULL-instead-of-a-zero-length-array-in.patch -Patch0200: 0200-grub-switch-to-blscfg-Update-grub2-binary-in-ESP-for.patch -Patch0201: 0201-grub-switch-to-blscfg-Only-mark-GRUB-as-BLS-supporte.patch -Patch0202: 0202-10_linux.in-Merge-logic-from-10_linux_bls-and-drop-t.patch -Patch0203: 0203-grub-switch-to-blscfg-Use-install-to-copy-GRUB-binar.patch -Patch0204: 0204-10_linux.in-Enable-BLS-configuration-if-new-kernel-p.patch -Patch0205: 0205-efi-Set-image-base-address-before-jumping-to-the-PE-.patch -Patch0206: 0206-blscfg-Lookup-default_kernelopts-variable-as-fallbac.patch -Patch0207: 0207-10_linux.in-fix-early-exit-due-error-when-reading-pe.patch -Patch0208: 0208-envblk-Fix-buffer-overrun-when-attempting-to-shrink-.patch -Patch0209: 0209-10_linux.in-Store-cmdline-in-BLS-snippets-instead-of.patch -Patch0210: 0210-10_linux.in-restore-existence-check-in-get_sorted_bl.patch -Patch0211: 0211-tpm-Don-t-propagate-TPM-measurement-errors-to-the-ve.patch -Patch0212: 0212-tpm-Enable-module-for-all-EFI-platforms.patch -Patch0213: 0213-10_linux.in-Don-t-update-BLS-files-that-aren-t-manag.patch -Patch0214: 0214-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch -Patch0215: 0215-http-Prepend-prefix-when-the-HTTP-path-is-relative-a.patch -Patch0216: 0216-fix-build-with-rpm-4.16.patch -Patch0217: 0217-Only-mark-GRUB-as-BLS-supported-in-OSTree-systems-wi.patch -Patch0218: 0218-support-TPM2.0-in-grub2-both-legacy-and-efi.patch -Patch0219: 0219-Workaround-for-EFI-Bug-Plan3.patch -Patch0220: 0220-bugfix-remove-excess-qutos.patch -Patch0221: 0221-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch -Patch0222: 0222-safemath-Add-some-arithmetic-primitives-that-check-f.patch -Patch0223: 0223-calloc-Make-sure-we-always-have-an-overflow-checking.patch -Patch0224: 0224-calloc-Use-calloc-at-most-places.patch -Patch0225: 0225-malloc-Use-overflow-checking-primitives-where-we-do-.patch -Patch0226: 0226-iso9660-Don-t-leak-memory-on-realloc-failures.patch -Patch0227: 0227-font-Do-not-load-more-than-one-NAME-section.patch -Patch0228: 0228-gfxmenu-Fix-double-free-in-load_image.patch -Patch0229: 0229-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch -Patch0230: 0230-lzma-Make-sure-we-don-t-dereference-past-array.patch -Patch0231: 0231-term-Fix-overflow-on-user-inputs.patch -Patch0232: 0232-udf-Fix-memory-leak.patch -Patch0233: 0233-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch -Patch0234: 0234-tftp-Do-not-use-priority-queue.patch -Patch0235: 0235-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch -Patch0236: 0236-multiboot2-Set-min-address-for-mbi-allocation-to-0x1.patch -Patch0237: 0237-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch -Patch0238: 0238-script-Remove-unused-fields-from-grub_script_functio.patch -Patch0239: 0239-script-Avoid-a-use-after-free-when-redefining-a-func.patch -Patch0240: 0240-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch -Patch0241: 0241-hfsplus-Fix-two-more-overflows.patch -Patch0242: 0242-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch -Patch0243: 0243-efi-Fix-some-malformed-device-path-arithmetic-errors.patch -Patch0244: 0244-efi-chainloader-Propagate-errors-from-copy_file_path.patch -Patch0245: 0245-efi-Fix-use-after-free-in-halt-reboot-path.patch -Patch0246: 0246-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch -Patch0247: 0247-linux-Fix-integer-overflows-in-initrd-size-handling.patch -Patch0248: 0248-linuxefi-fail-kernel-validation-without-shim-protoco.patch -Patch0249: 0249-remove-08_fallback_counting.in-apply-grubby.patch -Patch0250: 0250-tftp-roll-over-block-counter-to-prevent-timeouts-wit.patch -Patch0251: backport-CVE-2020-25632.patch -Patch0252: backport-CVE-2020-25647.patch -Patch0253: backport-0001-CVE-2020-27749.patch -Patch0254: backport-0002-CVE-2020-27749.patch -Patch0255: backport-0003-CVE-2020-27749.patch -Patch0256: backport-0004-CVE-2020-27749.patch -Patch0257: backport-0005-CVE-2020-27749.patch -Patch0258: backport-0006-CVE-2020-27749.patch -Patch0259: backport-0007-CVE-2020-27749.patch -Patch0260: backport-CVE-2021-20225.patch -Patch0261: backport-CVE-2021-20233.patch -Patch0262: backport-0001-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0263: backport-0002-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0264: backport-0003-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0265: backport-0004-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0266: backport-0005-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0267: backport-0006-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0268: backport-0007-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0269: backport-0008-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0270: backport-0009-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0271: backport-0010-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0272: backport-0011-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0273: backport-0012-CVE-2020-27779-and-CVE-2020-14372.patch -Patch0274: backport-0001-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch -Patch0275: backport-0002-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch -Patch0276: backport-0003-net-tftp-Fix-dangling-memory-pointer.patch -Patch0277: backport-0004-kern-efi-Fix-memory-leak-on-failure.patch -Patch0278: backport-0005-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch -Patch0279: backport-0006-zstd-Initialize-seq_t-structure-fully.patch -Patch0280: backport-0007-kern-partition-Check-for-NULL-before-dereferencing-i.patch -Patch0281: backport-0008-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch -Patch0282: backport-0009-disk-ldm-If-failed-then-free-vg-variable-too.patch -Patch0283: backport-0010-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch -Patch0284: backport-0011-hfsplus-Check-that-the-volume-name-length-is-valid.patch -Patch0285: backport-0012-zfs-Fix-possible-negative-shift-operation.patch -Patch0286: backport-0013-zfs-Fix-resource-leaks-while-constructing-path.patch -Patch0287: backport-0014-zfs-Fix-possible-integer-overflows.patch -Patch0288: backport-0015-zfsinfo-Correct-a-check-for-error-allocating-memory.patch -Patch0289: backport-0016-affs-Fix-memory-leaks.patch -Patch0290: backport-0017-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch -Patch0291: backport-0018-libgcrypt-mpi-Fix-possible-NULL-dereference.patch -Patch0292: backport-0019-syslinux-Fix-memory-leak-while-parsing.patch -Patch0293: backport-0020-normal-completion-Fix-leaking-of-memory-when-process.patch -Patch0294: backport-0021-commands-hashsum-Fix-a-memory-leak.patch -Patch0295: backport-0022-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch -Patch0296: backport-0023-video-fb-fbfill-Fix-potential-integer-overflow.patch -Patch0297: backport-0024-video-fb-video_fb-Fix-multiple-integer-overflows.patch -Patch0298: backport-0025-video-fb-video_fb-Fix-possible-integer-overflow.patch -Patch0299: backport-0026-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch -Patch0300: backport-0027-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch -Patch0301: backport-0028-loader-bsd-Check-for-NULL-arg-up-front.patch -Patch0302: backport-0029-loader-xnu-Fix-memory-leak.patch -Patch0303: backport-0030-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch -Patch0304: backport-0031-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch -Patch0305: backport-0032-util-grub-install-Fix-NULL-pointer-dereferences.patch -Patch0306: backport-0033-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch -Patch0307: backport-0034-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch -Patch0308: backport-0035-script-execute-Fix-NULL-dereference-in-grub_script_e.patch -Patch0309: backport-0036-commands-ls-Require-device_name-is-not-NULL-before-p.patch -Patch0310: backport-0037-script-execute-Avoid-crash-when-using-outside-a-func.patch -Patch0311: backport-0038-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch -Patch0312: backport-0039-kern-misc-Always-set-end-in-grub_strtoull.patch -Patch0313: backport-0040-video-readers-jpeg-Catch-files-with-unsupported-quan.patch -Patch0314: backport-0041-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch -Patch0315: backport-0042-video-readers-jpeg-Don-t-decode-data-before-start-of.patch -Patch0316: backport-0043-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch -Patch0317: backport-0044-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch -Patch0318: backport-0045-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch -Patch0319: backport-0046-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch -Patch0320: backport-0047-fs-hfs-Disable-under-lockdown.patch -Patch0321: backport-0048-fs-sfs-Fix-over-read-of-root-object-name.patch -Patch0322: backport-0049-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch -Patch0323: backport-0050-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch -Patch0324: backport-0051-fs-jfs-Catch-infinite-recursion.patch -Patch0325: backport-0052-fs-nilfs2-Reject-too-large-keys.patch -Patch0326: backport-0053-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch -Patch0327: backport-0054-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch -Patch0328: backport-0055-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch -Patch0329: backport-0056-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch -Patch0330: backport-0057-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch -Patch0331: backport-0058-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch -Patch0332: backport-0059-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch -Patch0333: backport-0060-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch -Patch0334: backport-0061-disk-lvm-Bail-on-missing-PV-list.patch -Patch0335: backport-0062-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch -Patch0336: backport-0063-lvm-Add-LVM-cache-logical-volume-handling.patch -Patch0337: backport-0064-disk-lvm-Do-not-overread-metadata.patch -Patch0338: backport-0065-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch -Patch0339: backport-0066-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch -Patch0340: backport-0067-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch -Patch0341: backport-0068-fs-btrfs-Squash-some-uninitialized-reads.patch -Patch0342: backport-0069-kern-efi-Add-initial-stack-protector-implementation.patch -Patch0343: backport-0070-util-mkimage-Remove-unused-code-to-add-BSS-section.patch -Patch0344: backport-0071-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch -Patch0345: backport-0072-kern-mm-Fix-grub_debug_calloc-compilation-error.patch -Patch0346: backport-0073-grub-mkconfig-Fix-typo-in-help-output.patch -Patch0347: backport-0074-at_keyboard-Fix-unreliable-key-presses.patch -Patch0348: backport-0075-hostdisk-Set-linux-file-descriptor-to-O_CLOEXEC-as-d.patch -Patch0349: backport-0076-squash4-Fix-an-uninitialized-variable.patch -Patch0350: backport-0077-efi-tpm-Fix-memory-leak-in-grub_tpm1-2_log_event.patch -Patch0351: backport-0078-powerpc-mkimage-Fix-CHRP-note-descsz.patch -Patch0352: backport-0079-efi-tpm-Fix-typo-in-grub_efi_tpm2_protocol-struct.patch -Patch0353: backport-0080-misc-Add-parentheses-around-ALIGN_UP-and-ALIGN_DOWN-.patch -Patch0354: backport-0081-verifiers-Fix-calling-uninitialized-function-pointer.patch -Patch0355: backport-templates-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch -Patch0356: grub2-set-password-prompts-to-enter-the-current-pass.patch -Patch0357: support-TPM2.0.patch -Patch0358: use-default-timestamp.patch +Patch0001: 0001-Add-support-for-Linux-EFI-stub-loading.patch +Patch0002: 0002-Rework-linux-command.patch +Patch0003: 0003-Rework-linux16-command.patch +Patch0004: 0004-Add-secureboot-support-on-efi-chainloader.patch +Patch0005: 0005-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch +Patch0006: 0006-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch +Patch0007: 0007-re-write-.gitignore.patch +Patch0008: 0008-IBM-client-architecture-CAS-reboot-support.patch +Patch0009: 0009-for-ppc-reset-console-display-attr-when-clear-screen.patch +Patch0010: 0010-Disable-GRUB-video-support-for-IBM-power-machines.patch +Patch0011: 0011-Honor-a-symlink-when-generating-configuration-by-gru.patch +Patch0012: 0012-Move-bash-completion-script-922997.patch +Patch0013: 0013-Update-to-minilzo-2.08.patch +Patch0014: 0014-Allow-fallback-to-include-entries-by-title-not-just-.patch +Patch0015: 0015-Add-GRUB_DISABLE_UUID.patch +Patch0016: 0016-Make-exit-take-a-return-code.patch +Patch0017: 0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch +Patch0018: 0018-Make-efi-machines-load-an-env-block-from-a-variable.patch +Patch0019: 0019-DHCP-client-ID-and-UUID-options-added.patch +Patch0020: 0020-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch +Patch0021: 0021-Add-support-for-UEFI-operating-systems-returned-by-o.patch +Patch0022: 0022-Migrate-PPC-from-Yaboot-to-Grub2.patch +Patch0023: 0023-Add-fw_path-variable-revised.patch +Patch0024: 0024-Pass-x-hex-hex-straight-through-unmolested.patch +Patch0025: 0025-Add-X-option-to-printf-functions.patch +Patch0026: 0026-Search-for-specific-config-file-for-netboot.patch +Patch0027: 0027-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch +Patch0028: 0028-Add-devicetree-loading.patch +Patch0029: 0029-Don-t-write-messages-to-the-screen.patch +Patch0030: 0030-Don-t-print-GNU-GRUB-header.patch +Patch0031: 0031-Don-t-add-to-highlighted-row.patch +Patch0032: 0032-Message-string-cleanups.patch +Patch0033: 0033-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch +Patch0034: 0034-Use-the-correct-indentation-for-the-term-help-text.patch +Patch0035: 0035-Indent-menu-entries.patch +Patch0036: 0036-Fix-margins.patch +Patch0037: 0037-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch +Patch0038: 0038-Enable-pager-by-default.-985860.patch +Patch0039: 0039-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch +Patch0040: 0040-Don-t-say-GNU-Linux-in-generated-menus.patch +Patch0041: 0041-Don-t-draw-a-border-around-the-menu.patch +Patch0042: 0042-Use-the-standard-margin-for-the-timeout-string.patch +Patch0043: 0043-Add-.eh_frame-to-list-of-relocations-stripped.patch +Patch0044: 0044-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch +Patch0045: 0045-Don-t-require-a-password-to-boot-entries-generated-b.patch +Patch0046: 0046-Don-t-emit-Booting-.-message.patch +Patch0047: 0047-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch +Patch0048: 0048-use-fw_path-prefix-when-fallback-searching-for-grub-.patch +Patch0049: 0049-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch +Patch0050: 0050-Fix-convert-function-to-support-NVMe-devices.patch +Patch0051: 0051-Add-grub_util_readlink.patch +Patch0052: 0052-Make-editenv-chase-symlinks-including-those-across-d.patch +Patch0053: 0053-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch +Patch0054: 0054-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch +Patch0055: 0055-Try-prefix-if-fw_path-doesn-t-work.patch +Patch0056: 0056-Update-info-with-grub.cfg-netboot-selection-order-11.patch +Patch0057: 0057-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch +Patch0058: 0058-Handle-rssd-storage-devices.patch +Patch0059: 0059-Make-grub2-mkconfig-construct-titles-that-look-like-.patch +Patch0060: 0060-Add-friendly-grub2-password-config-tool-985962.patch +Patch0061: 0061-tcp-add-window-scaling-support.patch +Patch0062: 0062-Fix-security-issue-when-reading-username-and-passwor.patch +Patch0063: 0063-Add-a-url-parser.patch +Patch0064: 0064-efinet-and-bootp-add-support-for-dhcpv6.patch +Patch0065: 0065-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch +Patch0066: 0066-Normalize-slashes-in-tftp-paths.patch +Patch0067: 0067-bz1374141-fix-incorrect-mask-for-ppc64.patch +Patch0068: 0068-Make-grub_fatal-also-backtrace.patch +Patch0069: 0069-Fix-up-some-man-pages-rpmdiff-noticed.patch +Patch0070: 0070-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch +Patch0071: 0071-Make-our-info-pages-say-grub2-where-appropriate.patch +Patch0072: 0072-print-more-debug-info-in-our-module-loader.patch +Patch0073: 0073-macos-just-build-chainloader-entries-don-t-try-any-x.patch +Patch0074: 0074-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch +Patch0075: 0075-export-btrfs_subvol-and-btrfs_subvolid.patch +Patch0076: 0076-grub2-btrfs-03-follow_default.patch +Patch0077: 0077-grub2-btrfs-04-grub2-install.patch +Patch0078: 0078-grub2-btrfs-05-grub2-mkconfig.patch +Patch0079: 0079-grub2-btrfs-06-subvol-mount.patch +Patch0080: 0080-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch +Patch0081: 0081-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch +Patch0082: 0082-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch +Patch0083: 0083-Use-grub_efi_.-memory-helpers-where-reasonable.patch +Patch0084: 0084-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch +Patch0085: 0085-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch +Patch0086: 0086-don-t-ignore-const.patch +Patch0087: 0087-don-t-use-int-for-efi-status.patch +Patch0088: 0088-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch +Patch0089: 0089-editenv-handle-relative-symlinks.patch +Patch0090: 0090-Make-libgrub.pp-depend-on-config-util.h.patch +Patch0091: 0091-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch +Patch0092: 0092-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch +Patch0093: 0093-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch +Patch0094: 0094-align-struct-efi_variable-better.patch +Patch0095: 0095-Add-BLS-support-to-grub-mkconfig.patch +Patch0096: 0096-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch +Patch0097: 0097-Add-linux-and-initrd-commands-for-grub-emu.patch +Patch0098: 0098-Add-grub2-switch-to-blscfg.patch +Patch0099: 0099-Add-grub_debug_enabled.patch +Patch0100: 0100-make-better-backtraces.patch +Patch0101: 0101-normal-don-t-draw-our-startup-message-if-debug-is-se.patch +Patch0102: 0102-Work-around-some-minor-include-path-weirdnesses.patch +Patch0103: 0103-Make-it-possible-to-enabled-build-id-sha1.patch +Patch0104: 0104-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch +Patch0105: 0105-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch +Patch0106: 0106-Fixup-for-newer-compiler.patch +Patch0107: 0107-Don-t-attempt-to-export-the-start-and-_start-symbols.patch +Patch0108: 0108-Fixup-for-newer-compiler.patch +Patch0109: 0109-Add-support-for-non-Ethernet-network-cards.patch +Patch0110: 0110-misc-fix-invalid-character-recongition-in-strto-l.patch +Patch0111: 0111-net-read-bracketed-ipv6-addrs-and-port-numbers.patch +Patch0112: 0112-bootp-New-net_bootp6-command.patch +Patch0113: 0113-efinet-UEFI-IPv6-PXE-support.patch +Patch0114: 0114-grub.texi-Add-net_bootp6-doument.patch +Patch0115: 0115-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch +Patch0116: 0116-efinet-Setting-network-from-UEFI-device-path.patch +Patch0117: 0117-efinet-Setting-DNS-server-from-UEFI-protocol.patch +Patch0118: 0118-Fix-one-more-coverity-complaint.patch +Patch0119: 0119-Support-UEFI-networking-protocols.patch +Patch0120: 0120-AUDIT-0-http-boot-tracker-bug.patch +Patch0121: 0121-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch +Patch0122: 0122-efi-uga-use-64-bit-for-fb_base.patch +Patch0123: 0123-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch +Patch0124: 0124-EFI-console-Add-grub_console_read_key_stroke-helper-.patch +Patch0125: 0125-EFI-console-Implement-getkeystatus-support.patch +Patch0126: 0126-Make-grub_getkeystatus-helper-funtion-available-ever.patch +Patch0127: 0127-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch +Patch0128: 0128-grub-editenv-Add-incr-command-to-increment-integer-v.patch +Patch0129: 0129-Add-auto-hide-menu-support.patch +Patch0130: 0130-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch +Patch0131: 0131-Add-grub-set-bootflag-utility.patch +Patch0132: 0132-docs-Add-grub-boot-indeterminate.service-example.patch +Patch0133: 0133-gentpl-add-disable-support.patch +Patch0134: 0134-gentpl-add-pc-firmware-type.patch +Patch0135: 0135-efinet-also-use-the-firmware-acceleration-for-http.patch +Patch0136: 0136-efi-http-Make-root_url-reflect-the-protocol-hostname.patch +Patch0137: 0137-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch +Patch0138: 0138-module-verifier-make-it-possible-to-run-checkers-on-.patch +Patch0139: 0139-Rework-how-the-fdt-command-builds.patch +Patch0140: 0140-Disable-non-wordsize-allocations-on-arm.patch +Patch0141: 0141-strip-R-.note.gnu.property-at-more-places.patch +Patch0142: 0142-Prepend-prefix-when-HTTP-path-is-relative.patch +Patch0143: 0143-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch +Patch0144: 0144-Make-grub_error-more-verbose.patch +Patch0145: 0145-Make-reset-an-alias-for-the-reboot-command.patch +Patch0146: 0146-EFI-more-debug-output-on-GOP-and-UGA-probing.patch +Patch0147: 0147-Add-a-version-command.patch +Patch0148: 0148-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch +Patch0149: 0149-arm-arm64-loader-Better-memory-allocation-and-error-.patch +Patch0150: 0150-Try-to-pick-better-locations-for-kernel-and-initrd.patch +Patch0151: 0151-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch +Patch0152: 0152-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch +Patch0153: 0153-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch +Patch0154: 0154-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch +Patch0155: 0155-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch +Patch0156: 0156-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch +Patch0157: 0157-Fix-getroot.c-s-trampolines.patch +Patch0158: 0158-Do-not-allow-stack-trampolines-anywhere.patch +Patch0159: 0159-Reimplement-boot_counter.patch +Patch0160: 0160-Make-grub_strtol-end-pointers-have-safer-const-quali.patch +Patch0161: 0161-Fix-menu-entry-selection-based-on-ID-and-title.patch +Patch0162: 0162-Make-the-menu-entry-users-option-argument-to-be-opti.patch +Patch0163: 0163-Add-efi-export-env-and-efi-load-env-commands.patch +Patch0164: 0164-Make-it-possible-to-subtract-conditions-from-debug.patch +Patch0165: 0165-Export-all-variables-from-the-initial-context-when-c.patch +Patch0166: 0166-Fix-the-looking-up-grub.cfg-XXX-while-tftp-booting.patch +Patch0167: 0167-Don-t-make-grub_strtoull-print-an-error-if-no-conver.patch +Patch0168: 0168-Fix-the-type-of-grub_efi_status_t.patch +Patch0169: 0169-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch +Patch0170: 0170-Fix-systemctl-kexec-exit-status-check.patch +Patch0171: 0171-Print-grub-emu-linux-loader-messages-as-debug.patch +Patch0172: 0172-Don-t-assume-that-boot-commands-will-only-return-on-.patch +Patch0173: 0173-Fix-undefined-references-for-fdt-when-building-with-.patch +Patch0174: 0174-autogen.sh-use-find-wholename-for-long-path-matches.patch +Patch0175: 0175-Fix-build-error-with-the-fdt-module-on-risc-v.patch +Patch0176: 0176-RISC-V-Fix-computation-of-pc-relative-relocation-off.patch +Patch0177: 0177-blscfg-Add-support-for-the-devicetree-field.patch +Patch0178: 0178-Set-a-devicetree-var-in-a-BLS-config-if-GRUB_DEFAULT.patch +Patch0179: 0179-Don-t-add-a-class-option-to-menu-entries-generated-f.patch +Patch0180: 0180-10_linux.in-Also-use-GRUB_CMDLINE_LINUX_DEFAULT-to-s.patch +Patch0181: 0181-blscfg-Don-t-hardcode-an-env-var-as-fallback-for-the.patch +Patch0182: 0182-grub-set-bootflag-Update-comment-about-running-as-ro.patch +Patch0183: 0183-grub-set-bootflag-Write-new-env-to-tmpfile-and-then-.patch +Patch0184: 0184-blscfg-add-a-space-char-when-appending-fields-for-va.patch +Patch0185: 0185-grub.d-Fix-boot_indeterminate-getting-set-on-boot_su.patch +Patch0186: 0186-blscfg-Add-support-for-sorting-the-plus-higher-than-.patch +Patch0187: 0187-Fix-savedefault-with-blscfg.patch +Patch0188: 0188-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch +Patch0189: 0189-chainloader-Define-machine-types-for-RISC-V.patch +Patch0190: 0190-Add-start-symbol-for-RISC-V.patch +Patch0191: 0191-RISC-V-Add-__clzdi2-symbol.patch +Patch0192: 0192-grub-install-Define-default-platform-for-RISC-V.patch +Patch0193: 0193-blscfg-Always-use-the-root-variable-to-search-for-BL.patch +Patch0194: 0194-efi-http-Export-fw-http-_path-variables-to-make-them.patch +Patch0195: 0195-efi-http-Enclose-literal-IPv6-addresses-in-square-br.patch +Patch0196: 0196-efi-net-Allow-to-specify-a-port-number-in-addresses.patch +Patch0197: 0197-efi-ip4_config-Improve-check-to-detect-literal-IPv6-.patch +Patch0198: 0198-efi-net-Print-a-debug-message-if-parsing-the-address.patch +Patch0199: 0199-blscfg-return-NULL-instead-of-a-zero-length-array-in.patch +Patch0200: 0200-grub-switch-to-blscfg-Update-grub2-binary-in-ESP-for.patch +Patch0201: 0201-grub-switch-to-blscfg-Only-mark-GRUB-as-BLS-supporte.patch +Patch0202: 0202-10_linux.in-Merge-logic-from-10_linux_bls-and-drop-t.patch +Patch0203: 0203-grub-switch-to-blscfg-Use-install-to-copy-GRUB-binar.patch +Patch0204: 0204-10_linux.in-Enable-BLS-configuration-if-new-kernel-p.patch +Patch0205: 0205-efi-Set-image-base-address-before-jumping-to-the-PE-.patch +Patch0206: 0206-blscfg-Lookup-default_kernelopts-variable-as-fallbac.patch +Patch0207: 0207-10_linux.in-fix-early-exit-due-error-when-reading-pe.patch +Patch0208: 0208-envblk-Fix-buffer-overrun-when-attempting-to-shrink-.patch +Patch0209: 0209-10_linux.in-Store-cmdline-in-BLS-snippets-instead-of.patch +Patch0210: 0210-10_linux.in-restore-existence-check-in-get_sorted_bl.patch +Patch0211: 0211-tpm-Don-t-propagate-TPM-measurement-errors-to-the-ve.patch +Patch0212: 0212-tpm-Enable-module-for-all-EFI-platforms.patch +Patch0213: 0213-10_linux.in-Don-t-update-BLS-files-that-aren-t-manag.patch +Patch0214: 0214-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch +Patch0215: 0215-http-Prepend-prefix-when-the-HTTP-path-is-relative-a.patch +Patch0216: 0216-fix-build-with-rpm-4.16.patch +Patch0217: 0217-Only-mark-GRUB-as-BLS-supported-in-OSTree-systems-wi.patch +Patch0218: 0218-support-TPM2.0-in-grub2-both-legacy-and-efi.patch +Patch0219: 0219-Workaround-for-EFI-Bug-Plan3.patch +Patch0220: 0220-bugfix-remove-excess-qutos.patch +Patch0221: 0221-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch +Patch0222: 0222-safemath-Add-some-arithmetic-primitives-that-check-f.patch +Patch0223: 0223-calloc-Make-sure-we-always-have-an-overflow-checking.patch +Patch0224: 0224-calloc-Use-calloc-at-most-places.patch +Patch0225: 0225-malloc-Use-overflow-checking-primitives-where-we-do-.patch +Patch0226: 0226-iso9660-Don-t-leak-memory-on-realloc-failures.patch +Patch0227: 0227-font-Do-not-load-more-than-one-NAME-section.patch +Patch0228: 0228-gfxmenu-Fix-double-free-in-load_image.patch +Patch0229: 0229-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch +Patch0230: 0230-lzma-Make-sure-we-don-t-dereference-past-array.patch +Patch0231: 0231-term-Fix-overflow-on-user-inputs.patch +Patch0232: 0232-udf-Fix-memory-leak.patch +Patch0233: 0233-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch +Patch0234: 0234-tftp-Do-not-use-priority-queue.patch +Patch0235: 0235-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch +Patch0236: 0236-multiboot2-Set-min-address-for-mbi-allocation-to-0x1.patch +Patch0237: 0237-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch +Patch0238: 0238-script-Remove-unused-fields-from-grub_script_functio.patch +Patch0239: 0239-script-Avoid-a-use-after-free-when-redefining-a-func.patch +Patch0240: 0240-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch +Patch0241: 0241-hfsplus-Fix-two-more-overflows.patch +Patch0242: 0242-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch +Patch0243: 0243-efi-Fix-some-malformed-device-path-arithmetic-errors.patch +Patch0244: 0244-efi-chainloader-Propagate-errors-from-copy_file_path.patch +Patch0245: 0245-efi-Fix-use-after-free-in-halt-reboot-path.patch +Patch0246: 0246-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch +Patch0247: 0247-linux-Fix-integer-overflows-in-initrd-size-handling.patch +Patch0248: 0248-linuxefi-fail-kernel-validation-without-shim-protoco.patch +Patch0249: 0249-remove-08_fallback_counting.in-apply-grubby.patch +Patch0250: 0250-tftp-roll-over-block-counter-to-prevent-timeouts-wit.patch +Patch0251: backport-CVE-2020-25632.patch +Patch0252: backport-CVE-2020-25647.patch +Patch0253: backport-0001-CVE-2020-27749.patch +Patch0254: backport-0002-CVE-2020-27749.patch +Patch0255: backport-0003-CVE-2020-27749.patch +Patch0256: backport-0004-CVE-2020-27749.patch +Patch0257: backport-0005-CVE-2020-27749.patch +Patch0258: backport-0006-CVE-2020-27749.patch +Patch0259: backport-0007-CVE-2020-27749.patch +Patch0260: backport-CVE-2021-20225.patch +Patch0261: backport-CVE-2021-20233.patch +Patch0262: backport-0001-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0263: backport-0002-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0264: backport-0003-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0265: backport-0004-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0266: backport-0005-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0267: backport-0006-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0268: backport-0007-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0269: backport-0008-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0270: backport-0009-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0271: backport-0010-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0272: backport-0011-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0273: backport-0012-CVE-2020-27779-and-CVE-2020-14372.patch +Patch0274: backport-0001-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch +Patch0275: backport-0002-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch +Patch0276: backport-0003-net-tftp-Fix-dangling-memory-pointer.patch +Patch0277: backport-0004-kern-efi-Fix-memory-leak-on-failure.patch +Patch0278: backport-0005-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch +Patch0279: backport-0006-zstd-Initialize-seq_t-structure-fully.patch +Patch0280: backport-0007-kern-partition-Check-for-NULL-before-dereferencing-i.patch +Patch0281: backport-0008-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch +Patch0282: backport-0009-disk-ldm-If-failed-then-free-vg-variable-too.patch +Patch0283: backport-0010-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch +Patch0284: backport-0011-hfsplus-Check-that-the-volume-name-length-is-valid.patch +Patch0285: backport-0012-zfs-Fix-possible-negative-shift-operation.patch +Patch0286: backport-0013-zfs-Fix-resource-leaks-while-constructing-path.patch +Patch0287: backport-0014-zfs-Fix-possible-integer-overflows.patch +Patch0288: backport-0015-zfsinfo-Correct-a-check-for-error-allocating-memory.patch +Patch0289: backport-0016-affs-Fix-memory-leaks.patch +Patch0290: backport-0017-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch +Patch0291: backport-0018-libgcrypt-mpi-Fix-possible-NULL-dereference.patch +Patch0292: backport-0019-syslinux-Fix-memory-leak-while-parsing.patch +Patch0293: backport-0020-normal-completion-Fix-leaking-of-memory-when-process.patch +Patch0294: backport-0021-commands-hashsum-Fix-a-memory-leak.patch +Patch0295: backport-0022-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch +Patch0296: backport-0023-video-fb-fbfill-Fix-potential-integer-overflow.patch +Patch0297: backport-0024-video-fb-video_fb-Fix-multiple-integer-overflows.patch +Patch0298: backport-0025-video-fb-video_fb-Fix-possible-integer-overflow.patch +Patch0299: backport-0026-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch +Patch0300: backport-0027-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch +Patch0301: backport-0028-loader-bsd-Check-for-NULL-arg-up-front.patch +Patch0302: backport-0029-loader-xnu-Fix-memory-leak.patch +Patch0303: backport-0030-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch +Patch0304: backport-0031-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch +Patch0305: backport-0032-util-grub-install-Fix-NULL-pointer-dereferences.patch +Patch0306: backport-0033-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch +Patch0307: backport-0034-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch +Patch0308: backport-0035-script-execute-Fix-NULL-dereference-in-grub_script_e.patch +Patch0309: backport-0036-commands-ls-Require-device_name-is-not-NULL-before-p.patch +Patch0310: backport-0037-script-execute-Avoid-crash-when-using-outside-a-func.patch +Patch0311: backport-0038-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch +Patch0312: backport-0039-kern-misc-Always-set-end-in-grub_strtoull.patch +Patch0313: backport-0040-video-readers-jpeg-Catch-files-with-unsupported-quan.patch +Patch0314: backport-0041-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch +Patch0315: backport-0042-video-readers-jpeg-Don-t-decode-data-before-start-of.patch +Patch0316: backport-0043-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch +Patch0317: backport-0044-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch +Patch0318: backport-0045-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch +Patch0319: backport-0046-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch +Patch0320: backport-0047-fs-hfs-Disable-under-lockdown.patch +Patch0321: backport-0048-fs-sfs-Fix-over-read-of-root-object-name.patch +Patch0322: backport-0049-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch +Patch0323: backport-0050-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch +Patch0324: backport-0051-fs-jfs-Catch-infinite-recursion.patch +Patch0325: backport-0052-fs-nilfs2-Reject-too-large-keys.patch +Patch0326: backport-0053-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch +Patch0327: backport-0054-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch +Patch0328: backport-0055-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch +Patch0329: backport-0056-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch +Patch0330: backport-0057-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch +Patch0331: backport-0058-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch +Patch0332: backport-0059-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch +Patch0333: backport-0060-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch +Patch0334: backport-0061-disk-lvm-Bail-on-missing-PV-list.patch +Patch0335: backport-0062-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch +Patch0336: backport-0063-lvm-Add-LVM-cache-logical-volume-handling.patch +Patch0337: backport-0064-disk-lvm-Do-not-overread-metadata.patch +Patch0338: backport-0065-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch +Patch0339: backport-0066-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch +Patch0340: backport-0067-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch +Patch0341: backport-0068-fs-btrfs-Squash-some-uninitialized-reads.patch +Patch0342: backport-0069-kern-efi-Add-initial-stack-protector-implementation.patch +Patch0343: backport-0070-util-mkimage-Remove-unused-code-to-add-BSS-section.patch +Patch0344: backport-0071-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch +Patch0345: backport-0072-kern-mm-Fix-grub_debug_calloc-compilation-error.patch +Patch0346: backport-0073-grub-mkconfig-Fix-typo-in-help-output.patch +Patch0347: backport-0074-at_keyboard-Fix-unreliable-key-presses.patch +Patch0348: backport-0075-hostdisk-Set-linux-file-descriptor-to-O_CLOEXEC-as-d.patch +Patch0349: backport-0076-squash4-Fix-an-uninitialized-variable.patch +Patch0350: backport-0077-efi-tpm-Fix-memory-leak-in-grub_tpm1-2_log_event.patch +Patch0351: backport-0078-powerpc-mkimage-Fix-CHRP-note-descsz.patch +Patch0352: backport-0079-efi-tpm-Fix-typo-in-grub_efi_tpm2_protocol-struct.patch +Patch0353: backport-0080-misc-Add-parentheses-around-ALIGN_UP-and-ALIGN_DOWN-.patch +Patch0354: backport-0081-verifiers-Fix-calling-uninitialized-function-pointer.patch +Patch0355: backport-templates-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch +Patch0356: grub2-set-password-prompts-to-enter-the-current-pass.patch +Patch0357: support-TPM2.0.patch +Patch0358: use-default-timestamp.patch +Patch0359: backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch +Patch0360: backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch diff --git a/grub2.spec b/grub2.spec index 805f2b9..ac4b31a 100644 --- a/grub2.spec +++ b/grub2.spec @@ -8,7 +8,7 @@ Name: grub2 Epoch: 1 Version: 2.04 -Release: 23 +Release: 24 Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -450,6 +450,13 @@ rm -r /boot/grub2.tmp/ || : %{_datadir}/man/man* %changelog +* Mon Feb 28 2022 fengtao - 2.04-24 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix arm64 kernel image not aligned on 64k boundary + fix grub.patches file format to unix + * Sat Feb 26 2022 zhangqiumiao - 2.04-23 - Type:bugfix - CVE:NA -- Gitee