aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-06-30efi: Prefer shim image loader protocol if it existsshim-loader-protocolArd Biesheuvel2-5/+47
2023-06-30efi: Fallback to legacy mode if shim is loaded on x86 archsDaniel Kiper3-1/+31
2023-06-30efi: Drop __grub_efi_api attribute from shim_lock->verify() callDaniel Kiper1-1/+1
2023-06-23lib/relocator: Fix OOB write when initializing lo->freebytes[]Daniel Kiper1-3/+5
2023-06-23lib/relocator: Enforce GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT divisibility by 8Daniel Kiper1-0/+2
2023-06-23emu: Add SDL2 supportJulian Andres Klode5-24/+151
2023-06-23emu: SDL style fixesJulian Andres Klode2-9/+9
2023-06-23tpm: Enable boot despite unknown firmware failureMichał Grzelak4-10/+17
2023-06-23bootstrap: Fix patching warningsDaniel Kiper1-3/+3
2023-06-23efi: Add missing __grub_efi_api attributesDaniel Kiper4-59/+59
2023-06-23disk: Generalize MD_MAX_DISKS to GRUB_MDRAID_MAX_DISKSJulian Andres Klode3-12/+15
2023-06-23loongarch: Disable relaxation relocationsXiaotian Wu1-0/+23
2023-06-13loongarch: Add ELF relocation types documentation and commentsXiaotian Wu1-0/+25
2023-06-13loongarch: Rename function namesXiaotian Wu4-8/+8
2023-06-13util/grub-mkimagexx: Optimize code using pc variableXiaotian Wu1-1/+1
2023-06-13kern/{arm64,loongarch64}/dl_helper: Use the correct format specifier for form...Xiaotian Wu2-4/+4
2023-06-13kern/acpi: Use xsdt_addr if presentQiumiao Zhang1-6/+6
2023-06-13commands/acpi: Use xsdt_addr if presentQiumiao Zhang1-1/+5
2023-06-13fs/udf: Fix out of bounds accessLidong Chen1-0/+38
2023-06-13docs: Add debugging chapter to development documentationGlenn Washburn1-0/+224
2023-06-13fs/xfs: Fix issues found while fuzzing the XFS filesystemDarren Kenny1-0/+26
2023-06-13util/import_unicode.py: Ensure output is deterministicAlexander Kanavin1-1/+1
2023-06-13grub-core/genmoddep.awk: Ensure output is deterministicAlexander Kanavin1-1/+3
2023-06-13gentpl.py: Ensure output is deterministicAlexander Kanavin1-0/+1
2023-06-01gdb: Add gdbinfo command for printing the load address of the EFI applicationGlenn Washburn7-4/+100
2023-06-01loader/efi/chainloader: Do not require a $root visible to EFI firmware when c...Glenn Washburn1-15/+13
2023-06-01docs: Document extra arguments to chainloader on EFIGlenn Washburn1-2/+5
2023-06-01util/grub.d/25_bli.in: Activate bli module on EFIOliver Steffen2-0/+30
2023-06-01bli: Add a module for the Boot Loader InterfaceOliver Steffen4-0/+154
2023-06-01kern: Check for NULL when closing devices and disksOliver Steffen2-0/+7
2023-06-01docs: Reword section headingsOliver Steffen1-10/+10
2023-06-01efi: Add grub_efi_set_variable_to_string()Oliver Steffen2-0/+25
2023-06-01kern/misc, kern/efi: Extract UTF-8 to UTF-16 codeOliver Steffen3-15/+41
2023-06-01include/grub/types.h: Add GRUB_SSIZE_MAXOliver Steffen1-0/+2
2023-06-01guid: Make use of GUID printf format specifierOliver Steffen5-58/+10
2023-06-01kern/misc: Add a format specifier GUIDsOliver Steffen1-21/+60
2023-06-01guid: Unify GUID typesOliver Steffen37-148/+130
2023-06-01efi: Add grub_efi_set_variable_with_attributes()Oliver Steffen2-7/+19
2023-05-25kern/efi/mm: Fix use-after-free in finish boot servicesAlec Brown1-0/+3
2023-05-25efi: Handle NULL return value when getting loaded image protocolArd Biesheuvel1-1/+8
2023-05-25efi: Use generic EFI loader for x86_64 and i386Ard Biesheuvel4-6/+55
2023-05-25efi: Remove x86_64 call wrappersArd Biesheuvel3-203/+0
2023-05-25efi: Drop all uses of efi_call_XX() wrappersArd Biesheuvel23-170/+165
2023-05-25efi: Add calling convention annotation to all prototypesArd Biesheuvel4-371/+397
2023-05-25efi: Make EFI PXE protocol methods non-callableArd Biesheuvel1-12/+12
2023-05-25loader/multiboot_elfxx: Check program header offset doesn't exceed constraintsAlec Brown1-1/+3
2023-05-25loader/multiboot_elfxx: Check section header region before allocating memoryAlec Brown1-0/+3
2023-05-25loader/multiboot_elfxx: Check program memory isn't larger than allocated memo...Alec Brown1-4/+11
2023-05-25kern/loongarch64/dl_helper: Avoid undefined behavior when popping from an emp...WANG Xuerui1-1/+1
2023-05-25pci: Rename GRUB_PCI_CLASS_*Peter Zijlstra (Intel)7-9/+9
2023-05-25term/serial: Add support for PCI serial devicesPeter Zijlstra (Intel)6-4/+116
2023-05-17tests/util/grub-fs-tester: Avoid failing some file system tests due to file s...Glenn Washburn1-9/+1
2023-05-17docs: Command-line and menu entry commands are now separatedGlenn Washburn1-6/+5
2023-05-17lib/relocator: Always enforce the requested alignment in malloc_in_range()Roger Pau Monné1-2/+2
2023-05-17term/ns8250: Fix incorrect usage of access_sizeBenjamin Herrenschmidt2-26/+24
2023-05-17util/grub-install-common: Fix the key of the --core-compress optionÁkos Nagy1-1/+1
2023-05-17fs/hfsplus: Set grub_errno to prevent NULL pointer accessLidong Chen1-2/+8
2023-05-17fs/hfsplus: Prevent out of bound access in catalog fileLidong Chen1-0/+10
2023-05-17fs/hfsplus: Validate btree node sizeLidong Chen1-0/+7
2023-05-17INSTALL: Use exfat-utils package instead of exfatprogsGlenn Washburn1-1/+1
2023-05-17INSTALL: Document that building grub-mkfont requires xfonts-unifontGlenn Washburn1-0/+3
2023-05-17net/dns: Fix lookup error when no IPv6 is returnedRenaud Métrich1-16/+6
2023-05-17net/dns: Add debugging messages in recv_hook() functionRenaud Métrich1-0/+4
2023-05-17net/dns: Simplify error handling of recv_hook() functionRenaud Métrich1-33/+15
2023-05-17net/dns: Fix removal of DNS serverRenaud Métrich1-2/+5
2023-05-17tests: Add LoongArch to various test casesXiaotian Wu8-5/+25
2023-05-17tests: Fix timezone inconsistency in squashfs_testXiaotian Wu1-1/+1
2023-05-17loongarch: Add to build systemXiaotian Wu12-39/+113
2023-05-17loongarch: Add auxiliary filesXiaotian Wu9-3/+239
2023-05-17loongarch: Add support for ELF psABI v2.00 relocationsXiaotian Wu7-4/+193
2023-05-17loongarch: Add support for ELF psABI v1.00 relocationsXiaotian Wu7-3/+522
2023-05-17loongarch: Add early startup codeXiaotian Wu1-0/+34
2023-05-17loongarch: Add setjmp implementationXiaotian Wu3-0/+98
2023-05-17elf: Add LoongArch definitionsXiaotian Wu1-0/+23
2023-05-17pe: Add LoongArch definitionsXiaotian Wu1-16/+20
2023-05-16font: Try opening fonts from the bundled memdiskChris Coulson1-17/+31
2023-05-16net: Read bracketed IPv6 addrs and port numbersRobbie Harwood5-10/+111
2023-05-16Revert "net/http: Allow use of non-standard TCP/IP ports"Robbie Harwood2-71/+2
2023-05-16term/at_keyboard: Add timeout to fix hang on HP EliteBooksRiku Viitanen1-1/+11
2023-04-13tests/util/grub-fs-tester: Add missing redirect to /dev/nullGlenn Washburn1-1/+1
2023-04-13disk: Replace transform_sector() function with grub_disk_to_native_sector()Mukesh Kumar Chaurasiya3-11/+5
2023-04-13tests: Add test for iso9660 delayed CE hopThomas Schmitt2-0/+23
2023-04-13fs/iso9660: Delay CE hop until end of current SUSP areaThomas Schmitt1-40/+42
2023-03-29kern/ieee1275/init: Extended support in Vec5Avnish Chouhan1-6/+41
2023-03-29kern/ieee1275/init: Convert plain numbers to constants in Vec5Avnish Chouhan1-1/+7
2023-03-29loader/emu/linux: Work around systemctl kexec returningRobbie Harwood1-0/+4
2023-03-29tpm: Disable the tpm verifier if the TPM device is not presentMichael Chang4-10/+58
2023-03-29INSTALL: Document programs and packages needed for using gdb_grub scriptGlenn Washburn1-0/+6
2023-03-29RISC-V: Use common linux loaderAtish Patra2-61/+2
2023-03-29efi: Remove arch specific image headers for RISC-V, ARM64 and ARMAtish Patra9-162/+31
2023-03-29loader/efi: Move ARM64 linux loader to common codeAtish Patra2-2/+2
2023-03-14util/grub-module-verifierXX: Add module_size parameter to functions for sanit...Alec Brown1-50/+67
2023-03-14gdb: Add extra early initialization symbols for i386-pcGlenn Washburn1-0/+6
2023-03-14gdb: Modify gdb prompt when running gdb_grub scriptGlenn Washburn1-0/+4
2023-03-14gdb: Allow running user-defined commands at GRUB startGlenn Washburn1-0/+51
2023-03-14gdb: Add functions to make loading from dynamically positioned targets easierGlenn Washburn2-1/+107
2023-03-14gdb: Replace module symbol loading implementation with Python oneGlenn Washburn4-83/+87
2023-03-14gdb: Only connect to remote target once when first sourcedGlenn Washburn1-8/+11
2023-03-14gdb: Conditionally run GDB script logic for dynamically or statically positio...Glenn Washburn1-3/+16
2023-03-14gdb: Move runtime module loading into runtime_load_moduleGlenn Washburn1-7/+13
2023-03-07osdep/devmapper/getroot: Fix build error on 32-bit hostMichael Chang1-2/+2
2023-03-07commands/ieee1275/ibmvtpm: Add support for trusted boot using a vTPM 2.0Stefan Berger4-1/+167
2023-03-07commands/memtools: Add memtool module with memory allocation stress-testDaniel Axtens4-0/+163
2023-03-07ieee1275: Implement vec5 for cas negotiationDiego Domingos1-1/+20
2023-03-07ieee1275: Support runtime memory claimingDaniel Axtens2-20/+257
2023-03-07ieee1275: Drop len -= 1 quirk in heap_initDaniel Axtens1-1/+0
2023-03-07ieee1275: Request memory with ibm, client-architecture-supportDaniel Axtens3-0/+180
2023-02-28RISC-V: Handle R_RISCV_CALL_PLT relocKhem Raj2-0/+3
2023-02-28osdep/hurd/getroot: Remove unused variables in grub_util_find_hurd_root_device()John Paul Adrian Glaubitz1-2/+0
2023-02-28gdb: If no modules have been loaded, do not try to load module symbolsGlenn Washburn1-1/+3
2023-02-28gdb: Prevent wrapping when writing to .segments.tmpGlenn Washburn1-0/+4
2023-02-28gdb: Fix redirection issue in dump_module_sectionsGlenn Washburn1-10/+5
2023-02-28efi: Allow expression as func argument to efi_call_* macros on all platformsGlenn Washburn1-9/+9
2023-02-28loader/i386/linux: Correct wrong initrd address for debugJeremy Szu1-2/+2
2023-02-28INSTALL: Document that the functional test requires the package xfonts-unifontGlenn Washburn1-0/+1
2023-02-28tests: Return hard error for functional test when unicode.pf2 does not existGlenn Washburn1-0/+5
2023-02-28tests: grub_cmd_cryptomount should hard error when pre-requisites are not metGlenn Washburn1-3/+3
2023-02-28tests: Add pathological iso9660 filesystem testsGlenn Washburn3-1/+16
2023-02-14osdep/linux/hostdisk: Modify sector by sysfs as disk sectorMukesh Kumar Chaurasiya2-3/+11
2023-02-14tests/util/grub-fs-tester: Use shell variable instead of autoconfGlenn Washburn1-9/+10
2023-02-14tests/util/grub-fs-tester: Remove unused variableGlenn Washburn1-2/+0
2023-02-14net/bootp: Fix unchecked return valueAlec Brown1-1/+3
2023-02-02mm: Avoid complex heap growth math in hot pathZhang Boyang1-14/+20
2023-02-02mm: Preallocate some space when adding new regionsZhang Boyang1-0/+6
2023-02-02mm: Adjust new region size to take management overhead into accountZhang Boyang1-3/+61
2023-02-02tests/util/grub-shell: Add $GRUB_QEMU_OPTS to run.sh to easily see unofficial...Glenn Washburn1-3/+5
2023-02-02tests/util/grub-shell: Create run.sh in working directory for easily running ...Glenn Washburn1-5/+23
2023-02-02tests: Allow turning on shell tracing from environment variablesGlenn Washburn2-1/+6
2023-02-02misc: Move *printf function declarations to same locationGlenn Washburn1-2/+3
2023-02-02fs/iso9660: Prevent skipping CE or ST at start of continuation areaThomas Schmitt1-0/+16
2023-02-02fs/iso9660: Incorrect check for entry boundaryLidong Chen1-2/+15
2023-02-02fs/iso9660: Avoid reading past the entry boundaryLidong Chen1-2/+14
2023-02-02fs/iso9660: Prevent read past the end of system use areaLidong Chen1-3/+27
2023-02-02fs/iso9660: Add check to prevent infinite loopLidong Chen1-0/+22
2023-02-01grub-fs-tester: Add LUKS1 and LUKS2 supportPierre-Louis Bonicoli5-2/+115
2023-02-01osdep/devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parame...Josselin Poiret1-1/+106
2023-02-01osdep/devmapper/getroot: Have devmapper recognize LUKS2Josselin Poiret1-4/+7
2023-02-01disk/cryptodisk: When cheatmounting, use the sector info of the cheat deviceFabian Vogt1-2/+18
2023-01-19fs/f2fs: Fix off-by-one error in nat journal entries checkDaniel Axtens1-1/+1
2023-01-19gentpl.py: Remove .interp section from .img filesNicholas Vinson1-1/+1
2023-01-19tests: Add cryptomount functional testGlenn Washburn3-0/+563
2023-01-19tests/util/grub-shell: Add halt_cmd variable to testcase namespaceGlenn Washburn1-0/+2
2023-01-19tests/util/grub-shell: Trim line should always be matched from the beginning ...Glenn Washburn1-2/+2
2023-01-19tests/util/grub-shell: Allow specifying non-default trim line contentsGlenn Washburn1-5/+9
2023-01-19tests/util/grub-shell: Only cleanup working directory file if QEMU does not f...Glenn Washburn1-2/+8
2023-01-19tests/util/grub-shell: Set exit status to QEMU exit statusGlenn Washburn1-4/+17
2023-01-19io/gzio: Remove confusing, out-dated commentGlenn Washburn1-3/+4
2023-01-19efi: Fix spacingGlenn Washburn1-29/+29
2023-01-19misc: Fix spacingGlenn Washburn1-1/+1
2023-01-19misc: Spelling fixesGlenn Washburn3-3/+3
2023-01-19gdb: Unregister gdbstub_break command when unloading moduleGlenn Washburn1-0/+1
2023-01-19tests: Fix help test to reflect updated help outputGlenn Washburn1-2/+5
2023-01-19term/serial: Improve detection of duplicate serial portsBenjamin Herrenschmidt6-36/+52
2023-01-19term/serial: Avoid double lookup of serial portsBenjamin Herrenschmidt6-45/+33
2023-01-19term/serial: Replace usage of memcmp() with strncmp()Benjamin Herrenschmidt1-2/+2
2023-01-19term/serial: Add ability to specify MMIO ports via "serial" commandBenjamin Herrenschmidt2-4/+93
2023-01-19term/ns8250: Support more MMIO access sizesBenjamin Herrenschmidt3-6/+60
2023-01-19term/ns8250: Use ACPI SPCR table when available to configure serialBenjamin Herrenschmidt5-5/+117
2023-01-19term/ns8250: Add configuration parameter when adding portsBenjamin Herrenschmidt3-10/+23
2023-01-19term/ns8250: Move base clock definition to a headerBenjamin Herrenschmidt2-7/+21
2023-01-19term/ns8250: Add base support for MMIO UARTsBenjamin Herrenschmidt2-17/+74
2023-01-18acpi: Add SPCR and generic address definitionsBenjamin Herrenschmidt1-0/+51
2023-01-18kern/acpi: Export a generic grub_acpi_find_table()Benjamin Herrenschmidt2-18/+29
2023-01-10kern/fs: Fix possible integer overflow in i386-pc mode with large partitionsMaxim Fomin1-1/+1
2023-01-10commands/cmp: Only return success when both files have the same contentsGlenn Washburn2-17/+33
2023-01-10docs: Remove text about cryptodisk UUIDs no being able to use dashesGlenn Washburn1-3/+0
2023-01-10tests/util/grub-shell: Add GRUB output logfile with grub-shell --debugGlenn Washburn1-4/+8
2023-01-10templates/linux_xen: Fix detecting XSM policyMarek Marczykowski-Górecki1-0/+1
2023-01-10font: Reject fonts with negative max_char_width or max_char_heightZhang Boyang1-2/+2
2023-01-10font: Assign null_font to unknown_glyphZhang Boyang1-0/+1
2023-01-10font: Check return value of grub_malloc() in ascii_glyph_lookup()Zhang Boyang1-0/+5
2023-01-10disk/plainmount: Support plain encryption modeMaxim Fomin3-0/+543
2023-01-10util/grub-mkrescue: Search by file UUID rather than partition UUID for EFI bootPete Batard1-11/+39
2023-01-10util/grub-mkrescue: Preserve a copy of the EFI bootloaders on the ISO 9660 fi...Pete Batard1-5/+3
2023-01-10util/grub-mkrescue: Add support for FAT and NTFS on EFI bootPete Batard1-0/+5
2022-12-07util/bash-completion: Disable SC2120 shellcheck warningt.feng1-0/+1
2022-12-07util/bash-completion: Fix SC2155 shellcheck warningt.feng1-2/+4
2022-12-07util/bash-completion: Fix SC2207 shellcheck warningt.feng1-16/+24
2022-12-07util/bash-completion: Fix SC2070 shellcheck errort.feng1-1/+1
2022-12-07kern/file: Fix error handling in grub_file_open()Steve McIntyre1-0/+3
2022-12-07loader/i386/linux: Fix initrd maximum address overflowJeremy Szu1-0/+13
2022-12-07templates: Enable fwsetup on EFI platforms onlyDimitri John Ledkov1-5/+7
2022-12-07fs/xfs: Fix memory leaks in XFS modulet.feng1-2/+9
2022-12-07fs/squash4: Fix memory leaks in grub_squash_iterate_dir()t.feng1-4/+16
2022-12-07fs/iso9660: Fix memory leaks in grub_iso9660_susp_iterate()t.feng1-2/+8
2022-12-07fs/hfsplus: Fix memory leak in grub_hfsplus_btree_search()t.feng1-1/+4
2022-12-07fs/bfs: Fix memory leak in read_bfs_file()t.feng1-0/+2
2022-12-07fs/ntfs: Fix memory leaks in grub_ntfs_read_symlink()t.feng1-11/+15
2022-12-07fs/minix: Fix memory leaks in grub_minix_lookup_symlink()t.feng1-2/+4
2022-12-07fs/btrfs: Fix memory leak in find_path()t.feng1-1/+6
2022-12-07fs/affs: Fix memory leaks in grub_affs_create_node()t.feng1-8/+3
2022-12-07normal/cmdline: Fix two related integer underflowsRyan Cohen1-1/+6
2022-12-07term/i386/pc/vga_text: Prevent out-of-bounds writes to VGA text bufferRyan Cohen1-1/+2
2022-12-07loader/linux: Ensure the newc pathname is NULL-terminatedGary Lin1-8/+19
2022-12-07fs/udf: Validate length of AED in grub_udf_read_block()Jagannathan Raman1-0/+28
2022-12-07util/grub-install: Ensure a functional /dev/nvramIsmael Luceno1-0/+27
2022-12-07templates: Set defaults using var substitutionIsmael Luceno2-8/+4
2022-12-07tests: Put all generated files into working dir and use better file namesGlenn Washburn1-9/+13
2022-11-14normal/charset: Fix an integer overflow in grub_unicode_aglomerate_comb()Zhang Boyang2-0/+5
2022-11-14font: Assign null_font to glyphs in ascii_font_glyph[]Zhang Boyang1-1/+1