aboutsummaryrefslogtreecommitdiffstats
path: root/util
AgeCommit message (Expand)AuthorFilesLines
2022-08-20efi: Don't display a uefi-firmware entry if it's not supportedRobbie Harwood1-1/+2
2022-08-20templates: Check for EFI at runtime instead of config generation timeJavier Martinez Canillas1-13/+8
2022-08-19util/grub-module-verifierXX: Changed get_shnum() return typeAlec Brown1-4/+6
2022-08-19templates/linux_xen: Properly order the multiple initrd filesMauricio Faria de Oliveira1-1/+4
2022-08-19templates/linux_xen: Properly load multiple initrd filesMauricio Faria de Oliveira1-3/+3
2022-08-19util/grub-install-common: Confirm directory creation in grub_install_mkdir_p()Darren Kenny1-1/+6
2022-08-10util/grub-mkfont: Fix resource leaksQiumiao Zhang1-0/+5
2022-07-27util/grub-probe: Document the behavior of multiple -vRobbie Harwood1-1/+2
2022-07-12util/grub-mkfont: Fix tainted loop boundary issues with substitutionsDarren Kenny1-9/+53
2022-07-04templates: Remove unused version comparison functionsMathieu Desnoyers1-51/+0
2022-07-04templates/kfreebsd: Fix quadratic algorithm for sorting menu itemsMathieu Desnoyers1-4/+8
2022-07-04templates/hurd: Fix quadratic algorithm for sorting menu itemsMathieu Desnoyers1-5/+9
2022-07-04templates/linux_xen: Fix quadratic algorithm for sorting menu itemsMathieu Desnoyers1-8/+10
2022-07-04templates/linux: Fix quadratic algorithm for sorting menu itemsMathieu Desnoyers2-8/+12
2022-06-07util/grub-module-verifierXX: Add e_shoff check in get_shdr()Alec Brown1-0/+3
2022-06-07osdep/hurd/getroot: Use "part:" qualifierSamuel Thibault1-1/+3
2022-06-07util/probe: Remove unused header includesGlenn Washburn1-2/+0
2022-05-24templates: Improve initramfs detectionOskari Pirhonen2-4/+8
2022-05-24grub-mkimage: Creating aarch64 images from x86 host is brokenDarren Kenny1-3/+2
2022-05-24grub-install: Allow to install to non-EFI ESP when --forceIcenowy Zheng1-1/+6
2022-04-20util/mkimage: Fix dangling pointer may be used errorMichael Chang1-0/+21
2022-03-21grub-mkimage: Only check aarch64 relocations when built for aarch64Darren Kenny1-0/+2
2022-03-14grub-mount: Add support for libfuse3Fabian Vogt1-3/+22
2022-03-14util: Remove trailing whitespacesElyes Haouas23-192/+192
2022-03-07templates: Properly handle multiple initrd paths in 30_os-proberPeter Levine1-1/+1
2022-03-07templates: Add support for pci-arbiter and rumpdisk on HurdSamuel Thibault1-3/+47
2022-02-08util/grub-module-verifierXX: Validate elf section header table index for sect...Alec Brown1-1/+24
2022-02-08util/grub-module-verifierXX: Validate number of elf section header table entriesAlec Brown1-6/+29
2022-02-08util/grub-module-verifierXX: Add function to calculate section headersAlec Brown1-10/+15
2022-02-08util/resolve: Bail with error if moddep.lst file line is too longGlenn Washburn1-0/+3
2022-02-08util/resolve: Do not read past the end of the array in read_dep_list()Glenn Washburn1-1/+1
2021-12-23grub-mkconfig: Restore umask for the grub.cfgMichael Chang1-0/+3
2021-11-22templates: Filter out POSIX locale for translationMichael Chang1-1/+1
2021-11-02util/grub-mkfont: Fix memory leak in write_font_pf2()Darren Kenny1-0/+1
2021-11-02util/grub-fstest: Fix resource leaks in cmd_cmp()Darren Kenny1-1/+7
2021-11-02util/grub-mkrescue: Fix memory leak in write_part()Darren Kenny1-0/+1
2021-11-02util/grub-install-common: Fix memory leak in copy_all()Darren Kenny1-1/+4
2021-09-20templates: Add GRUB_CMDLINE_LINUX_RECOVERYChris Vogel3-2/+11
2021-06-01grub-install: Add backup and restoreDimitri John Ledkov5-23/+180
2021-05-10util/mkimage: Fix wrong PE32+ section sizes for some archesJavier Martinez Canillas1-0/+4
2021-04-12templates: Fix user-facing typo with an incorrect use of "it's"Aru Sahni1-1/+1
2021-03-10templates: Properly disable the os-prober by defaultPhilip Müller2-5/+8
2021-03-02templates: Disable the os-prober by defaultAlex Burmashev1-1/+4
2021-03-02shim_lock: Only skip loading shim_lock verifier with explicit consentDimitri John Ledkov3-5/+30
2021-03-02grub-install-common: Add --sbat optionDimitri John Ledkov1-2/+10
2021-03-02util/mkimage: Add an option to import SBAT metadata into a .sbat sectionPeter Jones3-9/+51
2021-03-02util/mkimage: Refactor section setup to use a helperPeter Jones1-66/+77
2021-03-02util/mkimage: Improve data_size value calculationPeter Jones1-1/+5
2021-03-02util/mkimage: Reorder PE optional header fields set-upPeter Jones1-8/+8
2021-03-02util/mkimage: Unify more of the PE32 and PE32+ header set-upPeter Jones1-60/+51
2021-03-02util/mkimage: Always use grub_host_to_target32() to initialize PE stack and h...Peter Jones1-4/+4
2021-03-02util/mkimage: Use grub_host_to_target32() instead of grub_cpu_to_le32()Peter Jones1-22/+22
2021-03-02util/mkimage: Remove unused code to add BSS sectionJavier Martinez Canillas1-17/+0
2021-03-02util/glue-efi: Fix incorrect use of a possibly negative valueDarren Kenny1-2/+12
2021-03-02util/grub-editenv: Fix incorrect casting of a signed valueDarren Kenny1-1/+7
2021-03-02util/grub-install: Fix NULL pointer dereferencesDaniel Kiper1-0/+4
2020-12-12disk: Rename grub_disk_get_size() to grub_disk_native_sectors()Glenn Washburn2-2/+2
2020-12-12mbr: Warn if MBR gap is small and user uses advanced modulesVladimir Serbinenko4-5/+32
2020-09-18grub-mkconfig: If $hints is not set reduce the output into grub.cfg to just 1...Florian La Roche1-5/+9
2020-09-18grub-install: Fix inverted test for NLS enabled when copying localesMartin Whitaker1-2/+2
2020-09-11templates: Remove unnecessary trailing semicolonFlorian La Roche1-1/+1
2020-07-29calloc: Use calloc() at most placesPeter Jones10-23/+19
2020-05-25templates/20_linux_xen: Support Xen Security Modules (XSM/FLASK)Ian Jackson1-0/+24
2020-05-25templates/20_linux_xen: Ignore xenpolicy and config files tooIan Jackson1-2/+6
2020-04-21templates: Output a menu entry for firmware setup on UEFI FastBoot systemsSteve Langasek1-0/+44
2020-04-21powerpc/mkimage: Fix CHRP note descszDaniel Axtens1-1/+1
2020-02-28misc: Make grub_strtol() "end" pointers have safer const qualifiersPeter Jones1-1/+1
2020-02-18grub-editenv: Make grub-editenv chase symlinks including those across devicesPeter Jones1-0/+65
2019-11-18grub-editenv: Warn a user against editing environment blockMichael Chang1-5/+9
2019-10-28grub-mkconfig: Use portable "command -v" to detect installed programsEli Schwartz2-2/+2
2019-10-28templates: Add GRUB_DISABLE_UUIDPeter Jones2-2/+12
2019-10-21templates: Fix bad test on GRUB_DISABLE_SUBMENUPrarit Bhargava6-6/+54
2019-09-23grub-mkconfig: Fix typo in --help outputColin Watson1-1/+1
2019-09-23grub-install: Define default platform for RISC-VAndreas Schwab1-0/+8
2019-09-23grub-mkconfig: Honor a symlink when generating configuration by grub-mkconfigMarcel Kolaja1-1/+2
2019-07-18[PATCH] sparc64: Fix BIOS Boot Partition supportJames Clarke1-1/+3
2019-07-11RISC-V: Fix computation of pc-relative relocation offsetAndreas Schwab1-2/+2
2019-05-20grub-mkrescue: Fix error message about the wrong command having failed: mform...Vincent Legoll1-1/+1
2019-05-20grub-mkconfig: Use -c instead of --printf for statOvidiu Panait1-1/+1
2019-05-06arm: Align section alignment with manual relocation offset codeAlexander Graf1-1/+1
2019-05-06arm: Move trampolines into code sectionAlexander Graf1-15/+13
2019-04-09Change fs functions to add fs_ prefixVladimir Serbinenko5-13/+13
2019-03-25Rename grub_disk membersVladimir Serbinenko2-14/+14
2019-03-25grub-mkimagexx: Fix RISCV error messageVladimir Serbinenko1-2/+2
2019-03-25Support R_PPC_PLTREL24Vladimir Serbinenko1-0/+1
2019-03-12sparc64: Add bios boot partition supportEric Snowberg1-9/+72
2019-03-05gnulib: Upgrade Gnulib and switch to bootstrap toolColin Watson1-1/+1
2019-03-05util: Detect more I/O errorsColin Watson5-11/+25
2019-02-26grub-install: Check for arm-efi as a default targetSteve McIntyre1-1/+1
2019-02-26Revert "grub-install: Check for arm-efi as a default target"Daniel Kiper1-1/+1
2019-02-25grub-install: Check for arm-efi as a default targetSteve McIntyre1-1/+1
2019-02-25RISC-V: Add to build systemAlexander Graf5-2/+80
2019-02-25RISC-V: Add awareness for RISC-V reloationsAlexander Graf2-0/+315
2019-02-06mkimage: Clarify file alignment in efi caseAlexander Graf1-6/+6
2019-02-06mkimage: Use EFI32_HEADER_SIZE define in arm-efi caseAlexander Graf1-6/+1
2019-01-14grub-mkconfig/20_linux_xen: Support multiple early initrd imagesPeter Große1-6/+29
2018-12-12xen_pvh: Support grub-install for xen_pvhJuergen Gross2-0/+8
2018-12-12xen_pvh: Support building a standalone imageJuergen Gross4-7/+68
2018-12-12xen: Use elfnote defines instead of plain numbersJuergen Gross1-6/+8
2018-12-12grub-module-verifier: Ignore all_video for xen_pvhHans van Kranenburg1-0/+1
2018-11-16mkimage: Pad DTBs to target-specific pointer sizeMatthew Daley1-1/+1
2018-11-09Cope with / being on a ZFS root datasetColin Watson2-2/+2
2018-11-09verifiers: File type for fine-grained signature-verification controllingVladimir Serbinenko2-6/+6
2018-09-13grub-reboot: Warn when "for the next boot only" promise cannot be keptdann frazier1-0/+16
2018-09-12grub-module-verifier: Report the filename or modname in errorsPeter Jones2-30/+34
2018-07-11grub-setup: Debug message cleanupCao jin1-2/+1
2018-06-05templates: Add missing "]"Daniel Kiper1-1/+1
2018-04-23templates: Update grub script template filesNicholas Vinson3-6/+41
2018-04-23grub-probe: Add PARTUUID detection supportNicholas Vinson1-0/+48
2018-04-23disk: Update grub_gpt_partentryNicholas Vinson1-1/+1
2018-04-23grub-probe: Centralize GUID printsNicholas Vinson1-15/+15
2018-04-23grub-install: Locale depends on nlsOlaf Hering1-49/+57
2018-03-14grub-mkconfig/10_linux: Support multiple early initrd imagesMatthew S. Turnbull2-6/+35
2018-03-07mkimage: fix build regression in grub_mkimage_load_imageEric Snowberg1-1/+1
2018-03-05Revert "Keep the native terminal active when enabling gfxterm"dann frazier1-1/+1
2018-03-05mkimage: avoid copying relocations for sections that won't be copied.Peter Jones1-8/+72
2018-03-05mkimage: refactor a bunch of section data into a struct.Peter Jones1-147/+116
2018-03-05mkimage: make locate_sections() set up vaddresses as well.Peter Jones1-25/+24
2018-03-05mkimage: rename a couple of things to be less confusing later.Peter Jones1-10/+10
2018-03-05mkimage: make it easier to run syntax checkers on grub-mkimagexx.cPeter Jones3-0/+13
2018-02-23x86-64: Treat R_X86_64_PLT32 as R_X86_64_PC32H.J. Lu2-0/+2
2018-02-14Make grub-install check for errors from efibootmgrSteve McIntyre1-5/+13
2018-02-14sparc64: Add blocklist GPT support for SPARCEric Snowberg1-3/+23
2018-01-29Keep the native terminal active when enabling gfxtermdann frazier1-1/+1
2017-12-06grub-mkconfig: Fix detecting .sig files as system imagesJordan Glover1-0/+1
2017-12-06ieee1275: Fix segfault in grub-ofpathnameEric Snowberg1-1/+3
2017-11-28grub-install: Fix memory leakEric Snowberg1-0/+1
2017-09-07Use grub-file to figure out whether multiboot2 should be used for Xen.gzKonrad Rzeszutek Wilk1-2/+7
2017-09-07Fix util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64Konrad Rzeszutek Wilk1-5/+4
2017-08-07Fail if xorriso failed.Vladimir Serbinenko1-2/+4
2017-08-07mkrescue: Check xorriso presence before doing anything else.Vladimir Serbinenko1-1/+8
2017-05-18util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64Fu Wei1-3/+11
2017-05-08arm_coreboot: Support grub-mkstandalone.Vladimir Serbinenko2-2/+17
2017-05-08Add support for device-tree-based drivers.Vladimir Serbinenko3-5/+32
2017-05-08arm-coreboot: Start new port.Vladimir Serbinenko2-6/+54
2017-05-08mkimage: Pass layout to mkimage_generate_elfXX rather than some fields.Vladimir Serbinenko2-19/+20
2017-04-04i386, x86_64, ppc: fix switch fallthrough cases with GCC7Andrei Borzenkov4-1/+4
2017-02-22Whitelist sparc64-ieee1275 as having no video modules.Vladimir Serbinenko1-0/+1
2017-02-02Fix thumb compilation with clang.Vladimir Serbinenko1-0/+6
2017-02-01arm64: Add support for GOT and PCREL32 relocations.Vladimir Serbinenko3-10/+118
2017-02-01mkimage: Fix memory leak.Vladimir Serbinenko1-0/+6
2017-02-01arm/arm64: Fix improper use of start address.Vladimir Serbinenko1-7/+3
2017-01-31grub-mkfont: Remove leftover debug statement.Vladimir Serbinenko1-3/+0
2017-01-31ia64: Add support for R_IA64_GPREL64I.Vladimir Serbinenko2-0/+6
2017-01-30grub-module-verifier: Add mips to all_video whitelist.Vladimir Serbinenko1-1/+8
2017-01-30grub-module-verifier: Ignore all_video emptiness on xen.Vladimir Serbinenko2-9/+58
2016-11-14grub-mknetdir: Add support for ARM64 EFIDirk Mueller1-1/+2
2016-03-11Failed config now returns exit code (#1252311)Robert Marshall1-0/+1
2016-03-0620_linux_xen: fix test for GRUB_DEVICEAndrei Borzenkov1-1/+1
2016-03-0610_linux: Fix grouping of tests for GRUB_DEVICEMike Gilbert1-1/+1
2016-02-27arm-uboot: Make self-relocatable to allow loading at any addressVladimir Serbinenko2-71/+250
2016-02-27Allow _start == 0 with relocatable imagesVladimir Serbinenko1-3/+3
2016-02-27Provide __bss_start and _end symbols in grub-mkimage.Vladimir Serbinenko1-48/+85
2016-02-27Encapsulate image layout into a separate structure.Vladimir Serbinenko2-117/+111
2016-02-27mkimagexx: Split PE and generic part for relocations.Vladimir Serbinenko1-196/+219
2016-02-27mkimage.c: Split into separate files.Vladimir Serbinenko4-338/+227
2016-02-12Change -v to -V for version of shell utils.Vladimir Serbinenko4-7/+7
2016-02-12xnu: Add new kernel path to autoconfig.Vladimir Serbinenko2-0/+6
2016-02-03support modules without symbol tableAndrei Borzenkov1-1/+17
2016-02-0110_linux: avoid multi-device root= kernel argumentAndrei Borzenkov2-2/+6
2016-01-22Error out if mtools invocation fails.Vladimir Serbinenko1-2/+7
2016-01-22arm64: Add support for relocations needed for linaro gccVladimir Serbinenko2-1/+38
2016-01-16grub-probe: fix memory leakAndrei Borzenkov1-2/+3
2016-01-10grub-install: include ehci in list of native modulesAndrei Borzenkov1-0/+1
2016-01-10grub-mkimage: remove redundant NULL checkAndrei Borzenkov1-2/+1
2016-01-09setup: fix NULL pointer dereferenceAndrei Borzenkov1-0/+3
2016-01-09mkimage: fix unintended sign extensionAndrei Borzenkov1-1/+1
2016-01-09util/getroot: delete dead codeAndrei Borzenkov1-3/+0
2016-01-09grub-mklayout: check subscript boundsAndrei Borzenkov1-0/+7
2016-01-09grub-probe: fix memory leakAndrei Borzenkov1-0/+7
2016-01-09util/setup: fix grub_util_path_list leakAndrei Borzenkov3-8/+18
2016-01-09setup: fix memory leakAndrei Borzenkov1-0/+4
2016-01-09grub-module-verifier: fix unintended sign extensionAndrei Borzenkov1-1/+1
2016-01-05Move file loading functions to grub-emu.Vladimir Serbinenko1-48/+0
2015-12-31module-verifier: allow limited-range relocations on sparc64.Vladimir Serbinenko1-1/+6
2015-12-31module-verifier: Check range-limited relative relocations.Vladimir Serbinenko2-15/+66
2015-12-31Verify modules on build-time rather than failing in runtime.Vladimir Serbinenko4-0/+441
2015-12-3030_os-prober: derive --class from os-prober generated labelAndrey Borzenkov1-3/+6
2015-12-29grub-mkrescue: Delete temporary fileVladimir Serbinenko1-0/+2
2015-12-29grub-mount: Fix oath parsing.Vladimir Serbinenko1-7/+1
2015-11-06mkimage: zero fill alignment spaceAndrei Borzenkov2-22/+11
2015-10-07sparc64 - use correct drive name within grub_util_sparc_setupEric Snowberg1-1/+1
2015-07-27grub-install: Use a+ in fopen rather than r+.Vladimir Serbinenko1-1/+1
2015-06-19grub-probe: fix memory leak in probe (ofpath)Andrei Borzenkov1-1/+2
2015-06-19grub-probe: restructure code to make static analysis easierAndrei Borzenkov1-61/+25
2015-05-13remove extra newlines in grub_util_* stringsAndrei Borzenkov5-8/+8
2015-05-07util/grub-mkrescue: Fix compilationVladimir Serbinenko1-1/+1
2015-05-07grub-install-common: Increase buf size to 8192 as modinfo.sh is bigger.Vladimir Serbinenko1-1/+1
2015-05-07grub-mkrescue: Recognize -output as an alias of --output.Vladimir Serbinenko1-0/+6
2015-04-29grub-mkconfig: use $pkgdatadir in scriptsAndrei Borzenkov11-10/+13
2015-04-24Remove -V in grub-mkrescue.cVladimir Serbinenko1-1/+1
2015-03-28do not emit cryptomount without crypto UUIDAndrei Borzenkov1-1/+1
2015-03-27util/mkimage: Use stable timestamp when generating binaries.Daniel Kahn Gillmor1-2/+5
2015-03-20grub-mkrescue: pass all unrecognized options unchanged to xorriso.Vladimir Serbinenko1-14/+89
2015-03-04Fix canonicalize_file_name clash.Vladimir Serbinenko10-15/+15
2015-02-28grub-probe: free temporary variableAndrei Borzenkov1-0/+1
2015-02-28grub-probe: Mark a "[default=]" for translation.Vladimir Serbinenko1-3/+5
2015-02-12util: mkimage, fix gcc5 build failureJiri Slaby1-2/+2
2015-01-30setup: fix blocklist size calculationAndrei Borzenkov1-1/+1
2015-01-30grub-fstest: fix descriptor leakAndrei Borzenkov1-1/+1