From 6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:29:51 +0200 Subject: Adding upstream version 2.06. Signed-off-by: Daniel Baumann --- ABOUT-NLS | 1282 + AUTHORS | 23 + BUGS | 7 + COPYING | 674 + ChangeLog | 13098 +++++ ChangeLog-2015 | 55487 +++++++++++++++++++ INSTALL | 293 + Makefile.am | 487 + Makefile.in | 13589 +++++ Makefile.util.am | 1605 + Makefile.util.def | 1385 + Makefile.utilgcry.def | 31 + NEWS | 735 + README | 26 + THANKS | 38 + TODO | 9 + acinclude.m4 | 511 + aclocal.m4 | 1818 + asm-tests/arm.S | 20 + asm-tests/i386-pc.S | 18 + asm-tests/i386.S | 4 + asm-tests/mips.S | 11 + asm-tests/powerpc.S | 8 + asm-tests/sparc64.S | 9 + autogen.sh | 103 + build-aux/compile | 347 + build-aux/config.guess | 1506 + build-aux/config.rpath | 684 + build-aux/config.sub | 1793 + build-aux/depcomp | 791 + build-aux/gitlog-to-changelog | 499 + build-aux/install-sh | 518 + build-aux/mdate-sh | 228 + build-aux/missing | 215 + build-aux/test-driver | 148 + build-aux/texinfo.tex | 11672 ++++ conf/Makefile.common | 140 + conf/Makefile.extra-dist | 160 + conf/i386-cygwin-img-ld.sc | 53 + config-util.h.in | 1584 + config.h.in | 67 + configure | 37211 +++++++++++++ configure.ac | 2170 + coreboot.cfg | 3 + docs/Makefile.am | 9 + docs/Makefile.in | 1750 + docs/autoiso.cfg | 244 + docs/fdl.texi | 452 + docs/font_char_metrics.png | Bin 0 -> 16443 bytes docs/font_char_metrics.txt | 1 + docs/grub-dev.info | 2724 + docs/grub-dev.texi | 2169 + docs/grub.cfg | 76 + docs/grub.info | 279 + docs/grub.info-1 | 7554 +++ docs/grub.info-2 | Bin 0 -> 8923 bytes docs/grub.texi | 7015 +++ docs/man/grub-bios-setup.h2m | 6 + docs/man/grub-editenv.h2m | 5 + docs/man/grub-emu.h2m | 6 + docs/man/grub-file.h2m | 2 + docs/man/grub-fstest.h2m | 4 + docs/man/grub-glue-efi.h2m | 4 + docs/man/grub-install.h2m | 6 + docs/man/grub-kbdcomp.h2m | 10 + docs/man/grub-macbless.h2m | 4 + docs/man/grub-macho2img.h2m | 4 + docs/man/grub-menulst2cfg.h2m | 4 + docs/man/grub-mkconfig.h2m | 4 + docs/man/grub-mkfont.h2m | 4 + docs/man/grub-mkimage.h2m | 6 + docs/man/grub-mklayout.h2m | 10 + docs/man/grub-mknetdir.h2m | 4 + docs/man/grub-mkpasswd-pbkdf2.h2m | 4 + docs/man/grub-mkrelpath.h2m | 4 + docs/man/grub-mkrescue.h2m | 4 + docs/man/grub-mkstandalone.h2m | 4 + docs/man/grub-mount.h2m | 2 + docs/man/grub-ofpathname.h2m | 4 + docs/man/grub-pe2elf.h2m | 4 + docs/man/grub-probe.h2m | 4 + docs/man/grub-reboot.h2m | 5 + docs/man/grub-render-label.h2m | 3 + docs/man/grub-script-check.h2m | 4 + docs/man/grub-set-default.h2m | 5 + docs/man/grub-sparc64-setup.h2m | 6 + docs/man/grub-syslinux2cfg.h2m | 4 + docs/mdate-sh | 205 + docs/osdetect.cfg | 331 + docs/stamp-1 | 4 + docs/stamp-vti | 4 + docs/texinfo.tex | 8959 +++ docs/version-dev.texi | 4 + docs/version.texi | 4 + geninit.sh | 69 + gentpl.py | 908 + grub-core/Makefile.am | 506 + grub-core/Makefile.core.am | 23794 ++++++++ grub-core/Makefile.core.def | 2529 + grub-core/Makefile.gcry.def | 157 + grub-core/Makefile.in | 47508 ++++++++++++++++ grub-core/boot/decompressor/minilib.c | 93 + grub-core/boot/decompressor/none.c | 42 + grub-core/boot/decompressor/xz.c | 60 + grub-core/boot/i386/pc/boot.S | 542 + grub-core/boot/i386/pc/cdboot.S | 173 + grub-core/boot/i386/pc/diskboot.S | 378 + grub-core/boot/i386/pc/lnxboot.S | 295 + grub-core/boot/i386/pc/lzma_decode.S | 614 + grub-core/boot/i386/pc/pxeboot.S | 42 + grub-core/boot/i386/pc/startup_raw.S | 369 + grub-core/boot/i386/qemu/boot.S | 74 + grub-core/boot/mips/loongson/fuloong2f.S | 2 + grub-core/boot/mips/loongson/fwstart.S | 756 + grub-core/boot/mips/startup_raw.S | 300 + grub-core/boot/powerpc/bootinfo.txt.in | 73 + grub-core/boot/powerpc/grub.chrp.in | 172 + grub-core/boot/sparc64/ieee1275/boot.S | 262 + grub-core/boot/sparc64/ieee1275/diskboot.S | 145 + grub-core/bus/bonito.c | 176 + grub-core/bus/cs5536.c | 381 + grub-core/bus/emu/pci.c | 78 + grub-core/bus/fdt.c | 256 + grub-core/bus/i386/ieee1275/pci.c | 42 + grub-core/bus/pci.c | 173 + grub-core/bus/spi/rk3288_spi.c | 103 + grub-core/bus/usb/ehci-fdt.c | 45 + grub-core/bus/usb/ehci-pci.c | 208 + grub-core/bus/usb/ehci.c | 1839 + grub-core/bus/usb/ohci.c | 1468 + grub-core/bus/usb/serial/common.c | 139 + grub-core/bus/usb/serial/ftdi.c | 218 + grub-core/bus/usb/serial/pl2303.c | 231 + grub-core/bus/usb/serial/usbdebug_late.c | 93 + grub-core/bus/usb/uhci.c | 871 + grub-core/bus/usb/usb.c | 346 + grub-core/bus/usb/usbhub.c | 756 + grub-core/bus/usb/usbtrans.c | 462 + grub-core/commands/acpi.c | 791 + grub-core/commands/acpihalt.c | 454 + grub-core/commands/arc/lsdev.c | 57 + grub-core/commands/blocklist.c | 160 + grub-core/commands/boot.c | 195 + grub-core/commands/boottime.c | 65 + grub-core/commands/cacheinfo.c | 62 + grub-core/commands/cat.c | 170 + grub-core/commands/cmp.c | 119 + grub-core/commands/configfile.c | 98 + grub-core/commands/date.c | 149 + grub-core/commands/echo.c | 141 + grub-core/commands/efi/efifwsetup.c | 90 + grub-core/commands/efi/fixvideo.c | 114 + grub-core/commands/efi/loadbios.c | 222 + grub-core/commands/efi/lsefi.c | 155 + grub-core/commands/efi/lsefimmap.c | 160 + grub-core/commands/efi/lsefisystab.c | 125 + grub-core/commands/efi/lssal.c | 169 + grub-core/commands/efi/smbios.c | 61 + grub-core/commands/efi/tpm.c | 241 + grub-core/commands/eval.c | 71 + grub-core/commands/extcmd.c | 141 + grub-core/commands/file.c | 694 + grub-core/commands/file32.c | 5 + grub-core/commands/file64.c | 5 + grub-core/commands/fileXX.c | 74 + grub-core/commands/gptsync.c | 266 + grub-core/commands/halt.c | 47 + grub-core/commands/hashsum.c | 334 + grub-core/commands/hdparm.c | 447 + grub-core/commands/help.c | 153 + grub-core/commands/hexdump.c | 133 + grub-core/commands/i386/cmosdump.c | 64 + grub-core/commands/i386/cmostest.c | 124 + grub-core/commands/i386/coreboot/cb_timestamps.c | 126 + grub-core/commands/i386/coreboot/cbls.c | 143 + grub-core/commands/i386/cpuid.c | 125 + grub-core/commands/i386/pc/drivemap.c | 428 + grub-core/commands/i386/pc/drivemap_int13h.S | 124 + grub-core/commands/i386/pc/halt.c | 126 + grub-core/commands/i386/pc/lsapm.c | 115 + grub-core/commands/i386/pc/play.c | 197 + grub-core/commands/i386/pc/sendkey.c | 387 + grub-core/commands/i386/pc/smbios.c | 52 + grub-core/commands/i386/rdmsr.c | 102 + grub-core/commands/i386/wrmsr.c | 94 + grub-core/commands/ieee1275/suspend.c | 51 + grub-core/commands/iorw.c | 156 + grub-core/commands/keylayouts.c | 307 + grub-core/commands/keystatus.c | 95 + grub-core/commands/legacycfg.c | 912 + grub-core/commands/loadenv.c | 470 + grub-core/commands/ls.c | 302 + grub-core/commands/lsacpi.c | 314 + grub-core/commands/lsmmap.c | 85 + grub-core/commands/lspci.c | 238 + grub-core/commands/macbless.c | 235 + grub-core/commands/memrw.c | 158 + grub-core/commands/menuentry.c | 337 + grub-core/commands/minicmd.c | 227 + grub-core/commands/mips/loongson/lsspd.c | 103 + grub-core/commands/nativedisk.c | 332 + grub-core/commands/parttool.c | 357 + grub-core/commands/password.c | 93 + grub-core/commands/password_pbkdf2.c | 209 + grub-core/commands/pcidump.c | 174 + grub-core/commands/pgp.c | 1018 + grub-core/commands/probe.c | 225 + grub-core/commands/read.c | 92 + grub-core/commands/reboot.c | 46 + grub-core/commands/regexp.c | 168 + grub-core/commands/search.c | 337 + grub-core/commands/search_file.c | 5 + grub-core/commands/search_label.c | 5 + grub-core/commands/search_uuid.c | 5 + grub-core/commands/search_wrap.c | 220 + grub-core/commands/setpci.c | 340 + grub-core/commands/sleep.c | 117 + grub-core/commands/smbios.c | 398 + grub-core/commands/syslinuxcfg.c | 217 + grub-core/commands/terminal.c | 285 + grub-core/commands/test.c | 455 + grub-core/commands/testload.c | 170 + grub-core/commands/testspeed.c | 115 + grub-core/commands/time.c | 68 + grub-core/commands/tpm.c | 95 + grub-core/commands/tr.c | 126 + grub-core/commands/true.c | 61 + grub-core/commands/usbtest.c | 227 + grub-core/commands/videoinfo.c | 262 + grub-core/commands/videotest.c | 241 + grub-core/commands/wildcard.c | 652 + grub-core/commands/xen/lsxen.c | 90 + grub-core/commands/xnu_uuid.c | 119 + grub-core/disk/AFSplitter.c | 95 + grub-core/disk/ahci.c | 1163 + grub-core/disk/arc/arcdisk.c | 325 + grub-core/disk/ata.c | 685 + grub-core/disk/cryptodisk.c | 1331 + grub-core/disk/diskfilter.c | 1351 + grub-core/disk/dmraid_nvidia.c | 196 + grub-core/disk/efi/efidisk.c | 902 + grub-core/disk/geli.c | 595 + grub-core/disk/host.c | 103 + grub-core/disk/i386/pc/biosdisk.c | 688 + grub-core/disk/ieee1275/nand.c | 242 + grub-core/disk/ieee1275/obdisk.c | 1076 + grub-core/disk/ieee1275/ofdisk.c | 741 + grub-core/disk/ldm.c | 1110 + grub-core/disk/loopback.c | 240 + grub-core/disk/luks.c | 329 + grub-core/disk/luks2.c | 791 + grub-core/disk/lvm.c | 1091 + grub-core/disk/mdraid1x_linux.c | 233 + grub-core/disk/mdraid_linux.c | 298 + grub-core/disk/mdraid_linux_be.c | 2 + grub-core/disk/memdisk.c | 116 + grub-core/disk/pata.c | 556 + grub-core/disk/raid5_recover.c | 76 + grub-core/disk/raid6_recover.c | 218 + grub-core/disk/scsi.c | 766 + grub-core/disk/uboot/ubootdisk.c | 307 + grub-core/disk/usbms.c | 660 + grub-core/disk/xen/xendisk.c | 485 + grub-core/efiemu/i386/coredetect.c | 27 + grub-core/efiemu/i386/loadcore32.c | 121 + grub-core/efiemu/i386/loadcore64.c | 138 + grub-core/efiemu/i386/nocfgtables.c | 30 + grub-core/efiemu/i386/pc/cfgtables.c | 69 + grub-core/efiemu/loadcore.c | 387 + grub-core/efiemu/loadcore32.c | 22 + grub-core/efiemu/loadcore64.c | 22 + grub-core/efiemu/loadcore_common.c | 196 + grub-core/efiemu/main.c | 328 + grub-core/efiemu/mm.c | 677 + grub-core/efiemu/pnvram.c | 269 + grub-core/efiemu/prepare.c | 169 + grub-core/efiemu/prepare32.c | 22 + grub-core/efiemu/prepare64.c | 22 + grub-core/efiemu/runtime/config.h | 36 + grub-core/efiemu/runtime/efiemu.S | 159 + grub-core/efiemu/runtime/efiemu.c | 636 + grub-core/efiemu/symbols.c | 272 + grub-core/font/font.c | 1611 + grub-core/font/font_cmd.c | 92 + grub-core/fs/affs.c | 709 + grub-core/fs/afs.c | 3 + grub-core/fs/archelp.c | 301 + grub-core/fs/bfs.c | 1117 + grub-core/fs/btrfs.c | 2216 + grub-core/fs/cbfs.c | 402 + grub-core/fs/cpio.c | 61 + grub-core/fs/cpio_be.c | 61 + grub-core/fs/cpio_common.c | 253 + grub-core/fs/exfat.c | 2 + grub-core/fs/ext2.c | 1107 + grub-core/fs/f2fs.c | 1328 + grub-core/fs/fat.c | 1329 + grub-core/fs/fshelp.c | 441 + grub-core/fs/hfs.c | 1446 + grub-core/fs/hfsplus.c | 1160 + grub-core/fs/hfspluscomp.c | 317 + grub-core/fs/iso9660.c | 1162 + grub-core/fs/jfs.c | 973 + grub-core/fs/minix.c | 758 + grub-core/fs/minix2.c | 2 + grub-core/fs/minix2_be.c | 3 + grub-core/fs/minix3.c | 2 + grub-core/fs/minix3_be.c | 3 + grub-core/fs/minix_be.c | 2 + grub-core/fs/newc.c | 73 + grub-core/fs/nilfs2.c | 1241 + grub-core/fs/ntfs.c | 1237 + grub-core/fs/ntfscomp.c | 443 + grub-core/fs/odc.c | 61 + grub-core/fs/proc.c | 203 + grub-core/fs/reiserfs.c | 1427 + grub-core/fs/romfs.c | 484 + grub-core/fs/sfs.c | 789 + grub-core/fs/squash4.c | 1042 + grub-core/fs/tar.c | 345 + grub-core/fs/udf.c | 1392 + grub-core/fs/ufs.c | 918 + grub-core/fs/ufs2.c | 3 + grub-core/fs/ufs_be.c | 2 + grub-core/fs/xfs.c | 1211 + grub-core/fs/zfs/zfs.c | 4406 ++ grub-core/fs/zfs/zfs_fletcher.c | 84 + grub-core/fs/zfs/zfs_lz4.c | 285 + grub-core/fs/zfs/zfs_lzjb.c | 93 + grub-core/fs/zfs/zfs_sha256.c | 143 + grub-core/fs/zfs/zfscrypt.c | 491 + grub-core/fs/zfs/zfsinfo.c | 441 + grub-core/gdb/cstub.c | 366 + grub-core/gdb/gdb.c | 104 + grub-core/gdb/i386/idt.c | 78 + grub-core/gdb/i386/machdep.S | 245 + grub-core/gdb/i386/signal.c | 53 + grub-core/gdb_grub.in | 85 + grub-core/genemuinit.sh | 72 + grub-core/genemuinitheader.sh | 52 + grub-core/genmod.sh.in | 103 + grub-core/genmoddep.awk | 102 + grub-core/gensyminfo.sh.in | 37 + grub-core/gensymlist.sh | 73 + grub-core/gentrigtables.c | 57 + grub-core/gettext/gettext.c | 542 + grub-core/gfxmenu/font.c | 116 + grub-core/gfxmenu/gfxmenu.c | 150 + grub-core/gfxmenu/gui_box.c | 428 + grub-core/gfxmenu/gui_canvas.c | 278 + grub-core/gfxmenu/gui_circular_progress.c | 331 + grub-core/gfxmenu/gui_image.c | 270 + grub-core/gfxmenu/gui_label.c | 277 + grub-core/gfxmenu/gui_list.c | 953 + grub-core/gfxmenu/gui_progress_bar.c | 457 + grub-core/gfxmenu/gui_string_util.c | 206 + grub-core/gfxmenu/gui_util.c | 101 + grub-core/gfxmenu/icon_manager.c | 257 + grub-core/gfxmenu/theme_loader.c | 828 + grub-core/gfxmenu/view.c | 647 + grub-core/gfxmenu/widget-box.c | 360 + grub-core/gmodule.pl.in | 30 + grub-core/hello/hello.c | 51 + grub-core/hook/datehook.c | 110 + grub-core/io/bufio.c | 214 + grub-core/io/gzio.c | 1444 + grub-core/io/lzopio.c | 546 + grub-core/io/offset.c | 112 + grub-core/io/xzio.c | 346 + grub-core/kern/acpi.c | 119 + grub-core/kern/arm/cache.S | 123 + grub-core/kern/arm/cache.c | 311 + grub-core/kern/arm/cache_armv6.S | 72 + grub-core/kern/arm/cache_armv7.S | 138 + grub-core/kern/arm/compiler-rt.S | 86 + grub-core/kern/arm/coreboot/cbtable.c | 40 + grub-core/kern/arm/coreboot/coreboot.S | 44 + grub-core/kern/arm/coreboot/dma.c | 59 + grub-core/kern/arm/coreboot/init.c | 151 + grub-core/kern/arm/coreboot/timer.c | 101 + grub-core/kern/arm/dl.c | 280 + grub-core/kern/arm/dl_helper.c | 245 + grub-core/kern/arm/efi/init.c | 77 + grub-core/kern/arm/efi/startup.S | 36 + grub-core/kern/arm/startup.S | 177 + grub-core/kern/arm/uboot/init.c | 70 + grub-core/kern/arm/uboot/uboot.S | 73 + grub-core/kern/arm64/cache.c | 63 + grub-core/kern/arm64/cache_flush.S | 55 + grub-core/kern/arm64/dl.c | 198 + grub-core/kern/arm64/dl_helper.c | 134 + grub-core/kern/arm64/efi/init.c | 63 + grub-core/kern/arm64/efi/startup.S | 39 + grub-core/kern/buffer.c | 117 + grub-core/kern/command.c | 111 + grub-core/kern/compiler-rt.c | 464 + grub-core/kern/coreboot/cbtable.c | 72 + grub-core/kern/coreboot/mmap.c | 100 + grub-core/kern/corecmd.c | 189 + grub-core/kern/device.c | 191 + grub-core/kern/disk.c | 544 + grub-core/kern/disk_common.c | 66 + grub-core/kern/dl.c | 825 + grub-core/kern/efi/acpi.c | 59 + grub-core/kern/efi/efi.c | 1017 + grub-core/kern/efi/fdt.c | 43 + grub-core/kern/efi/init.c | 149 + grub-core/kern/efi/mm.c | 691 + grub-core/kern/efi/sb.c | 188 + grub-core/kern/elf.c | 212 + grub-core/kern/elfXX.c | 207 + grub-core/kern/emu/argp_common.c | 41 + grub-core/kern/emu/cache.c | 35 + grub-core/kern/emu/cache_s.S | 15 + grub-core/kern/emu/full.c | 69 + grub-core/kern/emu/hostdisk.c | 686 + grub-core/kern/emu/hostfs.c | 200 + grub-core/kern/emu/lite.c | 47 + grub-core/kern/emu/main.c | 286 + grub-core/kern/emu/misc.c | 216 + grub-core/kern/emu/mm.c | 75 + grub-core/kern/emu/time.c | 46 + grub-core/kern/env.c | 238 + grub-core/kern/err.c | 122 + grub-core/kern/file.c | 218 + grub-core/kern/fs.c | 253 + grub-core/kern/generic/millisleep.c | 39 + grub-core/kern/generic/rtc_get_time_ms.c | 38 + grub-core/kern/i386/coreboot/cbtable.c | 44 + grub-core/kern/i386/coreboot/init.c | 143 + grub-core/kern/i386/coreboot/startup.S | 62 + grub-core/kern/i386/dl.c | 81 + grub-core/kern/i386/efi/init.c | 48 + grub-core/kern/i386/efi/startup.S | 36 + grub-core/kern/i386/efi/tsc.c | 40 + grub-core/kern/i386/ieee1275/startup.S | 40 + grub-core/kern/i386/int.S | 134 + grub-core/kern/i386/multiboot_mmap.c | 73 + grub-core/kern/i386/pc/acpi.c | 83 + grub-core/kern/i386/pc/init.c | 271 + grub-core/kern/i386/pc/mmap.c | 193 + grub-core/kern/i386/pc/startup.S | 217 + grub-core/kern/i386/qemu/init.c | 276 + grub-core/kern/i386/qemu/mmap.c | 107 + grub-core/kern/i386/qemu/startup.S | 75 + grub-core/kern/i386/realmode.S | 281 + grub-core/kern/i386/tsc.c | 78 + grub-core/kern/i386/tsc_pit.c | 84 + grub-core/kern/i386/tsc_pmtimer.c | 88 + grub-core/kern/i386/xen/hypercall.S | 43 + grub-core/kern/i386/xen/pvh.c | 369 + grub-core/kern/i386/xen/startup.S | 38 + grub-core/kern/i386/xen/startup_pvh.S | 81 + grub-core/kern/i386/xen/tsc.c | 40 + grub-core/kern/ia64/cache.c | 35 + grub-core/kern/ia64/dl.c | 150 + grub-core/kern/ia64/dl_helper.c | 241 + grub-core/kern/ia64/efi/init.c | 80 + grub-core/kern/ia64/efi/startup.S | 44 + grub-core/kern/ieee1275/cmain.c | 220 + grub-core/kern/ieee1275/ieee1275.c | 809 + grub-core/kern/ieee1275/init.c | 322 + grub-core/kern/ieee1275/mmap.c | 83 + grub-core/kern/ieee1275/openfw.c | 593 + grub-core/kern/list.c | 55 + grub-core/kern/lockdown.c | 84 + grub-core/kern/main.c | 316 + grub-core/kern/mips/arc/init.c | 463 + grub-core/kern/mips/cache.S | 70 + grub-core/kern/mips/cache_flush.S | 54 + grub-core/kern/mips/dl.c | 274 + grub-core/kern/mips/init.c | 38 + grub-core/kern/mips/loongson/init.c | 320 + grub-core/kern/mips/qemu_mips/init.c | 105 + grub-core/kern/mips/startup.S | 126 + grub-core/kern/misc.c | 1267 + grub-core/kern/mm.c | 664 + grub-core/kern/parser.c | 342 + grub-core/kern/partition.c | 279 + grub-core/kern/powerpc/cache.S | 26 + grub-core/kern/powerpc/cache_flush.S | 43 + grub-core/kern/powerpc/compiler-rt.S | 130 + grub-core/kern/powerpc/dl.c | 169 + grub-core/kern/powerpc/ieee1275/startup.S | 67 + grub-core/kern/rescue_parser.c | 84 + grub-core/kern/rescue_reader.c | 98 + grub-core/kern/riscv/cache.c | 63 + grub-core/kern/riscv/cache_flush.S | 44 + grub-core/kern/riscv/dl.c | 345 + grub-core/kern/riscv/efi/init.c | 79 + grub-core/kern/riscv/efi/startup.S | 48 + grub-core/kern/sparc64/cache.S | 41 + grub-core/kern/sparc64/dl.c | 191 + grub-core/kern/sparc64/ieee1275/crt0.S | 104 + grub-core/kern/sparc64/ieee1275/ieee1275.c | 147 + grub-core/kern/term.c | 169 + grub-core/kern/time.c | 37 + grub-core/kern/uboot/hw.c | 112 + grub-core/kern/uboot/init.c | 172 + grub-core/kern/uboot/uboot.c | 307 + grub-core/kern/verifiers.c | 228 + grub-core/kern/vga_init.c | 128 + grub-core/kern/x86_64/dl.c | 121 + grub-core/kern/x86_64/efi/callwrap.S | 129 + grub-core/kern/x86_64/efi/startup.S | 35 + grub-core/kern/x86_64/xen/hypercall.S | 53 + grub-core/kern/x86_64/xen/startup.S | 39 + grub-core/kern/xen/init.c | 601 + grub-core/lib/LzFind.c | 777 + grub-core/lib/LzmaDec.c | 1037 + grub-core/lib/LzmaEnc.c | 2250 + grub-core/lib/adler32.c | 102 + grub-core/lib/arc/datetime.c | 48 + grub-core/lib/arg.c | 492 + grub-core/lib/arm/setjmp.S | 53 + grub-core/lib/arm64/setjmp.S | 56 + grub-core/lib/backtrace.c | 70 + grub-core/lib/cmdline.c | 109 + grub-core/lib/cmos_datetime.c | 194 + grub-core/lib/crc.c | 76 + grub-core/lib/crc64.c | 114 + grub-core/lib/crypto.c | 493 + grub-core/lib/datetime.c | 117 + grub-core/lib/disk.c | 161 + grub-core/lib/division.c | 74 + grub-core/lib/dummy/datetime.c | 40 + grub-core/lib/dummy/halt.c | 32 + grub-core/lib/dummy/reboot.c | 32 + grub-core/lib/efi/datetime.c | 82 + grub-core/lib/efi/halt.c | 41 + grub-core/lib/efi/relocator.c | 119 + grub-core/lib/emu/halt.c | 25 + grub-core/lib/envblk.c | 297 + grub-core/lib/fake_module.c | 4 + grub-core/lib/fdt.c | 531 + grub-core/lib/getline.c | 92 + grub-core/lib/gnulib-patches/fix-base64.patch | 21 + grub-core/lib/gnulib-patches/fix-null-deref.patch | 13 + .../lib/gnulib-patches/fix-null-state-deref.patch | 12 + .../gnulib-patches/fix-regcomp-uninit-token.patch | 15 + .../gnulib-patches/fix-regexec-null-deref.patch | 12 + .../lib/gnulib-patches/fix-uninit-structure.patch | 11 + .../lib/gnulib-patches/fix-unused-value.patch | 14 + grub-core/lib/gnulib-patches/fix-width.patch | 217 + grub-core/lib/gnulib-patches/no-abort.patch | 26 + grub-core/lib/gnulib/Makefile.am | 2221 + grub-core/lib/gnulib/Makefile.in | 3071 + grub-core/lib/gnulib/_Noreturn.h | 14 + grub-core/lib/gnulib/alloca.c | 478 + grub-core/lib/gnulib/alloca.in.h | 65 + grub-core/lib/gnulib/arg-nonnull.h | 26 + grub-core/lib/gnulib/argp-ba.c | 34 + grub-core/lib/gnulib/argp-eexst.c | 30 + grub-core/lib/gnulib/argp-fmtstream.c | 488 + grub-core/lib/gnulib/argp-fmtstream.h | 310 + grub-core/lib/gnulib/argp-fs-xinl.c | 46 + grub-core/lib/gnulib/argp-help.c | 1912 + grub-core/lib/gnulib/argp-namefrob.h | 157 + grub-core/lib/gnulib/argp-parse.c | 957 + grub-core/lib/gnulib/argp-pin.c | 33 + grub-core/lib/gnulib/argp-pv.c | 33 + grub-core/lib/gnulib/argp-pvh.c | 30 + grub-core/lib/gnulib/argp-xinl.c | 46 + grub-core/lib/gnulib/argp.h | 631 + grub-core/lib/gnulib/asnprintf.c | 34 + grub-core/lib/gnulib/assure.h | 37 + grub-core/lib/gnulib/base64.c | 605 + grub-core/lib/gnulib/base64.h | 74 + grub-core/lib/gnulib/basename-lgpl.c | 75 + grub-core/lib/gnulib/btowc.c | 39 + grub-core/lib/gnulib/c++defs.h | 316 + grub-core/lib/gnulib/cdefs.h | 514 + grub-core/lib/gnulib/chdir-long.c | 264 + grub-core/lib/gnulib/chdir-long.h | 30 + grub-core/lib/gnulib/cloexec.c | 83 + grub-core/lib/gnulib/cloexec.h | 38 + grub-core/lib/gnulib/close.c | 71 + grub-core/lib/gnulib/dirent.in.h | 267 + grub-core/lib/gnulib/dirfd.c | 98 + grub-core/lib/gnulib/dirname-lgpl.c | 86 + grub-core/lib/gnulib/dirname.h | 54 + grub-core/lib/gnulib/dosname.h | 52 + grub-core/lib/gnulib/dup-safer-flag.c | 38 + grub-core/lib/gnulib/dup-safer.c | 34 + grub-core/lib/gnulib/dup2.c | 235 + grub-core/lib/gnulib/errno.in.h | 279 + grub-core/lib/gnulib/error.c | 411 + grub-core/lib/gnulib/error.h | 75 + grub-core/lib/gnulib/exitfail.c | 24 + grub-core/lib/gnulib/exitfail.h | 18 + grub-core/lib/gnulib/fchdir.c | 208 + grub-core/lib/gnulib/fcntl.c | 626 + grub-core/lib/gnulib/fcntl.in.h | 366 + grub-core/lib/gnulib/fd-hook.c | 116 + grub-core/lib/gnulib/fd-hook.h | 119 + grub-core/lib/gnulib/fd-safer-flag.c | 52 + grub-core/lib/gnulib/fd-safer.c | 49 + grub-core/lib/gnulib/filename.h | 54 + grub-core/lib/gnulib/filenamecat-lgpl.c | 87 + grub-core/lib/gnulib/filenamecat.h | 27 + grub-core/lib/gnulib/flexmember.h | 45 + grub-core/lib/gnulib/float+.h | 147 + grub-core/lib/gnulib/float.c | 33 + grub-core/lib/gnulib/float.in.h | 188 + grub-core/lib/gnulib/fnmatch.c | 356 + grub-core/lib/gnulib/fnmatch.in.h | 110 + grub-core/lib/gnulib/fnmatch_loop.c | 1217 + grub-core/lib/gnulib/fstat.c | 90 + grub-core/lib/gnulib/getcwd-lgpl.c | 126 + grub-core/lib/gnulib/getdelim.c | 147 + grub-core/lib/gnulib/getdtablesize.c | 124 + grub-core/lib/gnulib/getline.c | 27 + grub-core/lib/gnulib/getopt-cdefs.in.h | 67 + grub-core/lib/gnulib/getopt-core.h | 96 + grub-core/lib/gnulib/getopt-ext.h | 77 + grub-core/lib/gnulib/getopt-pfx-core.h | 59 + grub-core/lib/gnulib/getopt-pfx-ext.h | 71 + grub-core/lib/gnulib/getopt.c | 811 + grub-core/lib/gnulib/getopt.in.h | 61 + grub-core/lib/gnulib/getopt1.c | 159 + grub-core/lib/gnulib/getopt_int.h | 118 + grub-core/lib/gnulib/getprogname.c | 255 + grub-core/lib/gnulib/getprogname.h | 40 + grub-core/lib/gnulib/gettext.h | 294 + grub-core/lib/gnulib/glthread/lock.c | 1221 + grub-core/lib/gnulib/glthread/lock.h | 988 + grub-core/lib/gnulib/glthread/threadlib.c | 73 + grub-core/lib/gnulib/hard-locale.c | 72 + grub-core/lib/gnulib/hard-locale.h | 25 + grub-core/lib/gnulib/intprops.h | 455 + grub-core/lib/gnulib/itold.c | 28 + grub-core/lib/gnulib/langinfo.in.h | 222 + grub-core/lib/gnulib/libc-config.h | 174 + grub-core/lib/gnulib/limits.in.h | 104 + grub-core/lib/gnulib/localcharset.c | 996 + grub-core/lib/gnulib/localcharset.h | 134 + grub-core/lib/gnulib/locale.in.h | 272 + grub-core/lib/gnulib/localeconv.c | 103 + grub-core/lib/gnulib/malloc.c | 56 + grub-core/lib/gnulib/malloca.c | 105 + grub-core/lib/gnulib/malloca.h | 127 + grub-core/lib/gnulib/mbrtowc.c | 458 + grub-core/lib/gnulib/mbsinit.c | 73 + grub-core/lib/gnulib/mbsrtowcs-impl.h | 122 + grub-core/lib/gnulib/mbsrtowcs-state.c | 37 + grub-core/lib/gnulib/mbsrtowcs.c | 32 + grub-core/lib/gnulib/mbswidth.c | 208 + grub-core/lib/gnulib/mbswidth.h | 64 + grub-core/lib/gnulib/mbtowc-impl.h | 44 + grub-core/lib/gnulib/mbtowc.c | 26 + grub-core/lib/gnulib/memchr.c | 172 + grub-core/lib/gnulib/memchr.valgrind | 14 + grub-core/lib/gnulib/mempcpy.c | 28 + grub-core/lib/gnulib/memrchr.c | 161 + grub-core/lib/gnulib/msvc-inval.c | 129 + grub-core/lib/gnulib/msvc-inval.h | 222 + grub-core/lib/gnulib/msvc-nothrow.c | 51 + grub-core/lib/gnulib/msvc-nothrow.h | 43 + grub-core/lib/gnulib/nl_langinfo.c | 366 + grub-core/lib/gnulib/open.c | 208 + grub-core/lib/gnulib/openat-die.c | 62 + grub-core/lib/gnulib/openat-priv.h | 64 + grub-core/lib/gnulib/openat-proc.c | 134 + grub-core/lib/gnulib/openat.c | 314 + grub-core/lib/gnulib/openat.h | 123 + grub-core/lib/gnulib/pathmax.h | 83 + grub-core/lib/gnulib/pipe-safer.c | 56 + grub-core/lib/gnulib/printf-args.c | 187 + grub-core/lib/gnulib/printf-args.h | 158 + grub-core/lib/gnulib/printf-parse.c | 638 + grub-core/lib/gnulib/printf-parse.h | 193 + grub-core/lib/gnulib/progname.c | 92 + grub-core/lib/gnulib/progname.h | 62 + grub-core/lib/gnulib/rawmemchr.c | 136 + grub-core/lib/gnulib/rawmemchr.valgrind | 12 + grub-core/lib/gnulib/realloc.c | 79 + grub-core/lib/gnulib/regcomp.c | 3930 ++ grub-core/lib/gnulib/regex.c | 81 + grub-core/lib/gnulib/regex.h | 658 + grub-core/lib/gnulib/regex_internal.c | 1746 + grub-core/lib/gnulib/regex_internal.h | 874 + grub-core/lib/gnulib/regexec.c | 4341 ++ grub-core/lib/gnulib/save-cwd.c | 97 + grub-core/lib/gnulib/save-cwd.h | 34 + grub-core/lib/gnulib/size_max.h | 30 + grub-core/lib/gnulib/sleep.c | 76 + grub-core/lib/gnulib/stat-time.c | 3 + grub-core/lib/gnulib/stat-time.h | 252 + grub-core/lib/gnulib/stat-w32.c | 425 + grub-core/lib/gnulib/stat-w32.h | 37 + grub-core/lib/gnulib/stat.c | 429 + grub-core/lib/gnulib/stdalign.in.h | 121 + grub-core/lib/gnulib/stdbool.in.h | 132 + grub-core/lib/gnulib/stddef.in.h | 114 + grub-core/lib/gnulib/stdint.in.h | 726 + grub-core/lib/gnulib/stdio.in.h | 1377 + grub-core/lib/gnulib/stdlib.in.h | 1013 + grub-core/lib/gnulib/strcasecmp.c | 62 + grub-core/lib/gnulib/strchrnul.c | 142 + grub-core/lib/gnulib/strchrnul.valgrind | 12 + grub-core/lib/gnulib/strdup.c | 54 + grub-core/lib/gnulib/streq.h | 176 + grub-core/lib/gnulib/strerror-override.c | 302 + grub-core/lib/gnulib/strerror-override.h | 56 + grub-core/lib/gnulib/strerror.c | 71 + grub-core/lib/gnulib/string.in.h | 1063 + grub-core/lib/gnulib/strings.in.h | 122 + grub-core/lib/gnulib/stripslash.c | 45 + grub-core/lib/gnulib/strncasecmp.c | 62 + grub-core/lib/gnulib/strndup.c | 36 + grub-core/lib/gnulib/strnlen.c | 30 + grub-core/lib/gnulib/strnlen1.c | 35 + grub-core/lib/gnulib/strnlen1.h | 40 + grub-core/lib/gnulib/sys_stat.in.h | 816 + grub-core/lib/gnulib/sys_types.in.h | 106 + grub-core/lib/gnulib/sysexits.in.h | 72 + grub-core/lib/gnulib/time.in.h | 350 + grub-core/lib/gnulib/unistd--.h | 32 + grub-core/lib/gnulib/unistd-safer.h | 31 + grub-core/lib/gnulib/unistd.c | 4 + grub-core/lib/gnulib/unistd.in.h | 1668 + grub-core/lib/gnulib/unitypes.in.h | 46 + grub-core/lib/gnulib/uniwidth.in.h | 72 + grub-core/lib/gnulib/uniwidth/cjk.h | 37 + grub-core/lib/gnulib/uniwidth/width.c | 468 + grub-core/lib/gnulib/vasnprintf.c | 5621 ++ grub-core/lib/gnulib/vasnprintf.h | 79 + grub-core/lib/gnulib/verify.h | 285 + grub-core/lib/gnulib/vsnprintf.c | 70 + grub-core/lib/gnulib/warn-on-use.h | 131 + grub-core/lib/gnulib/wchar.in.h | 1072 + grub-core/lib/gnulib/wcrtomb.c | 53 + grub-core/lib/gnulib/wctype-h.c | 4 + grub-core/lib/gnulib/wctype.in.h | 533 + grub-core/lib/gnulib/wcwidth.c | 73 + grub-core/lib/gnulib/xalloc-oversized.h | 60 + grub-core/lib/gnulib/xsize.c | 3 + grub-core/lib/gnulib/xsize.h | 117 + grub-core/lib/hexdump.c | 85 + grub-core/lib/i386/backtrace.c | 66 + grub-core/lib/i386/halt.c | 82 + grub-core/lib/i386/pc/biosnum.c | 47 + grub-core/lib/i386/pc/vesa_modes_table.c | 127 + grub-core/lib/i386/random.c | 103 + grub-core/lib/i386/reboot.c | 64 + grub-core/lib/i386/reboot_trampoline.S | 34 + grub-core/lib/i386/relocator.c | 210 + grub-core/lib/i386/relocator16.S | 341 + grub-core/lib/i386/relocator32.S | 134 + grub-core/lib/i386/relocator64.S | 210 + grub-core/lib/i386/relocator_asm.S | 80 + grub-core/lib/i386/relocator_common.S | 111 + grub-core/lib/i386/relocator_common_c.c | 109 + grub-core/lib/i386/setjmp.S | 59 + grub-core/lib/i386/xen/relocator.S | 165 + grub-core/lib/ia64/longjmp.S | 162 + grub-core/lib/ia64/setjmp.S | 177 + grub-core/lib/ieee1275/cmos.c | 77 + grub-core/lib/ieee1275/datetime.c | 156 + grub-core/lib/ieee1275/halt.c | 33 + grub-core/lib/ieee1275/reboot.c | 27 + grub-core/lib/ieee1275/relocator.c | 114 + grub-core/lib/json/jsmn.h | 471 + grub-core/lib/json/json.c | 264 + grub-core/lib/json/json.h | 128 + grub-core/lib/legacy_parse.c | 875 + grub-core/lib/libgcrypt-grub/cipher/ChangeLog | 4357 ++ grub-core/lib/libgcrypt-grub/cipher/arcfour.c | 143 + grub-core/lib/libgcrypt-grub/cipher/bithelp.h | 57 + grub-core/lib/libgcrypt-grub/cipher/blowfish.c | 592 + grub-core/lib/libgcrypt-grub/cipher/bufhelp.h | 435 + .../lib/libgcrypt-grub/cipher/camellia-glue.c | 211 + grub-core/lib/libgcrypt-grub/cipher/camellia.c | 1463 + grub-core/lib/libgcrypt-grub/cipher/camellia.h | 94 + grub-core/lib/libgcrypt-grub/cipher/cast5.c | 590 + grub-core/lib/libgcrypt-grub/cipher/cipher.h | 2 + grub-core/lib/libgcrypt-grub/cipher/crc.c | 826 + grub-core/lib/libgcrypt-grub/cipher/crypto.lst | 45 + grub-core/lib/libgcrypt-grub/cipher/des.c | 929 + grub-core/lib/libgcrypt-grub/cipher/dsa.c | 292 + grub-core/lib/libgcrypt-grub/cipher/g10lib.h | 1 + grub-core/lib/libgcrypt-grub/cipher/hash-common.h | 36 + grub-core/lib/libgcrypt-grub/cipher/idea.c | 322 + grub-core/lib/libgcrypt-grub/cipher/init.c | 91 + grub-core/lib/libgcrypt-grub/cipher/md4.c | 344 + grub-core/lib/libgcrypt-grub/cipher/md5.c | 372 + grub-core/lib/libgcrypt-grub/cipher/memory.h | 1 + grub-core/lib/libgcrypt-grub/cipher/rfc2268.c | 285 + .../lib/libgcrypt-grub/cipher/rijndael-tables.h | 1689 + grub-core/lib/libgcrypt-grub/cipher/rijndael.c | 1478 + grub-core/lib/libgcrypt-grub/cipher/rmd.h | 39 + grub-core/lib/libgcrypt-grub/cipher/rmd160.c | 565 + grub-core/lib/libgcrypt-grub/cipher/rsa.c | 395 + grub-core/lib/libgcrypt-grub/cipher/seed.c | 461 + grub-core/lib/libgcrypt-grub/cipher/serpent.c | 903 + grub-core/lib/libgcrypt-grub/cipher/sha1.c | 419 + grub-core/lib/libgcrypt-grub/cipher/sha256.c | 463 + grub-core/lib/libgcrypt-grub/cipher/sha512.c | 525 + grub-core/lib/libgcrypt-grub/cipher/tiger.c | 944 + grub-core/lib/libgcrypt-grub/cipher/twofish.c | 1001 + grub-core/lib/libgcrypt-grub/cipher/types.h | 2 + grub-core/lib/libgcrypt-grub/cipher/whirlpool.c | 1422 + grub-core/lib/libgcrypt-grub/mpi/generic/Manifest | 29 + grub-core/lib/libgcrypt-grub/mpi/generic/distfiles | 11 + .../lib/libgcrypt-grub/mpi/generic/mpi-asm-defs.h | 10 + .../lib/libgcrypt-grub/mpi/generic/mpih-add1.c | 65 + .../lib/libgcrypt-grub/mpi/generic/mpih-lshift.c | 68 + .../lib/libgcrypt-grub/mpi/generic/mpih-mul1.c | 62 + .../lib/libgcrypt-grub/mpi/generic/mpih-mul2.c | 68 + .../lib/libgcrypt-grub/mpi/generic/mpih-mul3.c | 68 + .../lib/libgcrypt-grub/mpi/generic/mpih-rshift.c | 67 + .../lib/libgcrypt-grub/mpi/generic/mpih-sub1.c | 66 + .../lib/libgcrypt-grub/mpi/generic/udiv-w-sdiv.c | 133 + grub-core/lib/libgcrypt-grub/mpi/longlong.h | 1615 + grub-core/lib/libgcrypt-grub/mpi/mpi-add.c | 237 + grub-core/lib/libgcrypt-grub/mpi/mpi-asm-defs.h | 10 + grub-core/lib/libgcrypt-grub/mpi/mpi-bit.c | 366 + grub-core/lib/libgcrypt-grub/mpi/mpi-cmp.c | 109 + grub-core/lib/libgcrypt-grub/mpi/mpi-div.c | 357 + grub-core/lib/libgcrypt-grub/mpi/mpi-gcd.c | 53 + grub-core/lib/libgcrypt-grub/mpi/mpi-inline.c | 37 + grub-core/lib/libgcrypt-grub/mpi/mpi-inline.h | 163 + grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h | 279 + grub-core/lib/libgcrypt-grub/mpi/mpi-inv.c | 269 + grub-core/lib/libgcrypt-grub/mpi/mpi-mod.c | 186 + grub-core/lib/libgcrypt-grub/mpi/mpi-mpow.c | 225 + grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c | 214 + grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c | 340 + grub-core/lib/libgcrypt-grub/mpi/mpicoder.c | 755 + grub-core/lib/libgcrypt-grub/mpi/mpih-add1.c | 65 + grub-core/lib/libgcrypt-grub/mpi/mpih-div.c | 536 + grub-core/lib/libgcrypt-grub/mpi/mpih-lshift.c | 68 + grub-core/lib/libgcrypt-grub/mpi/mpih-mul.c | 530 + grub-core/lib/libgcrypt-grub/mpi/mpih-mul1.c | 62 + grub-core/lib/libgcrypt-grub/mpi/mpih-mul2.c | 68 + grub-core/lib/libgcrypt-grub/mpi/mpih-mul3.c | 68 + grub-core/lib/libgcrypt-grub/mpi/mpih-rshift.c | 67 + grub-core/lib/libgcrypt-grub/mpi/mpih-sub1.c | 66 + grub-core/lib/libgcrypt-grub/mpi/mpiutil.c | 435 + grub-core/lib/libgcrypt-grub/src/ath.h | 147 + grub-core/lib/libgcrypt-grub/src/cipher-proto.h | 124 + grub-core/lib/libgcrypt-grub/src/cipher.h | 182 + grub-core/lib/libgcrypt-grub/src/g10lib.h | 302 + grub-core/lib/libgcrypt-grub/src/gcrypt-module.h | 0 grub-core/lib/libgcrypt-grub/src/hmac256.h | 36 + grub-core/lib/libgcrypt-grub/src/mpi.h | 266 + grub-core/lib/libgcrypt-grub/src/secmem.h | 39 + grub-core/lib/libgcrypt-grub/src/stdmem.h | 32 + grub-core/lib/libgcrypt-grub/src/types.h | 128 + grub-core/lib/libgcrypt-grub/src/visibility.h | 1 + grub-core/lib/libgcrypt/cipher/ChangeLog | 3990 ++ grub-core/lib/libgcrypt/cipher/ChangeLog-2011 | 4247 ++ grub-core/lib/libgcrypt/cipher/Makefile.am | 83 + grub-core/lib/libgcrypt/cipher/Manifest | 73 + grub-core/lib/libgcrypt/cipher/ac.c | 3301 ++ grub-core/lib/libgcrypt/cipher/arcfour.c | 155 + grub-core/lib/libgcrypt/cipher/bithelp.h | 54 + grub-core/lib/libgcrypt/cipher/blowfish.c | 605 + grub-core/lib/libgcrypt/cipher/bufhelp.h | 432 + grub-core/lib/libgcrypt/cipher/camellia-glue.c | 253 + grub-core/lib/libgcrypt/cipher/camellia.c | 1461 + grub-core/lib/libgcrypt/cipher/camellia.h | 81 + grub-core/lib/libgcrypt/cipher/cast5.c | 620 + grub-core/lib/libgcrypt/cipher/cipher.c | 2217 + grub-core/lib/libgcrypt/cipher/crc.c | 793 + grub-core/lib/libgcrypt/cipher/des.c | 1196 + grub-core/lib/libgcrypt/cipher/dsa.c | 1193 + grub-core/lib/libgcrypt/cipher/ecc.c | 1793 + grub-core/lib/libgcrypt/cipher/elgamal.c | 845 + grub-core/lib/libgcrypt/cipher/hash-common.c | 93 + grub-core/lib/libgcrypt/cipher/hash-common.h | 33 + grub-core/lib/libgcrypt/cipher/hmac-tests.c | 732 + grub-core/lib/libgcrypt/cipher/idea.c | 378 + grub-core/lib/libgcrypt/cipher/kdf.c | 278 + grub-core/lib/libgcrypt/cipher/md.c | 1383 + grub-core/lib/libgcrypt/cipher/md4.c | 327 + grub-core/lib/libgcrypt/cipher/md5.c | 355 + grub-core/lib/libgcrypt/cipher/primegen.c | 1861 + grub-core/lib/libgcrypt/cipher/pubkey.c | 4212 ++ grub-core/lib/libgcrypt/cipher/rfc2268.c | 344 + grub-core/lib/libgcrypt/cipher/rijndael-tables.h | 1686 + grub-core/lib/libgcrypt/cipher/rijndael.c | 2092 + grub-core/lib/libgcrypt/cipher/rmd.h | 36 + grub-core/lib/libgcrypt/cipher/rmd160.c | 572 + grub-core/lib/libgcrypt/cipher/rsa.c | 1390 + grub-core/lib/libgcrypt/cipher/seed.c | 478 + grub-core/lib/libgcrypt/cipher/serpent.c | 953 + grub-core/lib/libgcrypt/cipher/sha1.c | 477 + grub-core/lib/libgcrypt/cipher/sha256.c | 554 + grub-core/lib/libgcrypt/cipher/sha512.c | 629 + grub-core/lib/libgcrypt/cipher/test-getrusage.c | 105 + grub-core/lib/libgcrypt/cipher/tiger.c | 911 + grub-core/lib/libgcrypt/cipher/twofish.c | 1040 + grub-core/lib/libgcrypt/cipher/whirlpool.c | 1405 + grub-core/lib/libgcrypt/mpi/ChangeLog-2011 | 822 + grub-core/lib/libgcrypt/mpi/Makefile.am | 177 + grub-core/lib/libgcrypt/mpi/Manifest | 41 + grub-core/lib/libgcrypt/mpi/alpha/README | 53 + grub-core/lib/libgcrypt/mpi/alpha/distfiles | 11 + grub-core/lib/libgcrypt/mpi/alpha/mpih-add1.S | 124 + grub-core/lib/libgcrypt/mpi/alpha/mpih-lshift.S | 122 + grub-core/lib/libgcrypt/mpi/alpha/mpih-mul1.S | 90 + grub-core/lib/libgcrypt/mpi/alpha/mpih-mul2.S | 97 + grub-core/lib/libgcrypt/mpi/alpha/mpih-mul3.S | 95 + grub-core/lib/libgcrypt/mpi/alpha/mpih-rshift.S | 118 + grub-core/lib/libgcrypt/mpi/alpha/mpih-sub1.S | 124 + grub-core/lib/libgcrypt/mpi/alpha/udiv-qrnnd.S | 159 + grub-core/lib/libgcrypt/mpi/amd64/distfiles | 8 + grub-core/lib/libgcrypt/mpi/amd64/mpi-asm-defs.h | 4 + grub-core/lib/libgcrypt/mpi/amd64/mpih-add1.S | 63 + grub-core/lib/libgcrypt/mpi/amd64/mpih-lshift.S | 77 + grub-core/lib/libgcrypt/mpi/amd64/mpih-mul1.S | 65 + grub-core/lib/libgcrypt/mpi/amd64/mpih-mul2.S | 107 + grub-core/lib/libgcrypt/mpi/amd64/mpih-mul3.S | 66 + grub-core/lib/libgcrypt/mpi/amd64/mpih-rshift.S | 80 + grub-core/lib/libgcrypt/mpi/amd64/mpih-sub1.S | 61 + grub-core/lib/libgcrypt/mpi/config.links | 360 + grub-core/lib/libgcrypt/mpi/ec.c | 721 + grub-core/lib/libgcrypt/mpi/generic/Manifest | 29 + grub-core/lib/libgcrypt/mpi/generic/distfiles | 11 + grub-core/lib/libgcrypt/mpi/generic/mpi-asm-defs.h | 10 + grub-core/lib/libgcrypt/mpi/generic/mpih-add1.c | 65 + grub-core/lib/libgcrypt/mpi/generic/mpih-lshift.c | 68 + grub-core/lib/libgcrypt/mpi/generic/mpih-mul1.c | 62 + grub-core/lib/libgcrypt/mpi/generic/mpih-mul2.c | 68 + grub-core/lib/libgcrypt/mpi/generic/mpih-mul3.c | 68 + grub-core/lib/libgcrypt/mpi/generic/mpih-rshift.c | 67 + grub-core/lib/libgcrypt/mpi/generic/mpih-sub1.c | 66 + grub-core/lib/libgcrypt/mpi/generic/udiv-w-sdiv.c | 133 + grub-core/lib/libgcrypt/mpi/hppa/README | 84 + grub-core/lib/libgcrypt/mpi/hppa/distfiles | 7 + grub-core/lib/libgcrypt/mpi/hppa/mpih-add1.S | 70 + grub-core/lib/libgcrypt/mpi/hppa/mpih-lshift.S | 77 + grub-core/lib/libgcrypt/mpi/hppa/mpih-rshift.S | 73 + grub-core/lib/libgcrypt/mpi/hppa/mpih-sub1.S | 78 + grub-core/lib/libgcrypt/mpi/hppa/udiv-qrnnd.S | 297 + grub-core/lib/libgcrypt/mpi/i386/Manifest | 28 + grub-core/lib/libgcrypt/mpi/i386/distfiles | 10 + grub-core/lib/libgcrypt/mpi/i386/mpih-add1.S | 116 + grub-core/lib/libgcrypt/mpi/i386/mpih-lshift.S | 94 + grub-core/lib/libgcrypt/mpi/i386/mpih-mul1.S | 84 + grub-core/lib/libgcrypt/mpi/i386/mpih-mul2.S | 86 + grub-core/lib/libgcrypt/mpi/i386/mpih-mul3.S | 86 + grub-core/lib/libgcrypt/mpi/i386/mpih-rshift.S | 97 + grub-core/lib/libgcrypt/mpi/i386/mpih-sub1.S | 117 + grub-core/lib/libgcrypt/mpi/i386/syntax.h | 68 + grub-core/lib/libgcrypt/mpi/i586/Manifest | 27 + grub-core/lib/libgcrypt/mpi/i586/README | 26 + grub-core/lib/libgcrypt/mpi/i586/distfiles | 10 + grub-core/lib/libgcrypt/mpi/i586/mpih-add1.S | 135 + grub-core/lib/libgcrypt/mpi/i586/mpih-lshift.S | 229 + grub-core/lib/libgcrypt/mpi/i586/mpih-mul1.S | 89 + grub-core/lib/libgcrypt/mpi/i586/mpih-mul2.S | 93 + grub-core/lib/libgcrypt/mpi/i586/mpih-mul3.S | 93 + grub-core/lib/libgcrypt/mpi/i586/mpih-rshift.S | 228 + grub-core/lib/libgcrypt/mpi/i586/mpih-sub1.S | 142 + grub-core/lib/libgcrypt/mpi/longlong.h | 1613 + grub-core/lib/libgcrypt/mpi/m68k/Manifest | 25 + grub-core/lib/libgcrypt/mpi/m68k/distfiles | 9 + grub-core/lib/libgcrypt/mpi/m68k/mc68020/Manifest | 23 + grub-core/lib/libgcrypt/mpi/m68k/mc68020/distfiles | 4 + .../lib/libgcrypt/mpi/m68k/mc68020/mpih-mul1.S | 104 + .../lib/libgcrypt/mpi/m68k/mc68020/mpih-mul2.S | 94 + .../lib/libgcrypt/mpi/m68k/mc68020/mpih-mul3.S | 97 + grub-core/lib/libgcrypt/mpi/m68k/mpih-add1.S | 92 + grub-core/lib/libgcrypt/mpi/m68k/mpih-lshift.S | 164 + grub-core/lib/libgcrypt/mpi/m68k/mpih-rshift.S | 162 + grub-core/lib/libgcrypt/mpi/m68k/mpih-sub1.S | 91 + grub-core/lib/libgcrypt/mpi/m68k/syntax.h | 185 + grub-core/lib/libgcrypt/mpi/mips3/Manifest | 28 + grub-core/lib/libgcrypt/mpi/mips3/README | 23 + grub-core/lib/libgcrypt/mpi/mips3/distfiles | 11 + grub-core/lib/libgcrypt/mpi/mips3/mpi-asm-defs.h | 10 + grub-core/lib/libgcrypt/mpi/mips3/mpih-add1.S | 124 + grub-core/lib/libgcrypt/mpi/mips3/mpih-lshift.S | 97 + grub-core/lib/libgcrypt/mpi/mips3/mpih-mul1.S | 89 + grub-core/lib/libgcrypt/mpi/mips3/mpih-mul2.S | 101 + grub-core/lib/libgcrypt/mpi/mips3/mpih-mul3.S | 101 + grub-core/lib/libgcrypt/mpi/mips3/mpih-rshift.S | 95 + grub-core/lib/libgcrypt/mpi/mips3/mpih-sub1.S | 125 + grub-core/lib/libgcrypt/mpi/mpi-add.c | 235 + grub-core/lib/libgcrypt/mpi/mpi-bit.c | 364 + grub-core/lib/libgcrypt/mpi/mpi-cmp.c | 107 + grub-core/lib/libgcrypt/mpi/mpi-div.c | 355 + grub-core/lib/libgcrypt/mpi/mpi-gcd.c | 51 + grub-core/lib/libgcrypt/mpi/mpi-inline.c | 35 + grub-core/lib/libgcrypt/mpi/mpi-inline.h | 161 + grub-core/lib/libgcrypt/mpi/mpi-internal.h | 277 + grub-core/lib/libgcrypt/mpi/mpi-inv.c | 267 + grub-core/lib/libgcrypt/mpi/mpi-mod.c | 184 + grub-core/lib/libgcrypt/mpi/mpi-mpow.c | 223 + grub-core/lib/libgcrypt/mpi/mpi-mul.c | 212 + grub-core/lib/libgcrypt/mpi/mpi-pow.c | 338 + grub-core/lib/libgcrypt/mpi/mpi-scan.c | 130 + grub-core/lib/libgcrypt/mpi/mpicoder.c | 753 + grub-core/lib/libgcrypt/mpi/mpih-div.c | 534 + grub-core/lib/libgcrypt/mpi/mpih-mul.c | 528 + grub-core/lib/libgcrypt/mpi/mpiutil.c | 460 + grub-core/lib/libgcrypt/mpi/pa7100/Manifest | 22 + grub-core/lib/libgcrypt/mpi/pa7100/distfiles | 4 + grub-core/lib/libgcrypt/mpi/pa7100/mpih-lshift.S | 96 + grub-core/lib/libgcrypt/mpi/pa7100/mpih-rshift.S | 92 + grub-core/lib/libgcrypt/mpi/pentium4/README | 115 + grub-core/lib/libgcrypt/mpi/pentium4/distfiles | 3 + grub-core/lib/libgcrypt/mpi/pentium4/mmx/distfiles | 2 + .../lib/libgcrypt/mpi/pentium4/mmx/mpih-lshift.S | 457 + .../lib/libgcrypt/mpi/pentium4/mmx/mpih-rshift.S | 453 + .../lib/libgcrypt/mpi/pentium4/sse2/distfiles | 5 + .../lib/libgcrypt/mpi/pentium4/sse2/mpih-add1.S | 91 + .../lib/libgcrypt/mpi/pentium4/sse2/mpih-mul1.S | 96 + .../lib/libgcrypt/mpi/pentium4/sse2/mpih-mul2.S | 136 + .../lib/libgcrypt/mpi/pentium4/sse2/mpih-mul3.S | 127 + .../lib/libgcrypt/mpi/pentium4/sse2/mpih-sub1.S | 112 + grub-core/lib/libgcrypt/mpi/power/Manifest | 27 + grub-core/lib/libgcrypt/mpi/power/distfiles | 8 + grub-core/lib/libgcrypt/mpi/power/mpih-add1.S | 87 + grub-core/lib/libgcrypt/mpi/power/mpih-lshift.S | 64 + grub-core/lib/libgcrypt/mpi/power/mpih-mul1.S | 115 + grub-core/lib/libgcrypt/mpi/power/mpih-mul2.S | 130 + grub-core/lib/libgcrypt/mpi/power/mpih-mul3.S | 135 + grub-core/lib/libgcrypt/mpi/power/mpih-rshift.S | 64 + grub-core/lib/libgcrypt/mpi/power/mpih-sub1.S | 88 + grub-core/lib/libgcrypt/mpi/powerpc32/Manifest | 28 + grub-core/lib/libgcrypt/mpi/powerpc32/distfiles | 10 + grub-core/lib/libgcrypt/mpi/powerpc32/mpih-add1.S | 136 + .../lib/libgcrypt/mpi/powerpc32/mpih-lshift.S | 198 + grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul1.S | 120 + grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul2.S | 127 + grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul3.S | 130 + .../lib/libgcrypt/mpi/powerpc32/mpih-rshift.S | 131 + grub-core/lib/libgcrypt/mpi/powerpc32/mpih-sub1.S | 133 + grub-core/lib/libgcrypt/mpi/powerpc32/syntax.h | 75 + grub-core/lib/libgcrypt/mpi/powerpc64/distfiles | 0 grub-core/lib/libgcrypt/mpi/sparc32/Manifest | 24 + grub-core/lib/libgcrypt/mpi/sparc32/distfiles | 6 + grub-core/lib/libgcrypt/mpi/sparc32/mpih-add1.S | 239 + grub-core/lib/libgcrypt/mpi/sparc32/mpih-lshift.S | 97 + grub-core/lib/libgcrypt/mpi/sparc32/mpih-rshift.S | 93 + grub-core/lib/libgcrypt/mpi/sparc32/udiv.S | 195 + grub-core/lib/libgcrypt/mpi/sparc32v8/Manifest | 23 + grub-core/lib/libgcrypt/mpi/sparc32v8/distfiles | 5 + grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul1.S | 109 + grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul2.S | 132 + grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul3.S | 67 + grub-core/lib/libgcrypt/mpi/supersparc/Manifest | 21 + grub-core/lib/libgcrypt/mpi/supersparc/distfiles | 3 + grub-core/lib/libgcrypt/mpi/supersparc/udiv.S | 118 + grub-core/lib/libgcrypt/src/ChangeLog-2011 | 2335 + grub-core/lib/libgcrypt/src/Makefile.am | 143 + grub-core/lib/libgcrypt/src/Manifest | 58 + grub-core/lib/libgcrypt/src/ath.c | 344 + grub-core/lib/libgcrypt/src/ath.h | 147 + grub-core/lib/libgcrypt/src/cipher-proto.h | 124 + grub-core/lib/libgcrypt/src/cipher.h | 182 + grub-core/lib/libgcrypt/src/dumpsexp.c | 766 + grub-core/lib/libgcrypt/src/fips.c | 860 + grub-core/lib/libgcrypt/src/g10lib.h | 302 + grub-core/lib/libgcrypt/src/gcrypt-module.h | 240 + grub-core/lib/libgcrypt/src/gcrypt.h.in | 1760 + grub-core/lib/libgcrypt/src/gcryptrnd.c | 680 + grub-core/lib/libgcrypt/src/getrandom.c | 326 + grub-core/lib/libgcrypt/src/global.c | 1123 + grub-core/lib/libgcrypt/src/hmac256.c | 793 + grub-core/lib/libgcrypt/src/hmac256.h | 36 + grub-core/lib/libgcrypt/src/hwfeatures.c | 192 + grub-core/lib/libgcrypt/src/libgcrypt-config.in | 189 + grub-core/lib/libgcrypt/src/libgcrypt.def | 239 + grub-core/lib/libgcrypt/src/libgcrypt.m4 | 123 + grub-core/lib/libgcrypt/src/libgcrypt.vers | 111 + grub-core/lib/libgcrypt/src/misc.c | 298 + grub-core/lib/libgcrypt/src/missing-string.c | 54 + grub-core/lib/libgcrypt/src/module.c | 212 + grub-core/lib/libgcrypt/src/mpi.h | 266 + grub-core/lib/libgcrypt/src/secmem.c | 696 + grub-core/lib/libgcrypt/src/secmem.h | 39 + grub-core/lib/libgcrypt/src/sexp.c | 2045 + grub-core/lib/libgcrypt/src/stdmem.c | 242 + grub-core/lib/libgcrypt/src/stdmem.h | 32 + grub-core/lib/libgcrypt/src/types.h | 128 + grub-core/lib/libgcrypt/src/versioninfo.rc.in | 51 + grub-core/lib/libgcrypt/src/visibility.c | 1486 + grub-core/lib/libgcrypt/src/visibility.h | 807 + grub-core/lib/libgcrypt_wrap/cipher_wrap.h | 77 + grub-core/lib/libgcrypt_wrap/mem.c | 140 + grub-core/lib/minilzo/lzoconf.h | 444 + grub-core/lib/minilzo/lzodefs.h | 2998 + grub-core/lib/minilzo/minilzo.c | 6053 ++ grub-core/lib/minilzo/minilzo.h | 94 + grub-core/lib/mips/arc/reboot.c | 35 + grub-core/lib/mips/loongson/reboot.c | 64 + grub-core/lib/mips/qemu_mips/reboot.c | 27 + grub-core/lib/mips/relocator.c | 147 + grub-core/lib/mips/relocator_asm.S | 61 + grub-core/lib/mips/setjmp.S | 71 + grub-core/lib/pbkdf2.c | 109 + grub-core/lib/posix_wrap/assert.h | 33 + grub-core/lib/posix_wrap/ctype.h | 108 + grub-core/lib/posix_wrap/errno.h | 29 + grub-core/lib/posix_wrap/inttypes.h | 1 + grub-core/lib/posix_wrap/langinfo.h | 38 + grub-core/lib/posix_wrap/limits.h | 41 + grub-core/lib/posix_wrap/localcharset.h | 28 + grub-core/lib/posix_wrap/locale.h | 3 + grub-core/lib/posix_wrap/stdint.h | 1 + grub-core/lib/posix_wrap/stdio.h | 43 + grub-core/lib/posix_wrap/stdlib.h | 61 + grub-core/lib/posix_wrap/string.h | 92 + grub-core/lib/posix_wrap/sys/types.h | 65 + grub-core/lib/posix_wrap/unistd.h | 1 + grub-core/lib/posix_wrap/wchar.h | 119 + grub-core/lib/posix_wrap/wctype.h | 110 + grub-core/lib/powerpc/relocator.c | 140 + grub-core/lib/powerpc/relocator_asm.S | 60 + grub-core/lib/powerpc/setjmp.S | 89 + grub-core/lib/priority_queue.c | 163 + grub-core/lib/progress.c | 145 + grub-core/lib/random.c | 120 + grub-core/lib/reed_solomon.c | 493 + grub-core/lib/relocator.c | 1657 + grub-core/lib/riscv/setjmp.S | 84 + grub-core/lib/setjmp.S | 22 + grub-core/lib/sparc64/setjmp.S | 54 + grub-core/lib/syslinux_parse.c | 1555 + grub-core/lib/uboot/reboot.c | 31 + grub-core/lib/x86_64/efi/relocator.c | 79 + grub-core/lib/x86_64/relocator_asm.S | 85 + grub-core/lib/x86_64/setjmp.S | 68 + grub-core/lib/x86_64/xen/relocator.S | 133 + grub-core/lib/xen/datetime.c | 40 + grub-core/lib/xen/halt.c | 32 + grub-core/lib/xen/reboot.c | 32 + grub-core/lib/xen/relocator.c | 137 + grub-core/lib/xzembed/xz.h | 188 + grub-core/lib/xzembed/xz_config.h | 152 + grub-core/lib/xzembed/xz_dec_bcj.c | 578 + grub-core/lib/xzembed/xz_dec_lzma2.c | 1188 + grub-core/lib/xzembed/xz_dec_stream.c | 1042 + grub-core/lib/xzembed/xz_lzma2.h | 236 + grub-core/lib/xzembed/xz_private.h | 96 + grub-core/lib/xzembed/xz_stream.h | 53 + grub-core/lib/zstd/bitstream.h | 458 + grub-core/lib/zstd/compiler.h | 133 + grub-core/lib/zstd/cpu.h | 215 + grub-core/lib/zstd/debug.c | 44 + grub-core/lib/zstd/debug.h | 123 + grub-core/lib/zstd/entropy_common.c | 236 + grub-core/lib/zstd/error_private.c | 48 + grub-core/lib/zstd/error_private.h | 76 + grub-core/lib/zstd/fse.h | 708 + grub-core/lib/zstd/fse_decompress.c | 309 + grub-core/lib/zstd/huf.h | 334 + grub-core/lib/zstd/huf_decompress.c | 1096 + grub-core/lib/zstd/mem.h | 374 + grub-core/lib/zstd/module.c | 21 + grub-core/lib/zstd/xxhash.c | 876 + grub-core/lib/zstd/xxhash.h | 305 + grub-core/lib/zstd/zstd.h | 1516 + grub-core/lib/zstd/zstd_common.c | 81 + grub-core/lib/zstd/zstd_decompress.c | 3108 ++ grub-core/lib/zstd/zstd_errors.h | 92 + grub-core/lib/zstd/zstd_internal.h | 257 + grub-core/loader/aout.c | 62 + grub-core/loader/arm/linux.c | 509 + grub-core/loader/arm64/linux.c | 393 + grub-core/loader/arm64/xen_boot.c | 527 + grub-core/loader/efi/appleloader.c | 242 + grub-core/loader/efi/chainloader.c | 444 + grub-core/loader/efi/fdt.c | 179 + grub-core/loader/i386/bsd.c | 2191 + grub-core/loader/i386/bsd32.c | 6 + grub-core/loader/i386/bsd64.c | 6 + grub-core/loader/i386/bsdXX.c | 679 + grub-core/loader/i386/bsd_pagetable.c | 92 + grub-core/loader/i386/coreboot/chainloader.c | 517 + grub-core/loader/i386/linux.c | 1141 + grub-core/loader/i386/multiboot_mbi.c | 756 + grub-core/loader/i386/pc/chainloader.c | 310 + grub-core/loader/i386/pc/freedos.c | 190 + grub-core/loader/i386/pc/linux.c | 494 + grub-core/loader/i386/pc/ntldr.c | 162 + grub-core/loader/i386/pc/plan9.c | 607 + grub-core/loader/i386/pc/pxechainloader.c | 168 + grub-core/loader/i386/pc/truecrypt.c | 233 + grub-core/loader/i386/xen.c | 986 + grub-core/loader/i386/xen_file.c | 117 + grub-core/loader/i386/xen_file32.c | 7 + grub-core/loader/i386/xen_file64.c | 7 + grub-core/loader/i386/xen_fileXX.c | 395 + grub-core/loader/i386/xnu.c | 1166 + grub-core/loader/ia64/efi/linux.c | 607 + grub-core/loader/linux.c | 335 + grub-core/loader/lzss.c | 56 + grub-core/loader/macho.c | 205 + grub-core/loader/macho32.c | 22 + grub-core/loader/macho64.c | 22 + grub-core/loader/machoXX.c | 384 + grub-core/loader/mips/linux.c | 508 + grub-core/loader/multiboot.c | 469 + grub-core/loader/multiboot_elfxx.c | 298 + grub-core/loader/multiboot_mbi2.c | 1128 + grub-core/loader/powerpc/ieee1275/linux.c | 393 + grub-core/loader/riscv/linux.c | 59 + grub-core/loader/sparc64/ieee1275/linux.c | 521 + grub-core/loader/xnu.c | 1555 + grub-core/loader/xnu_resume.c | 188 + grub-core/mmap/efi/mmap.c | 318 + grub-core/mmap/i386/mmap.c | 113 + grub-core/mmap/i386/pc/mmap.c | 211 + grub-core/mmap/i386/pc/mmap_helper.S | 163 + grub-core/mmap/i386/uppermem.c | 98 + grub-core/mmap/mips/uppermem.c | 72 + grub-core/mmap/mmap.c | 554 + grub-core/modinfo.sh.in | 40 + grub-core/net/arp.c | 189 + grub-core/net/bootp.c | 925 + grub-core/net/dns.c | 785 + grub-core/net/drivers/efi/efinet.c | 404 + grub-core/net/drivers/emu/emunet.c | 116 + grub-core/net/drivers/i386/pc/pxe.c | 419 + grub-core/net/drivers/ieee1275/ofnet.c | 565 + grub-core/net/drivers/uboot/ubootnet.c | 161 + grub-core/net/ethernet.c | 171 + grub-core/net/http.c | 562 + grub-core/net/icmp.c | 112 + grub-core/net/icmp6.c | 679 + grub-core/net/ip.c | 739 + grub-core/net/net.c | 1952 + grub-core/net/netbuff.c | 133 + grub-core/net/tcp.c | 1020 + grub-core/net/tftp.c | 479 + grub-core/net/udp.c | 211 + grub-core/normal/auth.c | 278 + grub-core/normal/autofs.c | 148 + grub-core/normal/charset.c | 1312 + grub-core/normal/cmdline.c | 691 + grub-core/normal/color.c | 145 + grub-core/normal/completion.c | 526 + grub-core/normal/context.c | 214 + grub-core/normal/crypto.c | 163 + grub-core/normal/dyncmd.c | 210 + grub-core/normal/main.c | 587 + grub-core/normal/menu.c | 912 + grub-core/normal/menu_entry.c | 1460 + grub-core/normal/menu_text.c | 602 + grub-core/normal/misc.c | 194 + grub-core/normal/term.c | 1098 + grub-core/osdep/apple/getroot.c | 109 + grub-core/osdep/apple/hostdisk.c | 95 + grub-core/osdep/aros/config.c | 94 + grub-core/osdep/aros/getroot.c | 228 + grub-core/osdep/aros/hostdisk.c | 617 + grub-core/osdep/aros/relpath.c | 75 + grub-core/osdep/basic/compress.c | 21 + grub-core/osdep/basic/emunet.c | 50 + grub-core/osdep/basic/getroot.c | 82 + grub-core/osdep/basic/hostdisk.c | 58 + grub-core/osdep/basic/init.c | 38 + grub-core/osdep/basic/no_platform.c | 46 + grub-core/osdep/basic/ofpath.c | 29 + grub-core/osdep/basic/platform.c | 32 + grub-core/osdep/basic/random.c | 43 + grub-core/osdep/blocklist.c | 7 + grub-core/osdep/bsd/getroot.c | 204 + grub-core/osdep/bsd/hostdisk.c | 130 + grub-core/osdep/compress.c | 5 + grub-core/osdep/config.c | 7 + grub-core/osdep/cputime.c | 5 + grub-core/osdep/devmapper/getroot.c | 347 + grub-core/osdep/devmapper/hostdisk.c | 230 + grub-core/osdep/dl.c | 5 + grub-core/osdep/emuconsole.c | 5 + grub-core/osdep/emunet.c | 5 + grub-core/osdep/exec.c | 3 + grub-core/osdep/freebsd/getroot.c | 364 + grub-core/osdep/freebsd/hostdisk.c | 128 + grub-core/osdep/generic/blocklist.c | 132 + grub-core/osdep/getroot.c | 22 + grub-core/osdep/haiku/getroot.c | 105 + grub-core/osdep/haiku/hostdisk.c | 69 + grub-core/osdep/hostdisk.c | 22 + grub-core/osdep/hurd/getroot.c | 247 + grub-core/osdep/hurd/hostdisk.c | 146 + grub-core/osdep/init.c | 5 + grub-core/osdep/linux/blocklist.c | 136 + grub-core/osdep/linux/emunet.c | 74 + grub-core/osdep/linux/getroot.c | 1164 + grub-core/osdep/linux/hostdisk.c | 465 + grub-core/osdep/linux/ofpath.c | 769 + grub-core/osdep/linux/platform.c | 156 + grub-core/osdep/ofpath.c | 5 + grub-core/osdep/password.c | 5 + grub-core/osdep/platform.c | 9 + grub-core/osdep/platform_unix.c | 3 + grub-core/osdep/random.c | 10 + grub-core/osdep/relpath.c | 7 + grub-core/osdep/sleep.c | 5 + grub-core/osdep/sun/getroot.c | 126 + grub-core/osdep/sun/hostdisk.c | 73 + grub-core/osdep/unix/compress.c | 41 + grub-core/osdep/unix/config.c | 139 + grub-core/osdep/unix/cputime.c | 22 + grub-core/osdep/unix/dl.c | 61 + grub-core/osdep/unix/emuconsole.c | 184 + grub-core/osdep/unix/exec.c | 245 + grub-core/osdep/unix/getroot.c | 787 + grub-core/osdep/unix/hostdisk.c | 319 + grub-core/osdep/unix/password.c | 75 + grub-core/osdep/unix/platform.c | 241 + grub-core/osdep/unix/random.c | 48 + grub-core/osdep/unix/relpath.c | 151 + grub-core/osdep/unix/sleep.c | 30 + grub-core/osdep/windows/blocklist.c | 118 + grub-core/osdep/windows/config.c | 57 + grub-core/osdep/windows/cputime.c | 19 + grub-core/osdep/windows/dl.c | 59 + grub-core/osdep/windows/emuconsole.c | 308 + grub-core/osdep/windows/getroot.c | 355 + grub-core/osdep/windows/hostdisk.c | 689 + grub-core/osdep/windows/init.c | 190 + grub-core/osdep/windows/password.c | 51 + grub-core/osdep/windows/platform.c | 426 + grub-core/osdep/windows/random.c | 55 + grub-core/osdep/windows/relpath.c | 96 + grub-core/osdep/windows/sleep.c | 31 + grub-core/partmap/acorn.c | 154 + grub-core/partmap/amiga.c | 183 + grub-core/partmap/apple.c | 199 + grub-core/partmap/bsdlabel.c | 271 + grub-core/partmap/dfly.c | 132 + grub-core/partmap/dvh.c | 127 + grub-core/partmap/gpt.c | 238 + grub-core/partmap/msdos.c | 435 + grub-core/partmap/plan.c | 120 + grub-core/partmap/sun.c | 154 + grub-core/partmap/sunpc.c | 151 + grub-core/parttool/msdospart.c | 161 + grub-core/script/argv.c | 165 + grub-core/script/execute.c | 1192 + grub-core/script/function.c | 123 + grub-core/script/lexer.c | 356 + grub-core/script/main.c | 98 + grub-core/script/parser.y | 356 + grub-core/script/script.c | 396 + grub-core/script/yylex.l | 393 + grub-core/term/arc/console.c | 209 + grub-core/term/arc/serial.c | 147 + grub-core/term/arm/cros.c | 125 + grub-core/term/arm/cros_ec.c | 238 + grub-core/term/arm/pl050.c | 189 + grub-core/term/at_keyboard.c | 332 + grub-core/term/efi/console.c | 470 + grub-core/term/efi/serial.c | 195 + grub-core/term/gfxterm.c | 1160 + grub-core/term/gfxterm_background.c | 190 + grub-core/term/i386/coreboot/cbmemc.c | 147 + grub-core/term/i386/pc/console.c | 310 + grub-core/term/i386/pc/mda_text.c | 13 + grub-core/term/i386/pc/vga_text.c | 288 + grub-core/term/ieee1275/console.c | 267 + grub-core/term/ieee1275/escc.c | 319 + grub-core/term/ieee1275/serial.c | 287 + grub-core/term/morse.c | 133 + grub-core/term/ns8250.c | 318 + grub-core/term/ps2.c | 387 + grub-core/term/serial.c | 463 + grub-core/term/spkmodem.c | 141 + grub-core/term/terminfo.c | 796 + grub-core/term/tparm.c | 767 + grub-core/term/uboot/console.c | 132 + grub-core/term/usb_keyboard.c | 471 + grub-core/term/xen/console.c | 122 + grub-core/tests/boot/kbsd.init-i386.S | 107 + grub-core/tests/boot/kbsd.init-x86_64.S | 94 + grub-core/tests/boot/kbsd.spec.txt | 3 + grub-core/tests/boot/kernel-8086.S | 50 + grub-core/tests/boot/kernel-i386.S | 72 + grub-core/tests/boot/kfreebsd-aout.cfg | 4 + grub-core/tests/boot/kfreebsd.cfg | 8 + grub-core/tests/boot/kfreebsd.init-i386.S | 109 + grub-core/tests/boot/kfreebsd.init-x86_64.S | 90 + grub-core/tests/boot/knetbsd.cfg | 5 + grub-core/tests/boot/kopenbsd.cfg | 5 + grub-core/tests/boot/kopenbsdlabel.txt | 3 + grub-core/tests/boot/linux-ppc.cfg | 5 + grub-core/tests/boot/linux.cfg | 5 + grub-core/tests/boot/linux.init-i386.S | 61 + grub-core/tests/boot/linux.init-mips.S | 61 + grub-core/tests/boot/linux.init-ppc.S | 61 + grub-core/tests/boot/linux.init-x86_64.S | 60 + grub-core/tests/boot/linux16.cfg | 5 + grub-core/tests/boot/multiboot.cfg | 4 + grub-core/tests/boot/multiboot2.cfg | 4 + grub-core/tests/boot/ntldr.cfg | 4 + grub-core/tests/boot/pc-chainloader.cfg | 4 + grub-core/tests/boot/qemu-shutdown-x86.S | 17 + grub-core/tests/bswap_test.c | 121 + grub-core/tests/checksums.h | 129 + grub-core/tests/cmdline_cat_test.c | 125 + grub-core/tests/cmp_test.c | 190 + grub-core/tests/ctz_test.c | 111 + grub-core/tests/div_test.c | 189 + grub-core/tests/example_functional_test.c | 38 + grub-core/tests/fake_input.c | 75 + grub-core/tests/gfxterm_menu.c | 180 + grub-core/tests/legacy_password_test.c | 68 + grub-core/tests/lib/functional_test.c | 105 + grub-core/tests/lib/test.c | 239 + grub-core/tests/mul_test.c | 73 + grub-core/tests/pbkdf2_test.c | 97 + grub-core/tests/setjmp_test.c | 80 + grub-core/tests/shift_test.c | 157 + grub-core/tests/signature_test.c | 170 + grub-core/tests/signatures.h | 211 + grub-core/tests/sleep_test.c | 51 + grub-core/tests/strtoull_test.c | 63 + grub-core/tests/test_blockarg.c | 55 + grub-core/tests/video_checksum.c | 813 + grub-core/tests/videotest_checksum.c | 80 + grub-core/tests/xnu_uuid_test.c | 58 + grub-core/unidata.c | 1538 + grub-core/video/bitmap.c | 238 + grub-core/video/bitmap_scale.c | 515 + grub-core/video/bochs.c | 439 + grub-core/video/capture.c | 140 + grub-core/video/cirrus.c | 520 + grub-core/video/colors.c | 333 + grub-core/video/coreboot/cbfb.c | 190 + grub-core/video/efi_gop.c | 621 + grub-core/video/efi_uga.c | 369 + grub-core/video/emu/sdl.c | 252 + grub-core/video/fb/fbblit.c | 2227 + grub-core/video/fb/fbfill.c | 212 + grub-core/video/fb/fbutil.c | 151 + grub-core/video/fb/video_fb.c | 1709 + grub-core/video/i386/pc/vbe.c | 1250 + grub-core/video/i386/pc/vga.c | 404 + grub-core/video/ieee1275.c | 370 + grub-core/video/radeon_fuloong2e.c | 239 + grub-core/video/radeon_yeeloong3a.c | 237 + grub-core/video/readers/jpeg.c | 879 + grub-core/video/readers/png.c | 1166 + grub-core/video/readers/tga.c | 511 + grub-core/video/sis315_init.c | 158 + grub-core/video/sis315pro.c | 459 + grub-core/video/sm712.c | 818 + grub-core/video/sm712_init.c | 14 + grub-core/video/video.c | 763 + include/grub/acorn_filecore.h | 53 + include/grub/acpi.h | 247 + include/grub/aout.h | 129 + include/grub/arc/arc.h | 284 + include/grub/arc/console.h | 31 + include/grub/archelp.h | 63 + include/grub/arm/coreboot/console.h | 29 + include/grub/arm/coreboot/kernel.h | 44 + include/grub/arm/cros_ec.h | 21 + include/grub/arm/efi/memory.h | 6 + include/grub/arm/linux.h | 67 + include/grub/arm/reloc.h | 51 + include/grub/arm/setjmp.h | 27 + include/grub/arm/startup.h | 16 + include/grub/arm/system.h | 19 + include/grub/arm/time.h | 29 + include/grub/arm/types.h | 34 + include/grub/arm/uboot/kernel.h | 32 + include/grub/arm64/efi/memory.h | 6 + include/grub/arm64/linux.h | 46 + include/grub/arm64/reloc.h | 41 + include/grub/arm64/setjmp.h | 27 + include/grub/arm64/time.h | 29 + include/grub/arm64/types.h | 34 + include/grub/at_keyboard.h | 40 + include/grub/ata.h | 225 + include/grub/auth.h | 37 + include/grub/autoefi.h | 64 + include/grub/backtrace.h | 26 + include/grub/bitmap.h | 87 + include/grub/bitmap_scale.h | 85 + include/grub/boottime.h | 0 include/grub/bsdlabel.h | 106 + include/grub/btrfs.h | 71 + include/grub/buffer.h | 144 + include/grub/bufio.h | 30 + include/grub/cache.h | 56 + include/grub/cbfs_core.h | 178 + include/grub/charset.h | 323 + include/grub/cmos.h | 128 + include/grub/color.h | 30 + include/grub/command.h | 134 + include/grub/compiler-rt-emu.h | 265 + include/grub/compiler-rt.h | 213 + include/grub/compiler.h | 59 + include/grub/coreboot/lbio.h | 114 + include/grub/crypto.h | 422 + include/grub/cryptodisk.h | 173 + include/grub/cs5536.h | 198 + include/grub/datetime.h | 133 + include/grub/decompressor.h | 34 + include/grub/deflate.h | 30 + include/grub/device.h | 43 + include/grub/disk.h | 294 + include/grub/diskfilter.h | 218 + include/grub/dl.h | 311 + include/grub/dma.h | 44 + include/grub/efi/api.h | 1805 + include/grub/efi/console.h | 31 + include/grub/efi/console_control.h | 57 + include/grub/efi/disk.h | 33 + include/grub/efi/edid.h | 54 + include/grub/efi/efi.h | 127 + include/grub/efi/fdtload.h | 32 + include/grub/efi/graphics_output.h | 115 + include/grub/efi/memory.h | 38 + include/grub/efi/pci.h | 319 + include/grub/efi/pe32.h | 334 + include/grub/efi/sb.h | 43 + include/grub/efi/tpm.h | 198 + include/grub/efi/uga_draw.h | 76 + include/grub/efiemu/efiemu.h | 286 + include/grub/efiemu/runtime.h | 37 + include/grub/elf.h | 2587 + include/grub/elfload.h | 82 + include/grub/emu/config.h | 48 + include/grub/emu/console.h | 28 + include/grub/emu/exec.h | 42 + include/grub/emu/getroot.h | 104 + include/grub/emu/hostdisk.h | 98 + include/grub/emu/hostfile.h | 68 + include/grub/emu/misc.h | 75 + include/grub/emu/net.h | 37 + include/grub/env.h | 72 + include/grub/env_private.h | 46 + include/grub/err.h | 98 + include/grub/exfat.h | 53 + include/grub/extcmd.h | 86 + include/grub/fat.h | 77 + include/grub/fbblit.h | 36 + include/grub/fbfill.h | 59 + include/grub/fbutil.h | 59 + include/grub/fdt.h | 147 + include/grub/fdtbus.h | 89 + include/grub/file.h | 242 + include/grub/fileid.h | 29 + include/grub/font.h | 153 + include/grub/fontformat.h | 38 + include/grub/fs.h | 131 + include/grub/fshelp.h | 91 + include/grub/gcry/types.h | 37 + include/grub/gcrypt/g10lib.h | 302 + include/grub/gcrypt/gcrypt.h | 1746 + include/grub/gcrypt/gpg-error.h | 32 + include/grub/gdb.h | 39 + include/grub/gfxmenu_model.h | 1 + include/grub/gfxmenu_view.h | 124 + include/grub/gfxterm.h | 51 + include/grub/gfxwidgets.h | 50 + include/grub/gpt_partition.h | 87 + include/grub/gui.h | 282 + include/grub/gui_string_util.h | 33 + include/grub/hfs.h | 72 + include/grub/hfsplus.h | 259 + include/grub/i18n.h | 68 + include/grub/i386/at_keyboard.h | 25 + include/grub/i386/bsd.h | 128 + include/grub/i386/cmos.h | 30 + include/grub/i386/coreboot/boot.h | 1 + include/grub/i386/coreboot/console.h | 32 + include/grub/i386/coreboot/kernel.h | 0 include/grub/i386/coreboot/memory.h | 54 + include/grub/i386/coreboot/serial.h | 24 + include/grub/i386/coreboot/time.h | 1 + include/grub/i386/cpuid.h | 85 + include/grub/i386/efi/kernel.h | 0 include/grub/i386/efi/memory.h | 6 + include/grub/i386/efi/serial.h | 1 + include/grub/i386/efiemu.h | 33 + include/grub/i386/floppy.h | 36 + include/grub/i386/freebsd_linker.h | 74 + include/grub/i386/freebsd_reboot.h | 77 + include/grub/i386/gdb.h | 78 + include/grub/i386/ieee1275/ieee1275.h | 1 + include/grub/i386/ieee1275/kernel.h | 0 include/grub/i386/ieee1275/memory.h | 1 + include/grub/i386/ieee1275/serial.h | 1 + include/grub/i386/io.h | 72 + include/grub/i386/linux.h | 336 + include/grub/i386/macho.h | 32 + include/grub/i386/memory.h | 80 + include/grub/i386/memory_raw.h | 58 + include/grub/i386/multiboot.h | 58 + include/grub/i386/multiboot/boot.h | 1 + include/grub/i386/multiboot/console.h | 1 + include/grub/i386/multiboot/kernel.h | 1 + include/grub/i386/multiboot/memory.h | 1 + include/grub/i386/multiboot/serial.h | 1 + include/grub/i386/multiboot/time.h | 1 + include/grub/i386/netbsd_bootinfo.h | 156 + include/grub/i386/netbsd_reboot.h | 81 + include/grub/i386/openbsd_bootarg.h | 93 + include/grub/i386/openbsd_reboot.h | 79 + include/grub/i386/pc/apm.h | 48 + include/grub/i386/pc/biosdisk.h | 109 + include/grub/i386/pc/biosnum.h | 6 + include/grub/i386/pc/boot.h | 73 + include/grub/i386/pc/chainloader.h | 27 + include/grub/i386/pc/console.h | 36 + include/grub/i386/pc/int.h | 33 + include/grub/i386/pc/int_types.h | 59 + include/grub/i386/pc/kernel.h | 41 + include/grub/i386/pc/memory.h | 63 + include/grub/i386/pc/pxe.h | 292 + include/grub/i386/pc/time.h | 24 + include/grub/i386/pc/vbe.h | 232 + include/grub/i386/pc/vesa_modes_table.h | 19 + include/grub/i386/pci.h | 105 + include/grub/i386/pit.h | 103 + include/grub/i386/pmtimer.h | 37 + include/grub/i386/qemu/boot.h | 25 + include/grub/i386/qemu/console.h | 1 + include/grub/i386/qemu/kernel.h | 35 + include/grub/i386/qemu/memory.h | 1 + include/grub/i386/qemu/serial.h | 1 + include/grub/i386/qemu/time.h | 1 + include/grub/i386/rdmsr.h | 37 + include/grub/i386/reboot.h | 28 + include/grub/i386/relocator.h | 100 + include/grub/i386/relocator_private.h | 1 + include/grub/i386/setjmp.h | 29 + include/grub/i386/time.h | 29 + include/grub/i386/tsc.h | 70 + include/grub/i386/types.h | 33 + include/grub/i386/wrmsr.h | 35 + include/grub/i386/xen/hypercall.h | 88 + include/grub/i386/xen/kernel.h | 0 include/grub/i386/xen/memory.h | 0 include/grub/i386/xen_pvh/boot.h | 1 + include/grub/i386/xen_pvh/console.h | 1 + include/grub/i386/xen_pvh/int.h | 1 + include/grub/i386/xen_pvh/kernel.h | 30 + include/grub/i386/xen_pvh/memory.h | 1 + include/grub/i386/xen_pvh/time.h | 1 + include/grub/i386/xnu.h | 149 + include/grub/ia64/efi/memory.h | 6 + include/grub/ia64/efi/time.h | 23 + include/grub/ia64/kernel.h | 25 + include/grub/ia64/reloc.h | 44 + include/grub/ia64/setjmp.h | 28 + include/grub/ia64/time.h | 28 + include/grub/ia64/types.h | 32 + include/grub/icon_manager.h | 41 + include/grub/ieee1275/console.h | 34 + include/grub/ieee1275/ieee1275.h | 266 + include/grub/ieee1275/obdisk.h | 25 + include/grub/ieee1275/ofdisk.h | 25 + include/grub/kernel.h | 132 + include/grub/keyboard_layouts.h | 150 + include/grub/legacy_parse.h | 32 + include/grub/lib/LzFind.h | 130 + include/grub/lib/LzHash.h | 77 + include/grub/lib/LzmaDec.h | 246 + include/grub/lib/LzmaEnc.h | 95 + include/grub/lib/LzmaTypes.h | 151 + include/grub/lib/arg.h | 79 + include/grub/lib/cmdline.h | 32 + include/grub/lib/crc.h | 25 + include/grub/lib/envblk.h | 56 + include/grub/lib/hexdump.h | 25 + include/grub/libpciaccess.h | 26 + include/grub/linux.h | 24 + include/grub/list.h | 88 + include/grub/loader.h | 79 + include/grub/lockdown.h | 44 + include/grub/lvm.h | 90 + include/grub/macho.h | 166 + include/grub/machoload.h | 89 + include/grub/memory.h | 87 + include/grub/menu.h | 106 + include/grub/menu_viewer.h | 48 + include/grub/mips/arc/kernel.h | 2 + include/grub/mips/arc/memory.h | 46 + include/grub/mips/arc/time.h | 0 include/grub/mips/asm.h | 18 + include/grub/mips/at_keyboard.h | 1 + include/grub/mips/cmos.h | 1 + include/grub/mips/io.h | 62 + include/grub/mips/kernel.h | 24 + include/grub/mips/loongson.h | 86 + include/grub/mips/loongson/at_keyboard.h | 27 + include/grub/mips/loongson/cmos.h | 30 + include/grub/mips/loongson/ec.h | 45 + include/grub/mips/loongson/kernel.h | 36 + include/grub/mips/loongson/memory.h | 51 + include/grub/mips/loongson/pci.h | 110 + include/grub/mips/loongson/serial.h | 33 + include/grub/mips/loongson/time.h | 27 + include/grub/mips/memory.h | 60 + include/grub/mips/mips.h | 30 + include/grub/mips/multiboot.h | 31 + include/grub/mips/pci.h | 1 + include/grub/mips/qemu_mips/at_keyboard.h | 25 + include/grub/mips/qemu_mips/cmos.h | 30 + include/grub/mips/qemu_mips/console.h | 25 + include/grub/mips/qemu_mips/kernel.h | 30 + include/grub/mips/qemu_mips/loader.h | 0 include/grub/mips/qemu_mips/memory.h | 50 + include/grub/mips/qemu_mips/serial.h | 24 + include/grub/mips/qemu_mips/time.h | 25 + include/grub/mips/relocator.h | 38 + include/grub/mips/setjmp.h | 27 + include/grub/mips/time.h | 37 + include/grub/mips/types.h | 38 + include/grub/misc.h | 503 + include/grub/mm.h | 83 + include/grub/mm_private.h | 64 + include/grub/module_verifier.h | 20 + include/grub/msdos_partition.h | 127 + include/grub/multiboot.h | 112 + include/grub/multiboot2.h | 104 + include/grub/multiboot_loader.h | 28 + include/grub/net.h | 583 + include/grub/net/arp.h | 32 + include/grub/net/ethernet.h | 41 + include/grub/net/ip.h | 98 + include/grub/net/netbuff.h | 31 + include/grub/net/tcp.h | 85 + include/grub/net/udp.h | 51 + include/grub/normal.h | 177 + include/grub/ns8250.h | 80 + include/grub/ntfs.h | 198 + include/grub/offsets.h | 168 + include/grub/osdep/hostfile.h | 7 + include/grub/osdep/hostfile_aros.h | 119 + include/grub/osdep/hostfile_unix.h | 118 + include/grub/osdep/hostfile_windows.h | 85 + include/grub/parser.h | 96 + include/grub/partition.h | 141 + include/grub/parttool.h | 58 + include/grub/pci.h | 152 + include/grub/pciutils.h | 103 + include/grub/powerpc/ieee1275/ieee1275.h | 28 + include/grub/powerpc/kernel.h | 22 + include/grub/powerpc/memory.h | 47 + include/grub/powerpc/relocator.h | 37 + include/grub/powerpc/setjmp.h | 27 + include/grub/powerpc/time.h | 28 + include/grub/powerpc/types.h | 32 + include/grub/priority_queue.h | 44 + include/grub/procfs.h | 51 + include/grub/ps2.h | 43 + include/grub/pubkey.h | 38 + include/grub/random.h | 33 + include/grub/reader.h | 29 + include/grub/reed_solomon.h | 30 + include/grub/relocator.h | 88 + include/grub/relocator_private.h | 113 + include/grub/riscv32/efi/memory.h | 6 + include/grub/riscv32/linux.h | 41 + include/grub/riscv32/setjmp.h | 27 + include/grub/riscv32/time.h | 28 + include/grub/riscv32/types.h | 34 + include/grub/riscv64/efi/memory.h | 6 + include/grub/riscv64/linux.h | 43 + include/grub/riscv64/setjmp.h | 27 + include/grub/riscv64/time.h | 28 + include/grub/riscv64/types.h | 34 + include/grub/safemath.h | 37 + include/grub/script_sh.h | 410 + include/grub/scsi.h | 111 + include/grub/scsicmd.h | 206 + include/grub/sdl.h | 24 + include/grub/search.h | 29 + include/grub/serial.h | 205 + include/grub/setjmp.h | 42 + include/grub/smbios.h | 69 + include/grub/smbus.h | 70 + include/grub/sparc64/ieee1275/boot.h | 62 + include/grub/sparc64/ieee1275/ieee1275.h | 50 + include/grub/sparc64/ieee1275/kernel.h | 31 + include/grub/sparc64/setjmp.h | 29 + include/grub/sparc64/time.h | 28 + include/grub/sparc64/types.h | 32 + include/grub/speaker.h | 47 + include/grub/stack_protector.h | 30 + include/grub/symbol.h | 72 + include/grub/syslinux_parse.h | 37 + include/grub/term.h | 469 + include/grub/terminfo.h | 87 + include/grub/test.h | 125 + include/grub/time.h | 48 + include/grub/tparm.h | 26 + include/grub/tpm.h | 39 + include/grub/trig.h | 44 + include/grub/types.h | 343 + include/grub/uboot/api_public.h | 181 + include/grub/uboot/console.h | 29 + include/grub/uboot/disk.h | 43 + include/grub/uboot/image.h | 175 + include/grub/uboot/uboot.h | 87 + include/grub/udf.h | 30 + include/grub/unicode.h | 360 + include/grub/usb.h | 333 + include/grub/usbdesc.h | 134 + include/grub/usbserial.h | 39 + include/grub/usbtrans.h | 155 + include/grub/util/install.h | 299 + include/grub/util/libnvpair.h | 38 + include/grub/util/libzfs.h | 47 + include/grub/util/misc.h | 52 + include/grub/util/mkimage.h | 187 + include/grub/util/ofpath.h | 6 + include/grub/util/resolve.h | 36 + include/grub/util/windows.h | 33 + include/grub/verify.h | 87 + include/grub/vga.h | 129 + include/grub/vgaregs.h | 307 + include/grub/video.h | 704 + include/grub/video_fb.h | 151 + include/grub/x86_64/at_keyboard.h | 1 + include/grub/x86_64/efi/boot.h | 0 include/grub/x86_64/efi/kernel.h | 0 include/grub/x86_64/efi/loader.h | 26 + include/grub/x86_64/efi/memory.h | 10 + include/grub/x86_64/efi/serial.h | 1 + include/grub/x86_64/io.h | 19 + include/grub/x86_64/linux.h | 19 + include/grub/x86_64/macho.h | 1 + include/grub/x86_64/memory.h | 1 + include/grub/x86_64/multiboot.h | 1 + include/grub/x86_64/pci.h | 19 + include/grub/x86_64/relocator.h | 1 + include/grub/x86_64/setjmp.h | 27 + include/grub/x86_64/time.h | 29 + include/grub/x86_64/types.h | 41 + include/grub/x86_64/xen/hypercall.h | 36 + include/grub/x86_64/xnu.h | 1 + include/grub/xen.h | 105 + include/grub/xen/relocator.h | 46 + include/grub/xen_file.h | 57 + include/grub/xnu.h | 119 + include/grub/zfs/dmu.h | 164 + include/grub/zfs/dmu_objset.h | 43 + include/grub/zfs/dnode.h | 74 + include/grub/zfs/dsl_dataset.h | 52 + include/grub/zfs/dsl_dir.h | 50 + include/grub/zfs/sa_impl.h | 37 + include/grub/zfs/spa.h | 328 + include/grub/zfs/uberblock_impl.h | 60 + include/grub/zfs/vdev_impl.h | 69 + include/grub/zfs/zap_impl.h | 109 + include/grub/zfs/zap_leaf.h | 103 + include/grub/zfs/zfs.h | 158 + include/grub/zfs/zfs_acl.h | 59 + include/grub/zfs/zfs_znode.h | 70 + include/grub/zfs/zil.h | 56 + include/grub/zfs/zio.h | 95 + include/grub/zfs/zio_checksum.h | 33 + include/multiboot.h | 274 + include/multiboot2.h | 416 + include/xen/arch-x86/xen-x86_32.h | 169 + include/xen/arch-x86/xen-x86_64.h | 202 + include/xen/arch-x86/xen.h | 280 + include/xen/elfnote.h | 281 + include/xen/event_channel.h | 381 + include/xen/grant_table.h | 662 + include/xen/hvm/hvm_op.h | 296 + include/xen/hvm/params.h | 284 + include/xen/hvm/start_info.h | 98 + include/xen/io/blkif.h | 608 + include/xen/io/console.h | 51 + include/xen/io/protocols.h | 40 + include/xen/io/ring.h | 312 + include/xen/io/xenbus.h | 80 + include/xen/io/xs_wire.h | 138 + include/xen/memory.h | 665 + include/xen/physdev.h | 387 + include/xen/sched.h | 174 + include/xen/trace.h | 339 + include/xen/xen-compat.h | 44 + include/xen/xen.h | 998 + linguas.sh | 20 + m4/00gnulib.m4 | 46 + m4/__inline.m4 | 22 + m4/absolute-header.m4 | 102 + m4/alloca.m4 | 121 + m4/argp.m4 | 62 + m4/base64.m4 | 15 + m4/btowc.m4 | 120 + m4/builtin-expect.m4 | 49 + m4/chdir-long.m4 | 30 + m4/close.m4 | 35 + m4/codeset.m4 | 24 + m4/dirent_h.m4 | 64 + m4/dirfd.m4 | 86 + m4/dirname.m4 | 19 + m4/double-slash-root.m4 | 38 + m4/dup2.m4 | 117 + m4/eealloc.m4 | 31 + m4/errno_h.m4 | 133 + m4/error.m4 | 27 + m4/exponentd.m4 | 116 + m4/extensions.m4 | 189 + m4/extern-inline.m4 | 114 + m4/fchdir.m4 | 65 + m4/fcntl-o.m4 | 139 + m4/fcntl.m4 | 126 + m4/fcntl_h.m4 | 50 + m4/filenamecat.m4 | 16 + m4/flexmember.m4 | 46 + m4/float_h.m4 | 108 + m4/fnmatch.m4 | 147 + m4/fnmatch_h.m4 | 75 + m4/fstat.m4 | 39 + m4/getcwd.m4 | 162 + m4/getdelim.m4 | 90 + m4/getdtablesize.m4 | 60 + m4/getline.m4 | 99 + m4/getopt.m4 | 379 + m4/getprogname.m4 | 43 + m4/gettext.m4 | 401 + m4/glibc2.m4 | 31 + m4/glibc21.m4 | 34 + m4/gnulib-cache.m4 | 83 + m4/gnulib-common.m4 | 394 + m4/gnulib-comp.m4 | 1009 + m4/gnulib-tool.m4 | 57 + m4/host-cpu-c-abi.m4 | 644 + m4/iconv.m4 | 268 + m4/include_next.m4 | 224 + m4/intdiv0.m4 | 87 + m4/intl.m4 | 272 + m4/intldir.m4 | 19 + m4/intlmacosx.m4 | 56 + m4/intmax.m4 | 36 + m4/intmax_t.m4 | 67 + m4/inttypes-pri.m4 | 42 + m4/inttypes_h.m4 | 29 + m4/langinfo_h.m4 | 120 + m4/largefile.m4 | 161 + m4/lcmessage.m4 | 35 + m4/lib-ld.m4 | 168 + m4/lib-link.m4 | 774 + m4/lib-prefix.m4 | 249 + m4/libunistring-base.m4 | 141 + m4/limits-h.m4 | 43 + m4/localcharset.m4 | 11 + m4/locale-fr.m4 | 257 + m4/locale-ja.m4 | 145 + m4/locale-zh.m4 | 139 + m4/locale_h.m4 | 127 + m4/localeconv.m4 | 22 + m4/lock.m4 | 47 + m4/longlong.m4 | 113 + m4/lstat.m4 | 79 + m4/malloc.m4 | 101 + m4/malloca.m4 | 15 + m4/math_h.m4 | 366 + m4/mbrtowc.m4 | 672 + m4/mbsinit.m4 | 51 + m4/mbsrtowcs.m4 | 155 + m4/mbstate_t.m4 | 41 + m4/mbswidth.m4 | 46 + m4/mbtowc.m4 | 19 + m4/memchr.m4 | 99 + m4/mempcpy.m4 | 26 + m4/memrchr.m4 | 23 + m4/mmap-anon.m4 | 55 + m4/mode_t.m4 | 26 + m4/msvc-inval.m4 | 19 + m4/msvc-nothrow.m4 | 10 + m4/multiarch.m4 | 62 + m4/nl_langinfo.m4 | 53 + m4/nls.m4 | 32 + m4/nocrash.m4 | 131 + m4/off_t.m4 | 18 + m4/open-cloexec.m4 | 21 + m4/open.m4 | 95 + m4/openat.m4 | 38 + m4/pathmax.m4 | 42 + m4/po.m4 | 453 + m4/printf-posix.m4 | 48 + m4/printf.m4 | 1632 + m4/progtest.m4 | 91 + m4/pthread_rwlock_rdlock.m4 | 165 + m4/rawmemchr.m4 | 20 + m4/realloc.m4 | 79 + m4/regex.m4 | 311 + m4/save-cwd.m4 | 11 + m4/size_max.m4 | 75 + m4/sleep.m4 | 64 + m4/ssize_t.m4 | 23 + m4/stat-time.m4 | 83 + m4/stat.m4 | 74 + m4/stdalign.m4 | 57 + m4/stdbool.m4 | 108 + m4/stddef_h.m4 | 72 + m4/stdint.m4 | 544 + m4/stdint_h.m4 | 27 + m4/stdio_h.m4 | 225 + m4/stdlib_h.m4 | 127 + m4/strcase.m4 | 45 + m4/strchrnul.m4 | 50 + m4/strdup.m4 | 36 + m4/strerror.m4 | 98 + m4/string_h.m4 | 122 + m4/strings_h.m4 | 52 + m4/strndup.m4 | 58 + m4/strnlen.m4 | 30 + m4/sys_socket_h.m4 | 176 + m4/sys_stat_h.m4 | 100 + m4/sys_types_h.m4 | 60 + m4/sysexits.m4 | 44 + m4/threadlib.m4 | 473 + m4/time_h.m4 | 144 + m4/uintmax_t.m4 | 30 + m4/unistd-safer.m4 | 10 + m4/unistd_h.m4 | 197 + m4/vasnprintf.m4 | 291 + m4/visibility.m4 | 77 + m4/vsnprintf.m4 | 62 + m4/warn-on-use.m4 | 51 + m4/wchar_h.m4 | 240 + m4/wchar_t.m4 | 24 + m4/wcrtomb.m4 | 114 + m4/wctype_h.m4 | 212 + m4/wcwidth.m4 | 123 + m4/wint_t.m4 | 74 + m4/xsize.m4 | 12 + po/LINGUAS | 1 + po/Makefile.in.in | 478 + po/Makevars | 60 + po/POTFILES-shell.in | 19 + po/POTFILES.in | 1293 + po/README | 24 + po/Rules-piglatin | 41 + po/Rules-quot | 47 + po/Rules-swiss | 7 + po/Rules-translit | 16 + po/Rules-windowsdir | 11 + po/arabic.sed | 82 + po/ast.gmo | Bin 0 -> 128472 bytes po/ast.po | 7245 +++ po/boldquot.sed | 10 + po/ca.gmo | Bin 0 -> 128974 bytes po/ca.po | 7617 +++ po/cyrillic.sed | 105 + po/da.gmo | Bin 0 -> 120200 bytes po/da.po | 7342 +++ po/de.gmo | Bin 0 -> 134690 bytes po/de.po | 7088 +++ po/de@hebrew.gmo | Bin 0 -> 202735 bytes po/de@hebrew.po | 7082 +++ po/de_CH.gmo | Bin 0 -> 38902 bytes po/de_CH.po | 7005 +++ po/en@arabic.gmo | Bin 0 -> 168627 bytes po/en@arabic.po | 7013 +++ po/en@boldquot.header | 25 + po/en@cyrillic.gmo | Bin 0 -> 159227 bytes po/en@cyrillic.po | 7011 +++ po/en@greek.gmo | Bin 0 -> 159224 bytes po/en@greek.po | 7011 +++ po/en@hebrew.gmo | Bin 0 -> 182737 bytes po/en@hebrew.po | 7013 +++ po/en@piglatin.gmo | Bin 0 -> 140894 bytes po/en@piglatin.header | 4 + po/en@piglatin.po | 7181 +++ po/en@quot.gmo | Bin 0 -> 124316 bytes po/en@quot.header | 22 + po/en@quot.po | 7033 +++ po/eo.gmo | Bin 0 -> 43862 bytes po/eo.po | 6973 +++ po/es.gmo | Bin 0 -> 131671 bytes po/es.po | 7490 +++ po/exclude.pot | 7497 +++ po/fi.gmo | Bin 0 -> 133874 bytes po/fi.po | 7653 +++ po/fr.gmo | Bin 0 -> 141758 bytes po/fr.po | 7519 +++ .../0001-Support-POTFILES-shell.patch | 54 + ...0002-Handle-gettext_printf-shell-function.patch | 46 + .../0003-Make-msgfmt-output-in-little-endian.patch | 34 + .../0004-Use-SHELL-rather-than-bin-sh.patch | 26 + po/gl.gmo | Bin 0 -> 103937 bytes po/gl.po | 7394 +++ po/greek.sed | 107 + po/grub.d.sed | 2 + po/grub.pot | 6821 +++ po/hebrew.sed | 90 + po/hr.gmo | Bin 0 -> 131597 bytes po/hr.po | 7222 +++ po/hu.gmo | Bin 0 -> 132613 bytes po/hu.po | 7417 +++ po/id.gmo | Bin 0 -> 28647 bytes po/id.po | 7811 +++ po/insert-header.sin | 23 + po/it.gmo | Bin 0 -> 118172 bytes po/it.po | 7259 +++ po/ja.gmo | Bin 0 -> 46005 bytes po/ja.po | 6960 +++ po/ko.gmo | Bin 0 -> 51360 bytes po/ko.po | 7120 +++ po/lg.gmo | Bin 0 -> 8417 bytes po/lg.po | 6899 +++ po/lt.gmo | Bin 0 -> 101913 bytes po/lt.po | 7128 +++ po/nb.gmo | Bin 0 -> 123256 bytes po/nb.po | 7221 +++ po/nl.gmo | Bin 0 -> 128251 bytes po/nl.po | 7877 +++ po/pa.gmo | Bin 0 -> 62029 bytes po/pa.po | 7013 +++ po/piglatin.sed | 21 + po/pl.gmo | Bin 0 -> 134665 bytes po/pl.po | 7089 +++ po/pt.gmo | Bin 0 -> 133167 bytes po/pt.po | 7223 +++ po/pt_BR.gmo | Bin 0 -> 83737 bytes po/pt_BR.po | 7304 +++ po/quot.sed | 6 + po/remove-potcdate.sin | 19 + po/ro.gmo | Bin 0 -> 48435 bytes po/ro.po | 6937 +++ po/ru.gmo | Bin 0 -> 172064 bytes po/ru.po | 7871 +++ po/sl.gmo | Bin 0 -> 94728 bytes po/sl.po | 7486 +++ po/sr.gmo | Bin 0 -> 170254 bytes po/sr.po | 7237 +++ po/stamp-po | 1 + po/sv.gmo | Bin 0 -> 128944 bytes po/sv.po | 7226 +++ po/swiss.sed | 7 + po/tr.gmo | Bin 0 -> 84324 bytes po/tr.po | 7089 +++ po/uk.gmo | Bin 0 -> 179503 bytes po/uk.po | 7451 +++ po/vi.gmo | Bin 0 -> 137525 bytes po/vi.po | 7385 +++ po/zh_CN.gmo | Bin 0 -> 87091 bytes po/zh_CN.po | 7796 +++ po/zh_TW.gmo | Bin 0 -> 30762 bytes po/zh_TW.po | 7189 +++ stamp-h.in | 1 + tests/ahci_test.in | 53 + tests/btrfs_test.in | 25 + tests/cdboot_test.in | 39 + tests/cmp_unit_test.c | 226 + tests/core_compress_test.in | 36 + tests/cpio_test.in | 16 + tests/date_unit_test.c | 76 + tests/dfly-mbr-mbexample.dfly.img.gz | Bin 0 -> 124 bytes tests/dfly-mbr-mbexample.mbr.img.gz | Bin 0 -> 41 bytes tests/ehci_test.in | 51 + tests/example_grub_script_test.in | 3 + tests/example_scripted_test.in | 4 + tests/example_unit_test.c | 38 + tests/exfat_test.in | 18 + tests/ext234_test.in | 33 + tests/f2fs_test.in | 19 + tests/fat_test.in | 22 + tests/fddboot_test.in | 51 + tests/file_filter/file | 1 + tests/file_filter/file.gz | Bin 0 -> 33 bytes tests/file_filter/file.gz.sig | Bin 0 -> 96 bytes tests/file_filter/file.lzop | Bin 0 -> 67 bytes tests/file_filter/file.lzop.sig | Bin 0 -> 96 bytes tests/file_filter/file.xz | Bin 0 -> 72 bytes tests/file_filter/file.xz.sig | Bin 0 -> 96 bytes tests/file_filter/keys | Bin 0 -> 994 bytes tests/file_filter/keys.pub | Bin 0 -> 990 bytes tests/file_filter/test.cfg | 6 + tests/file_filter_test.in | 76 + tests/gettext_strings_test.in | 20 + tests/grub_cmd_date.in | 29 + tests/grub_cmd_echo.in | 41 + tests/grub_cmd_regexp.in | 42 + tests/grub_cmd_set_date.in | 35 + tests/grub_cmd_sleep.in | 25 + tests/grub_cmd_test.in | 67 + tests/grub_cmd_tr.in | 62 + tests/grub_func_test.in | 21 + tests/grub_script_blanklines.in | 15 + tests/grub_script_blockarg.in | 41 + tests/grub_script_break.in | 86 + tests/grub_script_comments.in | 28 + tests/grub_script_continue.in | 86 + tests/grub_script_dollar.in | 6 + tests/grub_script_echo1.in | 183 + tests/grub_script_echo_keywords.in | 3 + tests/grub_script_escape_comma.in | 18 + tests/grub_script_eval.in | 6 + tests/grub_script_expansion.in | 43 + tests/grub_script_final_semicolon.in | 11 + tests/grub_script_for1.in | 27 + tests/grub_script_functions.in | 147 + tests/grub_script_gettext.in | 69 + tests/grub_script_if.in | 31 + tests/grub_script_leading_whitespace.in | 4 + tests/grub_script_no_commands.in | 21 + tests/grub_script_not.in | 62 + tests/grub_script_return.in | 134 + tests/grub_script_setparams.in | 59 + tests/grub_script_shift.in | 85 + tests/grub_script_strcmp.in | 22 + tests/grub_script_test.in | 15 + tests/grub_script_vars1.in | 34 + tests/grub_script_while1.in | 32 + tests/gzcompress_test.in | 29 + tests/hddboot_test.in | 37 + tests/help_test.in | 16 + tests/hfs_test.in | 23 + tests/hfsplus_test.in | 20 + tests/iso9660_test.in | 15 + tests/jfs_test.in | 18 + tests/lib/unit_test.c | 42 + tests/lzocompress_test.in | 29 + tests/minixfs_test.in | 35 + tests/netboot_test.in | 45 + tests/nilfs2_test.in | 18 + tests/ntfs_test.in | 24 + tests/ohci_test.in | 51 + tests/partmap_test.in | 489 + tests/pata_test.in | 55 + tests/printf_unit_test.c | 78 + tests/priority_queue_unit_test.cc | 105 + tests/pseries_test.in | 37 + tests/reiserfs_test.in | 20 + tests/romfs_test.in | 10 + tests/squashfs_test.in | 12 + tests/syslinux/ubuntu10.04/isolinux/adtxt.cfg | 0 tests/syslinux/ubuntu10.04/isolinux/dtmenu.cfg | 52 + tests/syslinux/ubuntu10.04/isolinux/exithelp.cfg | 3 + tests/syslinux/ubuntu10.04/isolinux/gfxboot.cfg | 12 + tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg | 6 + tests/syslinux/ubuntu10.04/isolinux/menu.cfg | 23 + tests/syslinux/ubuntu10.04/isolinux/po4a.cfg | 3 + tests/syslinux/ubuntu10.04/isolinux/prompt.cfg | 16 + tests/syslinux/ubuntu10.04/isolinux/rqtxt.cfg | 4 + tests/syslinux/ubuntu10.04/isolinux/stdmenu.cfg | 15 + tests/syslinux/ubuntu10.04/isolinux/txt.cfg | 19 + tests/syslinux/ubuntu10.04_grub.cfg.in | 236 + tests/syslinux_test.in | 16 + tests/tar_test.in | 10 + tests/test_sha512sum.in | 36 + tests/test_unset.in | 10 + tests/udf_test.in | 19 + tests/uhci_test.in | 51 + tests/util/grub-fs-tester.in | 1572 + tests/util/grub-shell-tester.in | 106 + tests/util/grub-shell.in | 517 + tests/xfs_test.in | 20 + tests/xzcompress_test.in | 29 + tests/zfs_test.in | 27 + themes/starfield/COPYING.CC-BY-SA-3.0 | 65 + themes/starfield/README | 36 + themes/starfield/blob_w.png | Bin 0 -> 836 bytes themes/starfield/boot_menu_c.png | Bin 0 -> 178 bytes themes/starfield/boot_menu_e.png | Bin 0 -> 193 bytes themes/starfield/boot_menu_n.png | Bin 0 -> 103 bytes themes/starfield/boot_menu_ne.png | Bin 0 -> 193 bytes themes/starfield/boot_menu_nw.png | Bin 0 -> 184 bytes themes/starfield/boot_menu_s.png | Bin 0 -> 102 bytes themes/starfield/boot_menu_se.png | Bin 0 -> 198 bytes themes/starfield/boot_menu_sw.png | Bin 0 -> 196 bytes themes/starfield/boot_menu_w.png | Bin 0 -> 96 bytes themes/starfield/slider_c.png | Bin 0 -> 197 bytes themes/starfield/slider_n.png | Bin 0 -> 265 bytes themes/starfield/slider_s.png | Bin 0 -> 269 bytes themes/starfield/src/blob_nw.xcf | Bin 0 -> 2666 bytes themes/starfield/src/bootmenu/center.xcf | Bin 0 -> 649 bytes themes/starfield/src/bootmenu/corner.xcf | Bin 0 -> 783 bytes themes/starfield/src/bootmenu/side.xcf | Bin 0 -> 659 bytes themes/starfield/src/slider_c.xcf | Bin 0 -> 693 bytes themes/starfield/src/slider_n.xcf | Bin 0 -> 845 bytes themes/starfield/src/slider_s.xcf | Bin 0 -> 863 bytes themes/starfield/src/terminalbox/center.xcf | Bin 0 -> 649 bytes themes/starfield/src/terminalbox/corner.xcf | Bin 0 -> 725 bytes themes/starfield/src/terminalbox/side.xcf | Bin 0 -> 824 bytes themes/starfield/starfield.png | Bin 0 -> 1897028 bytes themes/starfield/terminal_box_c.png | Bin 0 -> 178 bytes themes/starfield/terminal_box_e.png | Bin 0 -> 94 bytes themes/starfield/terminal_box_n.png | Bin 0 -> 194 bytes themes/starfield/terminal_box_ne.png | Bin 0 -> 128 bytes themes/starfield/terminal_box_nw.png | Bin 0 -> 210 bytes themes/starfield/terminal_box_s.png | Bin 0 -> 101 bytes themes/starfield/terminal_box_se.png | Bin 0 -> 126 bytes themes/starfield/terminal_box_sw.png | Bin 0 -> 123 bytes themes/starfield/terminal_box_w.png | Bin 0 -> 97 bytes themes/starfield/theme.txt | 79 + unicode/ArabicShaping.txt | 378 + unicode/BidiMirroring.txt | 597 + unicode/COPYING | 9 + unicode/UnicodeData.txt | 23697 ++++++++ util/bash-completion.d/Makefile.am | 13 + util/bash-completion.d/Makefile.in | 1443 + util/bash-completion.d/grub-completion.bash.in | 495 + util/bin2h.c | 64 + util/config.c | 121 + util/editenv.c | 135 + util/garbage-gen.c | 67 + util/getroot.c | 482 + util/glue-efi.c | 153 + util/grub-editenv.c | 305 + util/grub-file.c | 106 + util/grub-fstest.c | 776 + util/grub-gen-asciih.c | 256 + util/grub-gen-widthspec.c | 153 + util/grub-glue-efi.c | 125 + util/grub-install-common.c | 1164 + util/grub-install.c | 2000 + util/grub-kbdcomp.in | 77 + util/grub-macbless.c | 205 + util/grub-macho2img.c | 120 + util/grub-menulst2cfg.c | 135 + util/grub-mkconfig.in | 309 + util/grub-mkconfig_lib.in | 375 + util/grub-mkfont.c | 1287 + util/grub-mkimage.c | 351 + util/grub-mkimage32.c | 26 + util/grub-mkimage64.c | 26 + util/grub-mkimagexx.c | 2452 + util/grub-mklayout.c | 529 + util/grub-mknetdir.c | 227 + util/grub-mkpasswd-pbkdf2.c | 210 + util/grub-mkrelpath.c | 105 + util/grub-mkrescue.c | 999 + util/grub-mkstandalone.c | 363 + util/grub-module-verifier.c | 234 + util/grub-module-verifier32.c | 2 + util/grub-module-verifier64.c | 2 + util/grub-module-verifierXX.c | 439 + util/grub-mount.c | 620 + util/grub-pe2elf.c | 573 + util/grub-probe.c | 931 + util/grub-reboot.in | 160 + util/grub-render-label.c | 193 + util/grub-script-check.c | 218 + util/grub-set-default.in | 137 + util/grub-setup.c | 333 + util/grub-syslinux2cfg.c | 246 + util/grub.d/00_header.in | 356 + util/grub.d/10_hurd.in | 188 + util/grub.d/10_illumos.in | 53 + util/grub.d/10_kfreebsd.in | 252 + util/grub.d/10_linux.in | 302 + util/grub.d/10_netbsd.in | 194 + util/grub.d/10_windows.in | 100 + util/grub.d/10_xnu.in | 98 + util/grub.d/20_linux_xen.in | 363 + util/grub.d/30_os-prober.in | 346 + util/grub.d/30_uefi-firmware.in | 44 + util/grub.d/40_custom.in | 5 + util/grub.d/41_custom.in | 9 + util/grub.d/README | 11 + util/i386/efi/grub-dumpdevtree | 22 + util/ieee1275/grub-ofpathname.c | 56 + util/import_gcry.py | 659 + util/import_gcrypth.sed | 18 + util/import_unicode.py | 193 + util/misc.c | 225 + util/mkimage.c | 1791 + util/probe.c | 172 + util/render-label.c | 215 + util/resolve.c | 287 + util/setup.c | 877 + util/setup_bios.c | 2 + util/setup_sparc.c | 2 + util/spkmodem-recv.c | 115 + 2367 files changed, 1120297 insertions(+) create mode 100644 ABOUT-NLS create mode 100644 AUTHORS create mode 100644 BUGS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 ChangeLog-2015 create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 Makefile.util.am create mode 100644 Makefile.util.def create mode 100644 Makefile.utilgcry.def create mode 100644 NEWS create mode 100644 README create mode 100644 THANKS create mode 100644 TODO create mode 100644 acinclude.m4 create mode 100644 aclocal.m4 create mode 100644 asm-tests/arm.S create mode 100644 asm-tests/i386-pc.S create mode 100644 asm-tests/i386.S create mode 100644 asm-tests/mips.S create mode 100644 asm-tests/powerpc.S create mode 100644 asm-tests/sparc64.S create mode 100755 autogen.sh create mode 100755 build-aux/compile create mode 100755 build-aux/config.guess create mode 100755 build-aux/config.rpath create mode 100755 build-aux/config.sub create mode 100755 build-aux/depcomp create mode 100755 build-aux/gitlog-to-changelog create mode 100755 build-aux/install-sh create mode 100755 build-aux/mdate-sh create mode 100755 build-aux/missing create mode 100755 build-aux/test-driver create mode 100644 build-aux/texinfo.tex create mode 100644 conf/Makefile.common create mode 100644 conf/Makefile.extra-dist create mode 100644 conf/i386-cygwin-img-ld.sc create mode 100644 config-util.h.in create mode 100644 config.h.in create mode 100755 configure create mode 100644 configure.ac create mode 100644 coreboot.cfg create mode 100644 docs/Makefile.am create mode 100644 docs/Makefile.in create mode 100644 docs/autoiso.cfg create mode 100644 docs/fdl.texi create mode 100644 docs/font_char_metrics.png create mode 100644 docs/font_char_metrics.txt create mode 100644 docs/grub-dev.info create mode 100644 docs/grub-dev.texi create mode 100644 docs/grub.cfg create mode 100644 docs/grub.info create mode 100644 docs/grub.info-1 create mode 100644 docs/grub.info-2 create mode 100644 docs/grub.texi create mode 100644 docs/man/grub-bios-setup.h2m create mode 100644 docs/man/grub-editenv.h2m create mode 100644 docs/man/grub-emu.h2m create mode 100644 docs/man/grub-file.h2m create mode 100644 docs/man/grub-fstest.h2m create mode 100644 docs/man/grub-glue-efi.h2m create mode 100644 docs/man/grub-install.h2m create mode 100644 docs/man/grub-kbdcomp.h2m create mode 100644 docs/man/grub-macbless.h2m create mode 100644 docs/man/grub-macho2img.h2m create mode 100644 docs/man/grub-menulst2cfg.h2m create mode 100644 docs/man/grub-mkconfig.h2m create mode 100644 docs/man/grub-mkfont.h2m create mode 100644 docs/man/grub-mkimage.h2m create mode 100644 docs/man/grub-mklayout.h2m create mode 100644 docs/man/grub-mknetdir.h2m create mode 100644 docs/man/grub-mkpasswd-pbkdf2.h2m create mode 100644 docs/man/grub-mkrelpath.h2m create mode 100644 docs/man/grub-mkrescue.h2m create mode 100644 docs/man/grub-mkstandalone.h2m create mode 100644 docs/man/grub-mount.h2m create mode 100644 docs/man/grub-ofpathname.h2m create mode 100644 docs/man/grub-pe2elf.h2m create mode 100644 docs/man/grub-probe.h2m create mode 100644 docs/man/grub-reboot.h2m create mode 100644 docs/man/grub-render-label.h2m create mode 100644 docs/man/grub-script-check.h2m create mode 100644 docs/man/grub-set-default.h2m create mode 100644 docs/man/grub-sparc64-setup.h2m create mode 100644 docs/man/grub-syslinux2cfg.h2m create mode 100644 docs/mdate-sh create mode 100644 docs/osdetect.cfg create mode 100644 docs/stamp-1 create mode 100644 docs/stamp-vti create mode 100644 docs/texinfo.tex create mode 100644 docs/version-dev.texi create mode 100644 docs/version.texi create mode 100644 geninit.sh create mode 100644 gentpl.py create mode 100644 grub-core/Makefile.am create mode 100644 grub-core/Makefile.core.am create mode 100644 grub-core/Makefile.core.def create mode 100644 grub-core/Makefile.gcry.def create mode 100644 grub-core/Makefile.in create mode 100644 grub-core/boot/decompressor/minilib.c create mode 100644 grub-core/boot/decompressor/none.c create mode 100644 grub-core/boot/decompressor/xz.c create mode 100644 grub-core/boot/i386/pc/boot.S create mode 100644 grub-core/boot/i386/pc/cdboot.S create mode 100644 grub-core/boot/i386/pc/diskboot.S create mode 100644 grub-core/boot/i386/pc/lnxboot.S create mode 100644 grub-core/boot/i386/pc/lzma_decode.S create mode 100644 grub-core/boot/i386/pc/pxeboot.S create mode 100644 grub-core/boot/i386/pc/startup_raw.S create mode 100644 grub-core/boot/i386/qemu/boot.S create mode 100644 grub-core/boot/mips/loongson/fuloong2f.S create mode 100644 grub-core/boot/mips/loongson/fwstart.S create mode 100644 grub-core/boot/mips/startup_raw.S create mode 100644 grub-core/boot/powerpc/bootinfo.txt.in create mode 100644 grub-core/boot/powerpc/grub.chrp.in create mode 100644 grub-core/boot/sparc64/ieee1275/boot.S create mode 100644 grub-core/boot/sparc64/ieee1275/diskboot.S create mode 100644 grub-core/bus/bonito.c create mode 100644 grub-core/bus/cs5536.c create mode 100644 grub-core/bus/emu/pci.c create mode 100644 grub-core/bus/fdt.c create mode 100644 grub-core/bus/i386/ieee1275/pci.c create mode 100644 grub-core/bus/pci.c create mode 100644 grub-core/bus/spi/rk3288_spi.c create mode 100644 grub-core/bus/usb/ehci-fdt.c create mode 100644 grub-core/bus/usb/ehci-pci.c create mode 100644 grub-core/bus/usb/ehci.c create mode 100644 grub-core/bus/usb/ohci.c create mode 100644 grub-core/bus/usb/serial/common.c create mode 100644 grub-core/bus/usb/serial/ftdi.c create mode 100644 grub-core/bus/usb/serial/pl2303.c create mode 100644 grub-core/bus/usb/serial/usbdebug_late.c create mode 100644 grub-core/bus/usb/uhci.c create mode 100644 grub-core/bus/usb/usb.c create mode 100644 grub-core/bus/usb/usbhub.c create mode 100644 grub-core/bus/usb/usbtrans.c create mode 100644 grub-core/commands/acpi.c create mode 100644 grub-core/commands/acpihalt.c create mode 100644 grub-core/commands/arc/lsdev.c create mode 100644 grub-core/commands/blocklist.c create mode 100644 grub-core/commands/boot.c create mode 100644 grub-core/commands/boottime.c create mode 100644 grub-core/commands/cacheinfo.c create mode 100644 grub-core/commands/cat.c create mode 100644 grub-core/commands/cmp.c create mode 100644 grub-core/commands/configfile.c create mode 100644 grub-core/commands/date.c create mode 100644 grub-core/commands/echo.c create mode 100644 grub-core/commands/efi/efifwsetup.c create mode 100644 grub-core/commands/efi/fixvideo.c create mode 100644 grub-core/commands/efi/loadbios.c create mode 100644 grub-core/commands/efi/lsefi.c create mode 100644 grub-core/commands/efi/lsefimmap.c create mode 100644 grub-core/commands/efi/lsefisystab.c create mode 100644 grub-core/commands/efi/lssal.c create mode 100644 grub-core/commands/efi/smbios.c create mode 100644 grub-core/commands/efi/tpm.c create mode 100644 grub-core/commands/eval.c create mode 100644 grub-core/commands/extcmd.c create mode 100644 grub-core/commands/file.c create mode 100644 grub-core/commands/file32.c create mode 100644 grub-core/commands/file64.c create mode 100644 grub-core/commands/fileXX.c create mode 100644 grub-core/commands/gptsync.c create mode 100644 grub-core/commands/halt.c create mode 100644 grub-core/commands/hashsum.c create mode 100644 grub-core/commands/hdparm.c create mode 100644 grub-core/commands/help.c create mode 100644 grub-core/commands/hexdump.c create mode 100644 grub-core/commands/i386/cmosdump.c create mode 100644 grub-core/commands/i386/cmostest.c create mode 100644 grub-core/commands/i386/coreboot/cb_timestamps.c create mode 100644 grub-core/commands/i386/coreboot/cbls.c create mode 100644 grub-core/commands/i386/cpuid.c create mode 100644 grub-core/commands/i386/pc/drivemap.c create mode 100644 grub-core/commands/i386/pc/drivemap_int13h.S create mode 100644 grub-core/commands/i386/pc/halt.c create mode 100644 grub-core/commands/i386/pc/lsapm.c create mode 100644 grub-core/commands/i386/pc/play.c create mode 100644 grub-core/commands/i386/pc/sendkey.c create mode 100644 grub-core/commands/i386/pc/smbios.c create mode 100644 grub-core/commands/i386/rdmsr.c create mode 100644 grub-core/commands/i386/wrmsr.c create mode 100644 grub-core/commands/ieee1275/suspend.c create mode 100644 grub-core/commands/iorw.c create mode 100644 grub-core/commands/keylayouts.c create mode 100644 grub-core/commands/keystatus.c create mode 100644 grub-core/commands/legacycfg.c create mode 100644 grub-core/commands/loadenv.c create mode 100644 grub-core/commands/ls.c create mode 100644 grub-core/commands/lsacpi.c create mode 100644 grub-core/commands/lsmmap.c create mode 100644 grub-core/commands/lspci.c create mode 100644 grub-core/commands/macbless.c create mode 100644 grub-core/commands/memrw.c create mode 100644 grub-core/commands/menuentry.c create mode 100644 grub-core/commands/minicmd.c create mode 100644 grub-core/commands/mips/loongson/lsspd.c create mode 100644 grub-core/commands/nativedisk.c create mode 100644 grub-core/commands/parttool.c create mode 100644 grub-core/commands/password.c create mode 100644 grub-core/commands/password_pbkdf2.c create mode 100644 grub-core/commands/pcidump.c create mode 100644 grub-core/commands/pgp.c create mode 100644 grub-core/commands/probe.c create mode 100644 grub-core/commands/read.c create mode 100644 grub-core/commands/reboot.c create mode 100644 grub-core/commands/regexp.c create mode 100644 grub-core/commands/search.c create mode 100644 grub-core/commands/search_file.c create mode 100644 grub-core/commands/search_label.c create mode 100644 grub-core/commands/search_uuid.c create mode 100644 grub-core/commands/search_wrap.c create mode 100644 grub-core/commands/setpci.c create mode 100644 grub-core/commands/sleep.c create mode 100644 grub-core/commands/smbios.c create mode 100644 grub-core/commands/syslinuxcfg.c create mode 100644 grub-core/commands/terminal.c create mode 100644 grub-core/commands/test.c create mode 100644 grub-core/commands/testload.c create mode 100644 grub-core/commands/testspeed.c create mode 100644 grub-core/commands/time.c create mode 100644 grub-core/commands/tpm.c create mode 100644 grub-core/commands/tr.c create mode 100644 grub-core/commands/true.c create mode 100644 grub-core/commands/usbtest.c create mode 100644 grub-core/commands/videoinfo.c create mode 100644 grub-core/commands/videotest.c create mode 100644 grub-core/commands/wildcard.c create mode 100644 grub-core/commands/xen/lsxen.c create mode 100644 grub-core/commands/xnu_uuid.c create mode 100644 grub-core/disk/AFSplitter.c create mode 100644 grub-core/disk/ahci.c create mode 100644 grub-core/disk/arc/arcdisk.c create mode 100644 grub-core/disk/ata.c create mode 100644 grub-core/disk/cryptodisk.c create mode 100644 grub-core/disk/diskfilter.c create mode 100644 grub-core/disk/dmraid_nvidia.c create mode 100644 grub-core/disk/efi/efidisk.c create mode 100644 grub-core/disk/geli.c create mode 100644 grub-core/disk/host.c create mode 100644 grub-core/disk/i386/pc/biosdisk.c create mode 100644 grub-core/disk/ieee1275/nand.c create mode 100644 grub-core/disk/ieee1275/obdisk.c create mode 100644 grub-core/disk/ieee1275/ofdisk.c create mode 100644 grub-core/disk/ldm.c create mode 100644 grub-core/disk/loopback.c create mode 100644 grub-core/disk/luks.c create mode 100644 grub-core/disk/luks2.c create mode 100644 grub-core/disk/lvm.c create mode 100644 grub-core/disk/mdraid1x_linux.c create mode 100644 grub-core/disk/mdraid_linux.c create mode 100644 grub-core/disk/mdraid_linux_be.c create mode 100644 grub-core/disk/memdisk.c create mode 100644 grub-core/disk/pata.c create mode 100644 grub-core/disk/raid5_recover.c create mode 100644 grub-core/disk/raid6_recover.c create mode 100644 grub-core/disk/scsi.c create mode 100644 grub-core/disk/uboot/ubootdisk.c create mode 100644 grub-core/disk/usbms.c create mode 100644 grub-core/disk/xen/xendisk.c create mode 100644 grub-core/efiemu/i386/coredetect.c create mode 100644 grub-core/efiemu/i386/loadcore32.c create mode 100644 grub-core/efiemu/i386/loadcore64.c create mode 100644 grub-core/efiemu/i386/nocfgtables.c create mode 100644 grub-core/efiemu/i386/pc/cfgtables.c create mode 100644 grub-core/efiemu/loadcore.c create mode 100644 grub-core/efiemu/loadcore32.c create mode 100644 grub-core/efiemu/loadcore64.c create mode 100644 grub-core/efiemu/loadcore_common.c create mode 100644 grub-core/efiemu/main.c create mode 100644 grub-core/efiemu/mm.c create mode 100644 grub-core/efiemu/pnvram.c create mode 100644 grub-core/efiemu/prepare.c create mode 100644 grub-core/efiemu/prepare32.c create mode 100644 grub-core/efiemu/prepare64.c create mode 100644 grub-core/efiemu/runtime/config.h create mode 100644 grub-core/efiemu/runtime/efiemu.S create mode 100644 grub-core/efiemu/runtime/efiemu.c create mode 100644 grub-core/efiemu/symbols.c create mode 100644 grub-core/font/font.c create mode 100644 grub-core/font/font_cmd.c create mode 100644 grub-core/fs/affs.c create mode 100644 grub-core/fs/afs.c create mode 100644 grub-core/fs/archelp.c create mode 100644 grub-core/fs/bfs.c create mode 100644 grub-core/fs/btrfs.c create mode 100644 grub-core/fs/cbfs.c create mode 100644 grub-core/fs/cpio.c create mode 100644 grub-core/fs/cpio_be.c create mode 100644 grub-core/fs/cpio_common.c create mode 100644 grub-core/fs/exfat.c create mode 100644 grub-core/fs/ext2.c create mode 100644 grub-core/fs/f2fs.c create mode 100644 grub-core/fs/fat.c create mode 100644 grub-core/fs/fshelp.c create mode 100644 grub-core/fs/hfs.c create mode 100644 grub-core/fs/hfsplus.c create mode 100644 grub-core/fs/hfspluscomp.c create mode 100644 grub-core/fs/iso9660.c create mode 100644 grub-core/fs/jfs.c create mode 100644 grub-core/fs/minix.c create mode 100644 grub-core/fs/minix2.c create mode 100644 grub-core/fs/minix2_be.c create mode 100644 grub-core/fs/minix3.c create mode 100644 grub-core/fs/minix3_be.c create mode 100644 grub-core/fs/minix_be.c create mode 100644 grub-core/fs/newc.c create mode 100644 grub-core/fs/nilfs2.c create mode 100644 grub-core/fs/ntfs.c create mode 100644 grub-core/fs/ntfscomp.c create mode 100644 grub-core/fs/odc.c create mode 100644 grub-core/fs/proc.c create mode 100644 grub-core/fs/reiserfs.c create mode 100644 grub-core/fs/romfs.c create mode 100644 grub-core/fs/sfs.c create mode 100644 grub-core/fs/squash4.c create mode 100644 grub-core/fs/tar.c create mode 100644 grub-core/fs/udf.c create mode 100644 grub-core/fs/ufs.c create mode 100644 grub-core/fs/ufs2.c create mode 100644 grub-core/fs/ufs_be.c create mode 100644 grub-core/fs/xfs.c create mode 100644 grub-core/fs/zfs/zfs.c create mode 100644 grub-core/fs/zfs/zfs_fletcher.c create mode 100644 grub-core/fs/zfs/zfs_lz4.c create mode 100644 grub-core/fs/zfs/zfs_lzjb.c create mode 100644 grub-core/fs/zfs/zfs_sha256.c create mode 100644 grub-core/fs/zfs/zfscrypt.c create mode 100644 grub-core/fs/zfs/zfsinfo.c create mode 100644 grub-core/gdb/cstub.c create mode 100644 grub-core/gdb/gdb.c create mode 100644 grub-core/gdb/i386/idt.c create mode 100644 grub-core/gdb/i386/machdep.S create mode 100644 grub-core/gdb/i386/signal.c create mode 100644 grub-core/gdb_grub.in create mode 100644 grub-core/genemuinit.sh create mode 100644 grub-core/genemuinitheader.sh create mode 100644 grub-core/genmod.sh.in create mode 100644 grub-core/genmoddep.awk create mode 100644 grub-core/gensyminfo.sh.in create mode 100644 grub-core/gensymlist.sh create mode 100644 grub-core/gentrigtables.c create mode 100644 grub-core/gettext/gettext.c create mode 100644 grub-core/gfxmenu/font.c create mode 100644 grub-core/gfxmenu/gfxmenu.c create mode 100644 grub-core/gfxmenu/gui_box.c create mode 100644 grub-core/gfxmenu/gui_canvas.c create mode 100644 grub-core/gfxmenu/gui_circular_progress.c create mode 100644 grub-core/gfxmenu/gui_image.c create mode 100644 grub-core/gfxmenu/gui_label.c create mode 100644 grub-core/gfxmenu/gui_list.c create mode 100644 grub-core/gfxmenu/gui_progress_bar.c create mode 100644 grub-core/gfxmenu/gui_string_util.c create mode 100644 grub-core/gfxmenu/gui_util.c create mode 100644 grub-core/gfxmenu/icon_manager.c create mode 100644 grub-core/gfxmenu/theme_loader.c create mode 100644 grub-core/gfxmenu/view.c create mode 100644 grub-core/gfxmenu/widget-box.c create mode 100644 grub-core/gmodule.pl.in create mode 100644 grub-core/hello/hello.c create mode 100644 grub-core/hook/datehook.c create mode 100644 grub-core/io/bufio.c create mode 100644 grub-core/io/gzio.c create mode 100644 grub-core/io/lzopio.c create mode 100644 grub-core/io/offset.c create mode 100644 grub-core/io/xzio.c create mode 100644 grub-core/kern/acpi.c create mode 100644 grub-core/kern/arm/cache.S create mode 100644 grub-core/kern/arm/cache.c create mode 100644 grub-core/kern/arm/cache_armv6.S create mode 100644 grub-core/kern/arm/cache_armv7.S create mode 100644 grub-core/kern/arm/compiler-rt.S create mode 100644 grub-core/kern/arm/coreboot/cbtable.c create mode 100644 grub-core/kern/arm/coreboot/coreboot.S create mode 100644 grub-core/kern/arm/coreboot/dma.c create mode 100644 grub-core/kern/arm/coreboot/init.c create mode 100644 grub-core/kern/arm/coreboot/timer.c create mode 100644 grub-core/kern/arm/dl.c create mode 100644 grub-core/kern/arm/dl_helper.c create mode 100644 grub-core/kern/arm/efi/init.c create mode 100644 grub-core/kern/arm/efi/startup.S create mode 100644 grub-core/kern/arm/startup.S create mode 100644 grub-core/kern/arm/uboot/init.c create mode 100644 grub-core/kern/arm/uboot/uboot.S create mode 100644 grub-core/kern/arm64/cache.c create mode 100644 grub-core/kern/arm64/cache_flush.S create mode 100644 grub-core/kern/arm64/dl.c create mode 100644 grub-core/kern/arm64/dl_helper.c create mode 100644 grub-core/kern/arm64/efi/init.c create mode 100644 grub-core/kern/arm64/efi/startup.S create mode 100644 grub-core/kern/buffer.c create mode 100644 grub-core/kern/command.c create mode 100644 grub-core/kern/compiler-rt.c create mode 100644 grub-core/kern/coreboot/cbtable.c create mode 100644 grub-core/kern/coreboot/mmap.c create mode 100644 grub-core/kern/corecmd.c create mode 100644 grub-core/kern/device.c create mode 100644 grub-core/kern/disk.c create mode 100644 grub-core/kern/disk_common.c create mode 100644 grub-core/kern/dl.c create mode 100644 grub-core/kern/efi/acpi.c create mode 100644 grub-core/kern/efi/efi.c create mode 100644 grub-core/kern/efi/fdt.c create mode 100644 grub-core/kern/efi/init.c create mode 100644 grub-core/kern/efi/mm.c create mode 100644 grub-core/kern/efi/sb.c create mode 100644 grub-core/kern/elf.c create mode 100644 grub-core/kern/elfXX.c create mode 100644 grub-core/kern/emu/argp_common.c create mode 100644 grub-core/kern/emu/cache.c create mode 100644 grub-core/kern/emu/cache_s.S create mode 100644 grub-core/kern/emu/full.c create mode 100644 grub-core/kern/emu/hostdisk.c create mode 100644 grub-core/kern/emu/hostfs.c create mode 100644 grub-core/kern/emu/lite.c create mode 100644 grub-core/kern/emu/main.c create mode 100644 grub-core/kern/emu/misc.c create mode 100644 grub-core/kern/emu/mm.c create mode 100644 grub-core/kern/emu/time.c create mode 100644 grub-core/kern/env.c create mode 100644 grub-core/kern/err.c create mode 100644 grub-core/kern/file.c create mode 100644 grub-core/kern/fs.c create mode 100644 grub-core/kern/generic/millisleep.c create mode 100644 grub-core/kern/generic/rtc_get_time_ms.c create mode 100644 grub-core/kern/i386/coreboot/cbtable.c create mode 100644 grub-core/kern/i386/coreboot/init.c create mode 100644 grub-core/kern/i386/coreboot/startup.S create mode 100644 grub-core/kern/i386/dl.c create mode 100644 grub-core/kern/i386/efi/init.c create mode 100644 grub-core/kern/i386/efi/startup.S create mode 100644 grub-core/kern/i386/efi/tsc.c create mode 100644 grub-core/kern/i386/ieee1275/startup.S create mode 100644 grub-core/kern/i386/int.S create mode 100644 grub-core/kern/i386/multiboot_mmap.c create mode 100644 grub-core/kern/i386/pc/acpi.c create mode 100644 grub-core/kern/i386/pc/init.c create mode 100644 grub-core/kern/i386/pc/mmap.c create mode 100644 grub-core/kern/i386/pc/startup.S create mode 100644 grub-core/kern/i386/qemu/init.c create mode 100644 grub-core/kern/i386/qemu/mmap.c create mode 100644 grub-core/kern/i386/qemu/startup.S create mode 100644 grub-core/kern/i386/realmode.S create mode 100644 grub-core/kern/i386/tsc.c create mode 100644 grub-core/kern/i386/tsc_pit.c create mode 100644 grub-core/kern/i386/tsc_pmtimer.c create mode 100644 grub-core/kern/i386/xen/hypercall.S create mode 100644 grub-core/kern/i386/xen/pvh.c create mode 100644 grub-core/kern/i386/xen/startup.S create mode 100644 grub-core/kern/i386/xen/startup_pvh.S create mode 100644 grub-core/kern/i386/xen/tsc.c create mode 100644 grub-core/kern/ia64/cache.c create mode 100644 grub-core/kern/ia64/dl.c create mode 100644 grub-core/kern/ia64/dl_helper.c create mode 100644 grub-core/kern/ia64/efi/init.c create mode 100644 grub-core/kern/ia64/efi/startup.S create mode 100644 grub-core/kern/ieee1275/cmain.c create mode 100644 grub-core/kern/ieee1275/ieee1275.c create mode 100644 grub-core/kern/ieee1275/init.c create mode 100644 grub-core/kern/ieee1275/mmap.c create mode 100644 grub-core/kern/ieee1275/openfw.c create mode 100644 grub-core/kern/list.c create mode 100644 grub-core/kern/lockdown.c create mode 100644 grub-core/kern/main.c create mode 100644 grub-core/kern/mips/arc/init.c create mode 100644 grub-core/kern/mips/cache.S create mode 100644 grub-core/kern/mips/cache_flush.S create mode 100644 grub-core/kern/mips/dl.c create mode 100644 grub-core/kern/mips/init.c create mode 100644 grub-core/kern/mips/loongson/init.c create mode 100644 grub-core/kern/mips/qemu_mips/init.c create mode 100644 grub-core/kern/mips/startup.S create mode 100644 grub-core/kern/misc.c create mode 100644 grub-core/kern/mm.c create mode 100644 grub-core/kern/parser.c create mode 100644 grub-core/kern/partition.c create mode 100644 grub-core/kern/powerpc/cache.S create mode 100644 grub-core/kern/powerpc/cache_flush.S create mode 100644 grub-core/kern/powerpc/compiler-rt.S create mode 100644 grub-core/kern/powerpc/dl.c create mode 100644 grub-core/kern/powerpc/ieee1275/startup.S create mode 100644 grub-core/kern/rescue_parser.c create mode 100644 grub-core/kern/rescue_reader.c create mode 100644 grub-core/kern/riscv/cache.c create mode 100644 grub-core/kern/riscv/cache_flush.S create mode 100644 grub-core/kern/riscv/dl.c create mode 100644 grub-core/kern/riscv/efi/init.c create mode 100644 grub-core/kern/riscv/efi/startup.S create mode 100644 grub-core/kern/sparc64/cache.S create mode 100644 grub-core/kern/sparc64/dl.c create mode 100644 grub-core/kern/sparc64/ieee1275/crt0.S create mode 100644 grub-core/kern/sparc64/ieee1275/ieee1275.c create mode 100644 grub-core/kern/term.c create mode 100644 grub-core/kern/time.c create mode 100644 grub-core/kern/uboot/hw.c create mode 100644 grub-core/kern/uboot/init.c create mode 100644 grub-core/kern/uboot/uboot.c create mode 100644 grub-core/kern/verifiers.c create mode 100644 grub-core/kern/vga_init.c create mode 100644 grub-core/kern/x86_64/dl.c create mode 100644 grub-core/kern/x86_64/efi/callwrap.S create mode 100644 grub-core/kern/x86_64/efi/startup.S create mode 100644 grub-core/kern/x86_64/xen/hypercall.S create mode 100644 grub-core/kern/x86_64/xen/startup.S create mode 100644 grub-core/kern/xen/init.c create mode 100644 grub-core/lib/LzFind.c create mode 100644 grub-core/lib/LzmaDec.c create mode 100644 grub-core/lib/LzmaEnc.c create mode 100644 grub-core/lib/adler32.c create mode 100644 grub-core/lib/arc/datetime.c create mode 100644 grub-core/lib/arg.c create mode 100644 grub-core/lib/arm/setjmp.S create mode 100644 grub-core/lib/arm64/setjmp.S create mode 100644 grub-core/lib/backtrace.c create mode 100644 grub-core/lib/cmdline.c create mode 100644 grub-core/lib/cmos_datetime.c create mode 100644 grub-core/lib/crc.c create mode 100644 grub-core/lib/crc64.c create mode 100644 grub-core/lib/crypto.c create mode 100644 grub-core/lib/datetime.c create mode 100644 grub-core/lib/disk.c create mode 100644 grub-core/lib/division.c create mode 100644 grub-core/lib/dummy/datetime.c create mode 100644 grub-core/lib/dummy/halt.c create mode 100644 grub-core/lib/dummy/reboot.c create mode 100644 grub-core/lib/efi/datetime.c create mode 100644 grub-core/lib/efi/halt.c create mode 100644 grub-core/lib/efi/relocator.c create mode 100644 grub-core/lib/emu/halt.c create mode 100644 grub-core/lib/envblk.c create mode 100644 grub-core/lib/fake_module.c create mode 100644 grub-core/lib/fdt.c create mode 100644 grub-core/lib/getline.c create mode 100644 grub-core/lib/gnulib-patches/fix-base64.patch create mode 100644 grub-core/lib/gnulib-patches/fix-null-deref.patch create mode 100644 grub-core/lib/gnulib-patches/fix-null-state-deref.patch create mode 100644 grub-core/lib/gnulib-patches/fix-regcomp-uninit-token.patch create mode 100644 grub-core/lib/gnulib-patches/fix-regexec-null-deref.patch create mode 100644 grub-core/lib/gnulib-patches/fix-uninit-structure.patch create mode 100644 grub-core/lib/gnulib-patches/fix-unused-value.patch create mode 100644 grub-core/lib/gnulib-patches/fix-width.patch create mode 100644 grub-core/lib/gnulib-patches/no-abort.patch create mode 100644 grub-core/lib/gnulib/Makefile.am create mode 100644 grub-core/lib/gnulib/Makefile.in create mode 100644 grub-core/lib/gnulib/_Noreturn.h create mode 100644 grub-core/lib/gnulib/alloca.c create mode 100644 grub-core/lib/gnulib/alloca.in.h create mode 100644 grub-core/lib/gnulib/arg-nonnull.h create mode 100644 grub-core/lib/gnulib/argp-ba.c create mode 100644 grub-core/lib/gnulib/argp-eexst.c create mode 100644 grub-core/lib/gnulib/argp-fmtstream.c create mode 100644 grub-core/lib/gnulib/argp-fmtstream.h create mode 100644 grub-core/lib/gnulib/argp-fs-xinl.c create mode 100644 grub-core/lib/gnulib/argp-help.c create mode 100644 grub-core/lib/gnulib/argp-namefrob.h create mode 100644 grub-core/lib/gnulib/argp-parse.c create mode 100644 grub-core/lib/gnulib/argp-pin.c create mode 100644 grub-core/lib/gnulib/argp-pv.c create mode 100644 grub-core/lib/gnulib/argp-pvh.c create mode 100644 grub-core/lib/gnulib/argp-xinl.c create mode 100644 grub-core/lib/gnulib/argp.h create mode 100644 grub-core/lib/gnulib/asnprintf.c create mode 100644 grub-core/lib/gnulib/assure.h create mode 100644 grub-core/lib/gnulib/base64.c create mode 100644 grub-core/lib/gnulib/base64.h create mode 100644 grub-core/lib/gnulib/basename-lgpl.c create mode 100644 grub-core/lib/gnulib/btowc.c create mode 100644 grub-core/lib/gnulib/c++defs.h create mode 100644 grub-core/lib/gnulib/cdefs.h create mode 100644 grub-core/lib/gnulib/chdir-long.c create mode 100644 grub-core/lib/gnulib/chdir-long.h create mode 100644 grub-core/lib/gnulib/cloexec.c create mode 100644 grub-core/lib/gnulib/cloexec.h create mode 100644 grub-core/lib/gnulib/close.c create mode 100644 grub-core/lib/gnulib/dirent.in.h create mode 100644 grub-core/lib/gnulib/dirfd.c create mode 100644 grub-core/lib/gnulib/dirname-lgpl.c create mode 100644 grub-core/lib/gnulib/dirname.h create mode 100644 grub-core/lib/gnulib/dosname.h create mode 100644 grub-core/lib/gnulib/dup-safer-flag.c create mode 100644 grub-core/lib/gnulib/dup-safer.c create mode 100644 grub-core/lib/gnulib/dup2.c create mode 100644 grub-core/lib/gnulib/errno.in.h create mode 100644 grub-core/lib/gnulib/error.c create mode 100644 grub-core/lib/gnulib/error.h create mode 100644 grub-core/lib/gnulib/exitfail.c create mode 100644 grub-core/lib/gnulib/exitfail.h create mode 100644 grub-core/lib/gnulib/fchdir.c create mode 100644 grub-core/lib/gnulib/fcntl.c create mode 100644 grub-core/lib/gnulib/fcntl.in.h create mode 100644 grub-core/lib/gnulib/fd-hook.c create mode 100644 grub-core/lib/gnulib/fd-hook.h create mode 100644 grub-core/lib/gnulib/fd-safer-flag.c create mode 100644 grub-core/lib/gnulib/fd-safer.c create mode 100644 grub-core/lib/gnulib/filename.h create mode 100644 grub-core/lib/gnulib/filenamecat-lgpl.c create mode 100644 grub-core/lib/gnulib/filenamecat.h create mode 100644 grub-core/lib/gnulib/flexmember.h create mode 100644 grub-core/lib/gnulib/float+.h create mode 100644 grub-core/lib/gnulib/float.c create mode 100644 grub-core/lib/gnulib/float.in.h create mode 100644 grub-core/lib/gnulib/fnmatch.c create mode 100644 grub-core/lib/gnulib/fnmatch.in.h create mode 100644 grub-core/lib/gnulib/fnmatch_loop.c create mode 100644 grub-core/lib/gnulib/fstat.c create mode 100644 grub-core/lib/gnulib/getcwd-lgpl.c create mode 100644 grub-core/lib/gnulib/getdelim.c create mode 100644 grub-core/lib/gnulib/getdtablesize.c create mode 100644 grub-core/lib/gnulib/getline.c create mode 100644 grub-core/lib/gnulib/getopt-cdefs.in.h create mode 100644 grub-core/lib/gnulib/getopt-core.h create mode 100644 grub-core/lib/gnulib/getopt-ext.h create mode 100644 grub-core/lib/gnulib/getopt-pfx-core.h create mode 100644 grub-core/lib/gnulib/getopt-pfx-ext.h create mode 100644 grub-core/lib/gnulib/getopt.c create mode 100644 grub-core/lib/gnulib/getopt.in.h create mode 100644 grub-core/lib/gnulib/getopt1.c create mode 100644 grub-core/lib/gnulib/getopt_int.h create mode 100644 grub-core/lib/gnulib/getprogname.c create mode 100644 grub-core/lib/gnulib/getprogname.h create mode 100644 grub-core/lib/gnulib/gettext.h create mode 100644 grub-core/lib/gnulib/glthread/lock.c create mode 100644 grub-core/lib/gnulib/glthread/lock.h create mode 100644 grub-core/lib/gnulib/glthread/threadlib.c create mode 100644 grub-core/lib/gnulib/hard-locale.c create mode 100644 grub-core/lib/gnulib/hard-locale.h create mode 100644 grub-core/lib/gnulib/intprops.h create mode 100644 grub-core/lib/gnulib/itold.c create mode 100644 grub-core/lib/gnulib/langinfo.in.h create mode 100644 grub-core/lib/gnulib/libc-config.h create mode 100644 grub-core/lib/gnulib/limits.in.h create mode 100644 grub-core/lib/gnulib/localcharset.c create mode 100644 grub-core/lib/gnulib/localcharset.h create mode 100644 grub-core/lib/gnulib/locale.in.h create mode 100644 grub-core/lib/gnulib/localeconv.c create mode 100644 grub-core/lib/gnulib/malloc.c create mode 100644 grub-core/lib/gnulib/malloca.c create mode 100644 grub-core/lib/gnulib/malloca.h create mode 100644 grub-core/lib/gnulib/mbrtowc.c create mode 100644 grub-core/lib/gnulib/mbsinit.c create mode 100644 grub-core/lib/gnulib/mbsrtowcs-impl.h create mode 100644 grub-core/lib/gnulib/mbsrtowcs-state.c create mode 100644 grub-core/lib/gnulib/mbsrtowcs.c create mode 100644 grub-core/lib/gnulib/mbswidth.c create mode 100644 grub-core/lib/gnulib/mbswidth.h create mode 100644 grub-core/lib/gnulib/mbtowc-impl.h create mode 100644 grub-core/lib/gnulib/mbtowc.c create mode 100644 grub-core/lib/gnulib/memchr.c create mode 100644 grub-core/lib/gnulib/memchr.valgrind create mode 100644 grub-core/lib/gnulib/mempcpy.c create mode 100644 grub-core/lib/gnulib/memrchr.c create mode 100644 grub-core/lib/gnulib/msvc-inval.c create mode 100644 grub-core/lib/gnulib/msvc-inval.h create mode 100644 grub-core/lib/gnulib/msvc-nothrow.c create mode 100644 grub-core/lib/gnulib/msvc-nothrow.h create mode 100644 grub-core/lib/gnulib/nl_langinfo.c create mode 100644 grub-core/lib/gnulib/open.c create mode 100644 grub-core/lib/gnulib/openat-die.c create mode 100644 grub-core/lib/gnulib/openat-priv.h create mode 100644 grub-core/lib/gnulib/openat-proc.c create mode 100644 grub-core/lib/gnulib/openat.c create mode 100644 grub-core/lib/gnulib/openat.h create mode 100644 grub-core/lib/gnulib/pathmax.h create mode 100644 grub-core/lib/gnulib/pipe-safer.c create mode 100644 grub-core/lib/gnulib/printf-args.c create mode 100644 grub-core/lib/gnulib/printf-args.h create mode 100644 grub-core/lib/gnulib/printf-parse.c create mode 100644 grub-core/lib/gnulib/printf-parse.h create mode 100644 grub-core/lib/gnulib/progname.c create mode 100644 grub-core/lib/gnulib/progname.h create mode 100644 grub-core/lib/gnulib/rawmemchr.c create mode 100644 grub-core/lib/gnulib/rawmemchr.valgrind create mode 100644 grub-core/lib/gnulib/realloc.c create mode 100644 grub-core/lib/gnulib/regcomp.c create mode 100644 grub-core/lib/gnulib/regex.c create mode 100644 grub-core/lib/gnulib/regex.h create mode 100644 grub-core/lib/gnulib/regex_internal.c create mode 100644 grub-core/lib/gnulib/regex_internal.h create mode 100644 grub-core/lib/gnulib/regexec.c create mode 100644 grub-core/lib/gnulib/save-cwd.c create mode 100644 grub-core/lib/gnulib/save-cwd.h create mode 100644 grub-core/lib/gnulib/size_max.h create mode 100644 grub-core/lib/gnulib/sleep.c create mode 100644 grub-core/lib/gnulib/stat-time.c create mode 100644 grub-core/lib/gnulib/stat-time.h create mode 100644 grub-core/lib/gnulib/stat-w32.c create mode 100644 grub-core/lib/gnulib/stat-w32.h create mode 100644 grub-core/lib/gnulib/stat.c create mode 100644 grub-core/lib/gnulib/stdalign.in.h create mode 100644 grub-core/lib/gnulib/stdbool.in.h create mode 100644 grub-core/lib/gnulib/stddef.in.h create mode 100644 grub-core/lib/gnulib/stdint.in.h create mode 100644 grub-core/lib/gnulib/stdio.in.h create mode 100644 grub-core/lib/gnulib/stdlib.in.h create mode 100644 grub-core/lib/gnulib/strcasecmp.c create mode 100644 grub-core/lib/gnulib/strchrnul.c create mode 100644 grub-core/lib/gnulib/strchrnul.valgrind create mode 100644 grub-core/lib/gnulib/strdup.c create mode 100644 grub-core/lib/gnulib/streq.h create mode 100644 grub-core/lib/gnulib/strerror-override.c create mode 100644 grub-core/lib/gnulib/strerror-override.h create mode 100644 grub-core/lib/gnulib/strerror.c create mode 100644 grub-core/lib/gnulib/string.in.h create mode 100644 grub-core/lib/gnulib/strings.in.h create mode 100644 grub-core/lib/gnulib/stripslash.c create mode 100644 grub-core/lib/gnulib/strncasecmp.c create mode 100644 grub-core/lib/gnulib/strndup.c create mode 100644 grub-core/lib/gnulib/strnlen.c create mode 100644 grub-core/lib/gnulib/strnlen1.c create mode 100644 grub-core/lib/gnulib/strnlen1.h create mode 100644 grub-core/lib/gnulib/sys_stat.in.h create mode 100644 grub-core/lib/gnulib/sys_types.in.h create mode 100644 grub-core/lib/gnulib/sysexits.in.h create mode 100644 grub-core/lib/gnulib/time.in.h create mode 100644 grub-core/lib/gnulib/unistd--.h create mode 100644 grub-core/lib/gnulib/unistd-safer.h create mode 100644 grub-core/lib/gnulib/unistd.c create mode 100644 grub-core/lib/gnulib/unistd.in.h create mode 100644 grub-core/lib/gnulib/unitypes.in.h create mode 100644 grub-core/lib/gnulib/uniwidth.in.h create mode 100644 grub-core/lib/gnulib/uniwidth/cjk.h create mode 100644 grub-core/lib/gnulib/uniwidth/width.c create mode 100644 grub-core/lib/gnulib/vasnprintf.c create mode 100644 grub-core/lib/gnulib/vasnprintf.h create mode 100644 grub-core/lib/gnulib/verify.h create mode 100644 grub-core/lib/gnulib/vsnprintf.c create mode 100644 grub-core/lib/gnulib/warn-on-use.h create mode 100644 grub-core/lib/gnulib/wchar.in.h create mode 100644 grub-core/lib/gnulib/wcrtomb.c create mode 100644 grub-core/lib/gnulib/wctype-h.c create mode 100644 grub-core/lib/gnulib/wctype.in.h create mode 100644 grub-core/lib/gnulib/wcwidth.c create mode 100644 grub-core/lib/gnulib/xalloc-oversized.h create mode 100644 grub-core/lib/gnulib/xsize.c create mode 100644 grub-core/lib/gnulib/xsize.h create mode 100644 grub-core/lib/hexdump.c create mode 100644 grub-core/lib/i386/backtrace.c create mode 100644 grub-core/lib/i386/halt.c create mode 100644 grub-core/lib/i386/pc/biosnum.c create mode 100644 grub-core/lib/i386/pc/vesa_modes_table.c create mode 100644 grub-core/lib/i386/random.c create mode 100644 grub-core/lib/i386/reboot.c create mode 100644 grub-core/lib/i386/reboot_trampoline.S create mode 100644 grub-core/lib/i386/relocator.c create mode 100644 grub-core/lib/i386/relocator16.S create mode 100644 grub-core/lib/i386/relocator32.S create mode 100644 grub-core/lib/i386/relocator64.S create mode 100644 grub-core/lib/i386/relocator_asm.S create mode 100644 grub-core/lib/i386/relocator_common.S create mode 100644 grub-core/lib/i386/relocator_common_c.c create mode 100644 grub-core/lib/i386/setjmp.S create mode 100644 grub-core/lib/i386/xen/relocator.S create mode 100644 grub-core/lib/ia64/longjmp.S create mode 100644 grub-core/lib/ia64/setjmp.S create mode 100644 grub-core/lib/ieee1275/cmos.c create mode 100644 grub-core/lib/ieee1275/datetime.c create mode 100644 grub-core/lib/ieee1275/halt.c create mode 100644 grub-core/lib/ieee1275/reboot.c create mode 100644 grub-core/lib/ieee1275/relocator.c create mode 100644 grub-core/lib/json/jsmn.h create mode 100644 grub-core/lib/json/json.c create mode 100644 grub-core/lib/json/json.h create mode 100644 grub-core/lib/legacy_parse.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/ChangeLog create mode 100644 grub-core/lib/libgcrypt-grub/cipher/arcfour.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/bithelp.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/blowfish.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/bufhelp.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/cast5.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/cipher.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/crc.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/crypto.lst create mode 100644 grub-core/lib/libgcrypt-grub/cipher/des.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/dsa.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/g10lib.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/hash-common.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/idea.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/init.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/md4.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/md5.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/memory.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rfc2268.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rijndael-tables.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rijndael.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rmd.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rmd160.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rsa.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/seed.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/serpent.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha1.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha256.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha512.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/tiger.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/twofish.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/types.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/whirlpool.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/Manifest create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/distfiles create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpi-asm-defs.h create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-add1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-lshift.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-mul1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-mul2.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-mul3.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-rshift.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/mpih-sub1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/generic/udiv-w-sdiv.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/longlong.h create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-add.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-asm-defs.h create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-bit.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-cmp.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-div.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-gcd.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-inline.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-inline.h create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-inv.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-mod.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-mpow.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpicoder.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-add1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-div.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-lshift.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-mul.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-mul1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-mul2.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-mul3.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-rshift.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpih-sub1.c create mode 100644 grub-core/lib/libgcrypt-grub/mpi/mpiutil.c create mode 100644 grub-core/lib/libgcrypt-grub/src/ath.h create mode 100644 grub-core/lib/libgcrypt-grub/src/cipher-proto.h create mode 100644 grub-core/lib/libgcrypt-grub/src/cipher.h create mode 100644 grub-core/lib/libgcrypt-grub/src/g10lib.h create mode 100644 grub-core/lib/libgcrypt-grub/src/gcrypt-module.h create mode 100644 grub-core/lib/libgcrypt-grub/src/hmac256.h create mode 100644 grub-core/lib/libgcrypt-grub/src/mpi.h create mode 100644 grub-core/lib/libgcrypt-grub/src/secmem.h create mode 100644 grub-core/lib/libgcrypt-grub/src/stdmem.h create mode 100644 grub-core/lib/libgcrypt-grub/src/types.h create mode 100644 grub-core/lib/libgcrypt-grub/src/visibility.h create mode 100644 grub-core/lib/libgcrypt/cipher/ChangeLog create mode 100644 grub-core/lib/libgcrypt/cipher/ChangeLog-2011 create mode 100644 grub-core/lib/libgcrypt/cipher/Makefile.am create mode 100644 grub-core/lib/libgcrypt/cipher/Manifest create mode 100644 grub-core/lib/libgcrypt/cipher/ac.c create mode 100644 grub-core/lib/libgcrypt/cipher/arcfour.c create mode 100644 grub-core/lib/libgcrypt/cipher/bithelp.h create mode 100644 grub-core/lib/libgcrypt/cipher/blowfish.c create mode 100644 grub-core/lib/libgcrypt/cipher/bufhelp.h create mode 100644 grub-core/lib/libgcrypt/cipher/camellia-glue.c create mode 100644 grub-core/lib/libgcrypt/cipher/camellia.c create mode 100644 grub-core/lib/libgcrypt/cipher/camellia.h create mode 100644 grub-core/lib/libgcrypt/cipher/cast5.c create mode 100644 grub-core/lib/libgcrypt/cipher/cipher.c create mode 100644 grub-core/lib/libgcrypt/cipher/crc.c create mode 100644 grub-core/lib/libgcrypt/cipher/des.c create mode 100644 grub-core/lib/libgcrypt/cipher/dsa.c create mode 100644 grub-core/lib/libgcrypt/cipher/ecc.c create mode 100644 grub-core/lib/libgcrypt/cipher/elgamal.c create mode 100644 grub-core/lib/libgcrypt/cipher/hash-common.c create mode 100644 grub-core/lib/libgcrypt/cipher/hash-common.h create mode 100644 grub-core/lib/libgcrypt/cipher/hmac-tests.c create mode 100644 grub-core/lib/libgcrypt/cipher/idea.c create mode 100644 grub-core/lib/libgcrypt/cipher/kdf.c create mode 100644 grub-core/lib/libgcrypt/cipher/md.c create mode 100644 grub-core/lib/libgcrypt/cipher/md4.c create mode 100644 grub-core/lib/libgcrypt/cipher/md5.c create mode 100644 grub-core/lib/libgcrypt/cipher/primegen.c create mode 100644 grub-core/lib/libgcrypt/cipher/pubkey.c create mode 100644 grub-core/lib/libgcrypt/cipher/rfc2268.c create mode 100644 grub-core/lib/libgcrypt/cipher/rijndael-tables.h create mode 100644 grub-core/lib/libgcrypt/cipher/rijndael.c create mode 100644 grub-core/lib/libgcrypt/cipher/rmd.h create mode 100644 grub-core/lib/libgcrypt/cipher/rmd160.c create mode 100644 grub-core/lib/libgcrypt/cipher/rsa.c create mode 100644 grub-core/lib/libgcrypt/cipher/seed.c create mode 100644 grub-core/lib/libgcrypt/cipher/serpent.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha1.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha256.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha512.c create mode 100644 grub-core/lib/libgcrypt/cipher/test-getrusage.c create mode 100644 grub-core/lib/libgcrypt/cipher/tiger.c create mode 100644 grub-core/lib/libgcrypt/cipher/twofish.c create mode 100644 grub-core/lib/libgcrypt/cipher/whirlpool.c create mode 100644 grub-core/lib/libgcrypt/mpi/ChangeLog-2011 create mode 100644 grub-core/lib/libgcrypt/mpi/Makefile.am create mode 100644 grub-core/lib/libgcrypt/mpi/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/README create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/alpha/udiv-qrnnd.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpi-asm-defs.h create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/amd64/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/config.links create mode 100644 grub-core/lib/libgcrypt/mpi/ec.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/generic/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpi-asm-defs.h create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-add1.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-lshift.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-mul1.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-mul2.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-mul3.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-rshift.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/mpih-sub1.c create mode 100644 grub-core/lib/libgcrypt/mpi/generic/udiv-w-sdiv.c create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/README create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/hppa/udiv-qrnnd.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/i386/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/i386/syntax.h create mode 100644 grub-core/lib/libgcrypt/mpi/i586/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/i586/README create mode 100644 grub-core/lib/libgcrypt/mpi/i586/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/i586/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/longlong.h create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mc68020/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mc68020/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mc68020/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mc68020/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mc68020/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/m68k/syntax.h create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/README create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpi-asm-defs.h create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/mips3/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-add.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-bit.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-cmp.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-div.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-gcd.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-inline.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-inline.h create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-internal.h create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-inv.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-mod.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-mpow.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-mul.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-pow.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpi-scan.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpicoder.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpih-div.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpih-mul.c create mode 100644 grub-core/lib/libgcrypt/mpi/mpiutil.c create mode 100644 grub-core/lib/libgcrypt/mpi/pa7100/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/pa7100/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/pa7100/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/pa7100/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/README create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/mmx/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/mmx/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/mmx/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/pentium4/sse2/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/power/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/power/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/mpih-sub1.S create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc32/syntax.h create mode 100644 grub-core/lib/libgcrypt/mpi/powerpc64/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/mpih-add1.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/mpih-lshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/mpih-rshift.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32/udiv.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32v8/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32v8/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul1.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul2.S create mode 100644 grub-core/lib/libgcrypt/mpi/sparc32v8/mpih-mul3.S create mode 100644 grub-core/lib/libgcrypt/mpi/supersparc/Manifest create mode 100644 grub-core/lib/libgcrypt/mpi/supersparc/distfiles create mode 100644 grub-core/lib/libgcrypt/mpi/supersparc/udiv.S create mode 100644 grub-core/lib/libgcrypt/src/ChangeLog-2011 create mode 100644 grub-core/lib/libgcrypt/src/Makefile.am create mode 100644 grub-core/lib/libgcrypt/src/Manifest create mode 100644 grub-core/lib/libgcrypt/src/ath.c create mode 100644 grub-core/lib/libgcrypt/src/ath.h create mode 100644 grub-core/lib/libgcrypt/src/cipher-proto.h create mode 100644 grub-core/lib/libgcrypt/src/cipher.h create mode 100644 grub-core/lib/libgcrypt/src/dumpsexp.c create mode 100644 grub-core/lib/libgcrypt/src/fips.c create mode 100644 grub-core/lib/libgcrypt/src/g10lib.h create mode 100644 grub-core/lib/libgcrypt/src/gcrypt-module.h create mode 100644 grub-core/lib/libgcrypt/src/gcrypt.h.in create mode 100644 grub-core/lib/libgcrypt/src/gcryptrnd.c create mode 100644 grub-core/lib/libgcrypt/src/getrandom.c create mode 100644 grub-core/lib/libgcrypt/src/global.c create mode 100644 grub-core/lib/libgcrypt/src/hmac256.c create mode 100644 grub-core/lib/libgcrypt/src/hmac256.h create mode 100644 grub-core/lib/libgcrypt/src/hwfeatures.c create mode 100644 grub-core/lib/libgcrypt/src/libgcrypt-config.in create mode 100644 grub-core/lib/libgcrypt/src/libgcrypt.def create mode 100644 grub-core/lib/libgcrypt/src/libgcrypt.m4 create mode 100644 grub-core/lib/libgcrypt/src/libgcrypt.vers create mode 100644 grub-core/lib/libgcrypt/src/misc.c create mode 100644 grub-core/lib/libgcrypt/src/missing-string.c create mode 100644 grub-core/lib/libgcrypt/src/module.c create mode 100644 grub-core/lib/libgcrypt/src/mpi.h create mode 100644 grub-core/lib/libgcrypt/src/secmem.c create mode 100644 grub-core/lib/libgcrypt/src/secmem.h create mode 100644 grub-core/lib/libgcrypt/src/sexp.c create mode 100644 grub-core/lib/libgcrypt/src/stdmem.c create mode 100644 grub-core/lib/libgcrypt/src/stdmem.h create mode 100644 grub-core/lib/libgcrypt/src/types.h create mode 100644 grub-core/lib/libgcrypt/src/versioninfo.rc.in create mode 100644 grub-core/lib/libgcrypt/src/visibility.c create mode 100644 grub-core/lib/libgcrypt/src/visibility.h create mode 100644 grub-core/lib/libgcrypt_wrap/cipher_wrap.h create mode 100644 grub-core/lib/libgcrypt_wrap/mem.c create mode 100644 grub-core/lib/minilzo/lzoconf.h create mode 100644 grub-core/lib/minilzo/lzodefs.h create mode 100644 grub-core/lib/minilzo/minilzo.c create mode 100644 grub-core/lib/minilzo/minilzo.h create mode 100644 grub-core/lib/mips/arc/reboot.c create mode 100644 grub-core/lib/mips/loongson/reboot.c create mode 100644 grub-core/lib/mips/qemu_mips/reboot.c create mode 100644 grub-core/lib/mips/relocator.c create mode 100644 grub-core/lib/mips/relocator_asm.S create mode 100644 grub-core/lib/mips/setjmp.S create mode 100644 grub-core/lib/pbkdf2.c create mode 100644 grub-core/lib/posix_wrap/assert.h create mode 100644 grub-core/lib/posix_wrap/ctype.h create mode 100644 grub-core/lib/posix_wrap/errno.h create mode 100644 grub-core/lib/posix_wrap/inttypes.h create mode 100644 grub-core/lib/posix_wrap/langinfo.h create mode 100644 grub-core/lib/posix_wrap/limits.h create mode 100644 grub-core/lib/posix_wrap/localcharset.h create mode 100644 grub-core/lib/posix_wrap/locale.h create mode 100644 grub-core/lib/posix_wrap/stdint.h create mode 100644 grub-core/lib/posix_wrap/stdio.h create mode 100644 grub-core/lib/posix_wrap/stdlib.h create mode 100644 grub-core/lib/posix_wrap/string.h create mode 100644 grub-core/lib/posix_wrap/sys/types.h create mode 100644 grub-core/lib/posix_wrap/unistd.h create mode 100644 grub-core/lib/posix_wrap/wchar.h create mode 100644 grub-core/lib/posix_wrap/wctype.h create mode 100644 grub-core/lib/powerpc/relocator.c create mode 100644 grub-core/lib/powerpc/relocator_asm.S create mode 100644 grub-core/lib/powerpc/setjmp.S create mode 100644 grub-core/lib/priority_queue.c create mode 100644 grub-core/lib/progress.c create mode 100644 grub-core/lib/random.c create mode 100644 grub-core/lib/reed_solomon.c create mode 100644 grub-core/lib/relocator.c create mode 100644 grub-core/lib/riscv/setjmp.S create mode 100644 grub-core/lib/setjmp.S create mode 100644 grub-core/lib/sparc64/setjmp.S create mode 100644 grub-core/lib/syslinux_parse.c create mode 100644 grub-core/lib/uboot/reboot.c create mode 100644 grub-core/lib/x86_64/efi/relocator.c create mode 100644 grub-core/lib/x86_64/relocator_asm.S create mode 100644 grub-core/lib/x86_64/setjmp.S create mode 100644 grub-core/lib/x86_64/xen/relocator.S create mode 100644 grub-core/lib/xen/datetime.c create mode 100644 grub-core/lib/xen/halt.c create mode 100644 grub-core/lib/xen/reboot.c create mode 100644 grub-core/lib/xen/relocator.c create mode 100644 grub-core/lib/xzembed/xz.h create mode 100644 grub-core/lib/xzembed/xz_config.h create mode 100644 grub-core/lib/xzembed/xz_dec_bcj.c create mode 100644 grub-core/lib/xzembed/xz_dec_lzma2.c create mode 100644 grub-core/lib/xzembed/xz_dec_stream.c create mode 100644 grub-core/lib/xzembed/xz_lzma2.h create mode 100644 grub-core/lib/xzembed/xz_private.h create mode 100644 grub-core/lib/xzembed/xz_stream.h create mode 100644 grub-core/lib/zstd/bitstream.h create mode 100644 grub-core/lib/zstd/compiler.h create mode 100644 grub-core/lib/zstd/cpu.h create mode 100644 grub-core/lib/zstd/debug.c create mode 100644 grub-core/lib/zstd/debug.h create mode 100644 grub-core/lib/zstd/entropy_common.c create mode 100644 grub-core/lib/zstd/error_private.c create mode 100644 grub-core/lib/zstd/error_private.h create mode 100644 grub-core/lib/zstd/fse.h create mode 100644 grub-core/lib/zstd/fse_decompress.c create mode 100644 grub-core/lib/zstd/huf.h create mode 100644 grub-core/lib/zstd/huf_decompress.c create mode 100644 grub-core/lib/zstd/mem.h create mode 100644 grub-core/lib/zstd/module.c create mode 100644 grub-core/lib/zstd/xxhash.c create mode 100644 grub-core/lib/zstd/xxhash.h create mode 100644 grub-core/lib/zstd/zstd.h create mode 100644 grub-core/lib/zstd/zstd_common.c create mode 100644 grub-core/lib/zstd/zstd_decompress.c create mode 100644 grub-core/lib/zstd/zstd_errors.h create mode 100644 grub-core/lib/zstd/zstd_internal.h create mode 100644 grub-core/loader/aout.c create mode 100644 grub-core/loader/arm/linux.c create mode 100644 grub-core/loader/arm64/linux.c create mode 100644 grub-core/loader/arm64/xen_boot.c create mode 100644 grub-core/loader/efi/appleloader.c create mode 100644 grub-core/loader/efi/chainloader.c create mode 100644 grub-core/loader/efi/fdt.c create mode 100644 grub-core/loader/i386/bsd.c create mode 100644 grub-core/loader/i386/bsd32.c create mode 100644 grub-core/loader/i386/bsd64.c create mode 100644 grub-core/loader/i386/bsdXX.c create mode 100644 grub-core/loader/i386/bsd_pagetable.c create mode 100644 grub-core/loader/i386/coreboot/chainloader.c create mode 100644 grub-core/loader/i386/linux.c create mode 100644 grub-core/loader/i386/multiboot_mbi.c create mode 100644 grub-core/loader/i386/pc/chainloader.c create mode 100644 grub-core/loader/i386/pc/freedos.c create mode 100644 grub-core/loader/i386/pc/linux.c create mode 100644 grub-core/loader/i386/pc/ntldr.c create mode 100644 grub-core/loader/i386/pc/plan9.c create mode 100644 grub-core/loader/i386/pc/pxechainloader.c create mode 100644 grub-core/loader/i386/pc/truecrypt.c create mode 100644 grub-core/loader/i386/xen.c create mode 100644 grub-core/loader/i386/xen_file.c create mode 100644 grub-core/loader/i386/xen_file32.c create mode 100644 grub-core/loader/i386/xen_file64.c create mode 100644 grub-core/loader/i386/xen_fileXX.c create mode 100644 grub-core/loader/i386/xnu.c create mode 100644 grub-core/loader/ia64/efi/linux.c create mode 100644 grub-core/loader/linux.c create mode 100644 grub-core/loader/lzss.c create mode 100644 grub-core/loader/macho.c create mode 100644 grub-core/loader/macho32.c create mode 100644 grub-core/loader/macho64.c create mode 100644 grub-core/loader/machoXX.c create mode 100644 grub-core/loader/mips/linux.c create mode 100644 grub-core/loader/multiboot.c create mode 100644 grub-core/loader/multiboot_elfxx.c create mode 100644 grub-core/loader/multiboot_mbi2.c create mode 100644 grub-core/loader/powerpc/ieee1275/linux.c create mode 100644 grub-core/loader/riscv/linux.c create mode 100644 grub-core/loader/sparc64/ieee1275/linux.c create mode 100644 grub-core/loader/xnu.c create mode 100644 grub-core/loader/xnu_resume.c create mode 100644 grub-core/mmap/efi/mmap.c create mode 100644 grub-core/mmap/i386/mmap.c create mode 100644 grub-core/mmap/i386/pc/mmap.c create mode 100644 grub-core/mmap/i386/pc/mmap_helper.S create mode 100644 grub-core/mmap/i386/uppermem.c create mode 100644 grub-core/mmap/mips/uppermem.c create mode 100644 grub-core/mmap/mmap.c create mode 100644 grub-core/modinfo.sh.in create mode 100644 grub-core/net/arp.c create mode 100644 grub-core/net/bootp.c create mode 100644 grub-core/net/dns.c create mode 100644 grub-core/net/drivers/efi/efinet.c create mode 100644 grub-core/net/drivers/emu/emunet.c create mode 100644 grub-core/net/drivers/i386/pc/pxe.c create mode 100644 grub-core/net/drivers/ieee1275/ofnet.c create mode 100644 grub-core/net/drivers/uboot/ubootnet.c create mode 100644 grub-core/net/ethernet.c create mode 100644 grub-core/net/http.c create mode 100644 grub-core/net/icmp.c create mode 100644 grub-core/net/icmp6.c create mode 100644 grub-core/net/ip.c create mode 100644 grub-core/net/net.c create mode 100644 grub-core/net/netbuff.c create mode 100644 grub-core/net/tcp.c create mode 100644 grub-core/net/tftp.c create mode 100644 grub-core/net/udp.c create mode 100644 grub-core/normal/auth.c create mode 100644 grub-core/normal/autofs.c create mode 100644 grub-core/normal/charset.c create mode 100644 grub-core/normal/cmdline.c create mode 100644 grub-core/normal/color.c create mode 100644 grub-core/normal/completion.c create mode 100644 grub-core/normal/context.c create mode 100644 grub-core/normal/crypto.c create mode 100644 grub-core/normal/dyncmd.c create mode 100644 grub-core/normal/main.c create mode 100644 grub-core/normal/menu.c create mode 100644 grub-core/normal/menu_entry.c create mode 100644 grub-core/normal/menu_text.c create mode 100644 grub-core/normal/misc.c create mode 100644 grub-core/normal/term.c create mode 100644 grub-core/osdep/apple/getroot.c create mode 100644 grub-core/osdep/apple/hostdisk.c create mode 100644 grub-core/osdep/aros/config.c create mode 100644 grub-core/osdep/aros/getroot.c create mode 100644 grub-core/osdep/aros/hostdisk.c create mode 100644 grub-core/osdep/aros/relpath.c create mode 100644 grub-core/osdep/basic/compress.c create mode 100644 grub-core/osdep/basic/emunet.c create mode 100644 grub-core/osdep/basic/getroot.c create mode 100644 grub-core/osdep/basic/hostdisk.c create mode 100644 grub-core/osdep/basic/init.c create mode 100644 grub-core/osdep/basic/no_platform.c create mode 100644 grub-core/osdep/basic/ofpath.c create mode 100644 grub-core/osdep/basic/platform.c create mode 100644 grub-core/osdep/basic/random.c create mode 100644 grub-core/osdep/blocklist.c create mode 100644 grub-core/osdep/bsd/getroot.c create mode 100644 grub-core/osdep/bsd/hostdisk.c create mode 100644 grub-core/osdep/compress.c create mode 100644 grub-core/osdep/config.c create mode 100644 grub-core/osdep/cputime.c create mode 100644 grub-core/osdep/devmapper/getroot.c create mode 100644 grub-core/osdep/devmapper/hostdisk.c create mode 100644 grub-core/osdep/dl.c create mode 100644 grub-core/osdep/emuconsole.c create mode 100644 grub-core/osdep/emunet.c create mode 100644 grub-core/osdep/exec.c create mode 100644 grub-core/osdep/freebsd/getroot.c create mode 100644 grub-core/osdep/freebsd/hostdisk.c create mode 100644 grub-core/osdep/generic/blocklist.c create mode 100644 grub-core/osdep/getroot.c create mode 100644 grub-core/osdep/haiku/getroot.c create mode 100644 grub-core/osdep/haiku/hostdisk.c create mode 100644 grub-core/osdep/hostdisk.c create mode 100644 grub-core/osdep/hurd/getroot.c create mode 100644 grub-core/osdep/hurd/hostdisk.c create mode 100644 grub-core/osdep/init.c create mode 100644 grub-core/osdep/linux/blocklist.c create mode 100644 grub-core/osdep/linux/emunet.c create mode 100644 grub-core/osdep/linux/getroot.c create mode 100644 grub-core/osdep/linux/hostdisk.c create mode 100644 grub-core/osdep/linux/ofpath.c create mode 100644 grub-core/osdep/linux/platform.c create mode 100644 grub-core/osdep/ofpath.c create mode 100644 grub-core/osdep/password.c create mode 100644 grub-core/osdep/platform.c create mode 100644 grub-core/osdep/platform_unix.c create mode 100644 grub-core/osdep/random.c create mode 100644 grub-core/osdep/relpath.c create mode 100644 grub-core/osdep/sleep.c create mode 100644 grub-core/osdep/sun/getroot.c create mode 100644 grub-core/osdep/sun/hostdisk.c create mode 100644 grub-core/osdep/unix/compress.c create mode 100644 grub-core/osdep/unix/config.c create mode 100644 grub-core/osdep/unix/cputime.c create mode 100644 grub-core/osdep/unix/dl.c create mode 100644 grub-core/osdep/unix/emuconsole.c create mode 100644 grub-core/osdep/unix/exec.c create mode 100644 grub-core/osdep/unix/getroot.c create mode 100644 grub-core/osdep/unix/hostdisk.c create mode 100644 grub-core/osdep/unix/password.c create mode 100644 grub-core/osdep/unix/platform.c create mode 100644 grub-core/osdep/unix/random.c create mode 100644 grub-core/osdep/unix/relpath.c create mode 100644 grub-core/osdep/unix/sleep.c create mode 100644 grub-core/osdep/windows/blocklist.c create mode 100644 grub-core/osdep/windows/config.c create mode 100644 grub-core/osdep/windows/cputime.c create mode 100644 grub-core/osdep/windows/dl.c create mode 100644 grub-core/osdep/windows/emuconsole.c create mode 100644 grub-core/osdep/windows/getroot.c create mode 100644 grub-core/osdep/windows/hostdisk.c create mode 100644 grub-core/osdep/windows/init.c create mode 100644 grub-core/osdep/windows/password.c create mode 100644 grub-core/osdep/windows/platform.c create mode 100644 grub-core/osdep/windows/random.c create mode 100644 grub-core/osdep/windows/relpath.c create mode 100644 grub-core/osdep/windows/sleep.c create mode 100644 grub-core/partmap/acorn.c create mode 100644 grub-core/partmap/amiga.c create mode 100644 grub-core/partmap/apple.c create mode 100644 grub-core/partmap/bsdlabel.c create mode 100644 grub-core/partmap/dfly.c create mode 100644 grub-core/partmap/dvh.c create mode 100644 grub-core/partmap/gpt.c create mode 100644 grub-core/partmap/msdos.c create mode 100644 grub-core/partmap/plan.c create mode 100644 grub-core/partmap/sun.c create mode 100644 grub-core/partmap/sunpc.c create mode 100644 grub-core/parttool/msdospart.c create mode 100644 grub-core/script/argv.c create mode 100644 grub-core/script/execute.c create mode 100644 grub-core/script/function.c create mode 100644 grub-core/script/lexer.c create mode 100644 grub-core/script/main.c create mode 100644 grub-core/script/parser.y create mode 100644 grub-core/script/script.c create mode 100644 grub-core/script/yylex.l create mode 100644 grub-core/term/arc/console.c create mode 100644 grub-core/term/arc/serial.c create mode 100644 grub-core/term/arm/cros.c create mode 100644 grub-core/term/arm/cros_ec.c create mode 100644 grub-core/term/arm/pl050.c create mode 100644 grub-core/term/at_keyboard.c create mode 100644 grub-core/term/efi/console.c create mode 100644 grub-core/term/efi/serial.c create mode 100644 grub-core/term/gfxterm.c create mode 100644 grub-core/term/gfxterm_background.c create mode 100644 grub-core/term/i386/coreboot/cbmemc.c create mode 100644 grub-core/term/i386/pc/console.c create mode 100644 grub-core/term/i386/pc/mda_text.c create mode 100644 grub-core/term/i386/pc/vga_text.c create mode 100644 grub-core/term/ieee1275/console.c create mode 100644 grub-core/term/ieee1275/escc.c create mode 100644 grub-core/term/ieee1275/serial.c create mode 100644 grub-core/term/morse.c create mode 100644 grub-core/term/ns8250.c create mode 100644 grub-core/term/ps2.c create mode 100644 grub-core/term/serial.c create mode 100644 grub-core/term/spkmodem.c create mode 100644 grub-core/term/terminfo.c create mode 100644 grub-core/term/tparm.c create mode 100644 grub-core/term/uboot/console.c create mode 100644 grub-core/term/usb_keyboard.c create mode 100644 grub-core/term/xen/console.c create mode 100644 grub-core/tests/boot/kbsd.init-i386.S create mode 100644 grub-core/tests/boot/kbsd.init-x86_64.S create mode 100644 grub-core/tests/boot/kbsd.spec.txt create mode 100644 grub-core/tests/boot/kernel-8086.S create mode 100644 grub-core/tests/boot/kernel-i386.S create mode 100644 grub-core/tests/boot/kfreebsd-aout.cfg create mode 100644 grub-core/tests/boot/kfreebsd.cfg create mode 100644 grub-core/tests/boot/kfreebsd.init-i386.S create mode 100644 grub-core/tests/boot/kfreebsd.init-x86_64.S create mode 100644 grub-core/tests/boot/knetbsd.cfg create mode 100644 grub-core/tests/boot/kopenbsd.cfg create mode 100644 grub-core/tests/boot/kopenbsdlabel.txt create mode 100644 grub-core/tests/boot/linux-ppc.cfg create mode 100644 grub-core/tests/boot/linux.cfg create mode 100644 grub-core/tests/boot/linux.init-i386.S create mode 100644 grub-core/tests/boot/linux.init-mips.S create mode 100644 grub-core/tests/boot/linux.init-ppc.S create mode 100644 grub-core/tests/boot/linux.init-x86_64.S create mode 100644 grub-core/tests/boot/linux16.cfg create mode 100644 grub-core/tests/boot/multiboot.cfg create mode 100644 grub-core/tests/boot/multiboot2.cfg create mode 100644 grub-core/tests/boot/ntldr.cfg create mode 100644 grub-core/tests/boot/pc-chainloader.cfg create mode 100644 grub-core/tests/boot/qemu-shutdown-x86.S create mode 100644 grub-core/tests/bswap_test.c create mode 100644 grub-core/tests/checksums.h create mode 100644 grub-core/tests/cmdline_cat_test.c create mode 100644 grub-core/tests/cmp_test.c create mode 100644 grub-core/tests/ctz_test.c create mode 100644 grub-core/tests/div_test.c create mode 100644 grub-core/tests/example_functional_test.c create mode 100644 grub-core/tests/fake_input.c create mode 100644 grub-core/tests/gfxterm_menu.c create mode 100644 grub-core/tests/legacy_password_test.c create mode 100644 grub-core/tests/lib/functional_test.c create mode 100644 grub-core/tests/lib/test.c create mode 100644 grub-core/tests/mul_test.c create mode 100644 grub-core/tests/pbkdf2_test.c create mode 100644 grub-core/tests/setjmp_test.c create mode 100644 grub-core/tests/shift_test.c create mode 100644 grub-core/tests/signature_test.c create mode 100644 grub-core/tests/signatures.h create mode 100644 grub-core/tests/sleep_test.c create mode 100644 grub-core/tests/strtoull_test.c create mode 100644 grub-core/tests/test_blockarg.c create mode 100644 grub-core/tests/video_checksum.c create mode 100644 grub-core/tests/videotest_checksum.c create mode 100644 grub-core/tests/xnu_uuid_test.c create mode 100644 grub-core/unidata.c create mode 100644 grub-core/video/bitmap.c create mode 100644 grub-core/video/bitmap_scale.c create mode 100644 grub-core/video/bochs.c create mode 100644 grub-core/video/capture.c create mode 100644 grub-core/video/cirrus.c create mode 100644 grub-core/video/colors.c create mode 100644 grub-core/video/coreboot/cbfb.c create mode 100644 grub-core/video/efi_gop.c create mode 100644 grub-core/video/efi_uga.c create mode 100644 grub-core/video/emu/sdl.c create mode 100644 grub-core/video/fb/fbblit.c create mode 100644 grub-core/video/fb/fbfill.c create mode 100644 grub-core/video/fb/fbutil.c create mode 100644 grub-core/video/fb/video_fb.c create mode 100644 grub-core/video/i386/pc/vbe.c create mode 100644 grub-core/video/i386/pc/vga.c create mode 100644 grub-core/video/ieee1275.c create mode 100644 grub-core/video/radeon_fuloong2e.c create mode 100644 grub-core/video/radeon_yeeloong3a.c create mode 100644 grub-core/video/readers/jpeg.c create mode 100644 grub-core/video/readers/png.c create mode 100644 grub-core/video/readers/tga.c create mode 100644 grub-core/video/sis315_init.c create mode 100644 grub-core/video/sis315pro.c create mode 100644 grub-core/video/sm712.c create mode 100644 grub-core/video/sm712_init.c create mode 100644 grub-core/video/video.c create mode 100644 include/grub/acorn_filecore.h create mode 100644 include/grub/acpi.h create mode 100644 include/grub/aout.h create mode 100644 include/grub/arc/arc.h create mode 100644 include/grub/arc/console.h create mode 100644 include/grub/archelp.h create mode 100644 include/grub/arm/coreboot/console.h create mode 100644 include/grub/arm/coreboot/kernel.h create mode 100644 include/grub/arm/cros_ec.h create mode 100644 include/grub/arm/efi/memory.h create mode 100644 include/grub/arm/linux.h create mode 100644 include/grub/arm/reloc.h create mode 100644 include/grub/arm/setjmp.h create mode 100644 include/grub/arm/startup.h create mode 100644 include/grub/arm/system.h create mode 100644 include/grub/arm/time.h create mode 100644 include/grub/arm/types.h create mode 100644 include/grub/arm/uboot/kernel.h create mode 100644 include/grub/arm64/efi/memory.h create mode 100644 include/grub/arm64/linux.h create mode 100644 include/grub/arm64/reloc.h create mode 100644 include/grub/arm64/setjmp.h create mode 100644 include/grub/arm64/time.h create mode 100644 include/grub/arm64/types.h create mode 100644 include/grub/at_keyboard.h create mode 100644 include/grub/ata.h create mode 100644 include/grub/auth.h create mode 100644 include/grub/autoefi.h create mode 100644 include/grub/backtrace.h create mode 100644 include/grub/bitmap.h create mode 100644 include/grub/bitmap_scale.h create mode 100644 include/grub/boottime.h create mode 100644 include/grub/bsdlabel.h create mode 100644 include/grub/btrfs.h create mode 100644 include/grub/buffer.h create mode 100644 include/grub/bufio.h create mode 100644 include/grub/cache.h create mode 100644 include/grub/cbfs_core.h create mode 100644 include/grub/charset.h create mode 100644 include/grub/cmos.h create mode 100644 include/grub/color.h create mode 100644 include/grub/command.h create mode 100644 include/grub/compiler-rt-emu.h create mode 100644 include/grub/compiler-rt.h create mode 100644 include/grub/compiler.h create mode 100644 include/grub/coreboot/lbio.h create mode 100644 include/grub/crypto.h create mode 100644 include/grub/cryptodisk.h create mode 100644 include/grub/cs5536.h create mode 100644 include/grub/datetime.h create mode 100644 include/grub/decompressor.h create mode 100644 include/grub/deflate.h create mode 100644 include/grub/device.h create mode 100644 include/grub/disk.h create mode 100644 include/grub/diskfilter.h create mode 100644 include/grub/dl.h create mode 100644 include/grub/dma.h create mode 100644 include/grub/efi/api.h create mode 100644 include/grub/efi/console.h create mode 100644 include/grub/efi/console_control.h create mode 100644 include/grub/efi/disk.h create mode 100644 include/grub/efi/edid.h create mode 100644 include/grub/efi/efi.h create mode 100644 include/grub/efi/fdtload.h create mode 100644 include/grub/efi/graphics_output.h create mode 100644 include/grub/efi/memory.h create mode 100644 include/grub/efi/pci.h create mode 100644 include/grub/efi/pe32.h create mode 100644 include/grub/efi/sb.h create mode 100644 include/grub/efi/tpm.h create mode 100644 include/grub/efi/uga_draw.h create mode 100644 include/grub/efiemu/efiemu.h create mode 100644 include/grub/efiemu/runtime.h create mode 100644 include/grub/elf.h create mode 100644 include/grub/elfload.h create mode 100644 include/grub/emu/config.h create mode 100644 include/grub/emu/console.h create mode 100644 include/grub/emu/exec.h create mode 100644 include/grub/emu/getroot.h create mode 100644 include/grub/emu/hostdisk.h create mode 100644 include/grub/emu/hostfile.h create mode 100644 include/grub/emu/misc.h create mode 100644 include/grub/emu/net.h create mode 100644 include/grub/env.h create mode 100644 include/grub/env_private.h create mode 100644 include/grub/err.h create mode 100644 include/grub/exfat.h create mode 100644 include/grub/extcmd.h create mode 100644 include/grub/fat.h create mode 100644 include/grub/fbblit.h create mode 100644 include/grub/fbfill.h create mode 100644 include/grub/fbutil.h create mode 100644 include/grub/fdt.h create mode 100644 include/grub/fdtbus.h create mode 100644 include/grub/file.h create mode 100644 include/grub/fileid.h create mode 100644 include/grub/font.h create mode 100644 include/grub/fontformat.h create mode 100644 include/grub/fs.h create mode 100644 include/grub/fshelp.h create mode 100644 include/grub/gcry/types.h create mode 100644 include/grub/gcrypt/g10lib.h create mode 100644 include/grub/gcrypt/gcrypt.h create mode 100644 include/grub/gcrypt/gpg-error.h create mode 100644 include/grub/gdb.h create mode 100644 include/grub/gfxmenu_model.h create mode 100644 include/grub/gfxmenu_view.h create mode 100644 include/grub/gfxterm.h create mode 100644 include/grub/gfxwidgets.h create mode 100644 include/grub/gpt_partition.h create mode 100644 include/grub/gui.h create mode 100644 include/grub/gui_string_util.h create mode 100644 include/grub/hfs.h create mode 100644 include/grub/hfsplus.h create mode 100644 include/grub/i18n.h create mode 100644 include/grub/i386/at_keyboard.h create mode 100644 include/grub/i386/bsd.h create mode 100644 include/grub/i386/cmos.h create mode 100644 include/grub/i386/coreboot/boot.h create mode 100644 include/grub/i386/coreboot/console.h create mode 100644 include/grub/i386/coreboot/kernel.h create mode 100644 include/grub/i386/coreboot/memory.h create mode 100644 include/grub/i386/coreboot/serial.h create mode 100644 include/grub/i386/coreboot/time.h create mode 100644 include/grub/i386/cpuid.h create mode 100644 include/grub/i386/efi/kernel.h create mode 100644 include/grub/i386/efi/memory.h create mode 100644 include/grub/i386/efi/serial.h create mode 100644 include/grub/i386/efiemu.h create mode 100644 include/grub/i386/floppy.h create mode 100644 include/grub/i386/freebsd_linker.h create mode 100644 include/grub/i386/freebsd_reboot.h create mode 100644 include/grub/i386/gdb.h create mode 100644 include/grub/i386/ieee1275/ieee1275.h create mode 100644 include/grub/i386/ieee1275/kernel.h create mode 100644 include/grub/i386/ieee1275/memory.h create mode 100644 include/grub/i386/ieee1275/serial.h create mode 100644 include/grub/i386/io.h create mode 100644 include/grub/i386/linux.h create mode 100644 include/grub/i386/macho.h create mode 100644 include/grub/i386/memory.h create mode 100644 include/grub/i386/memory_raw.h create mode 100644 include/grub/i386/multiboot.h create mode 100644 include/grub/i386/multiboot/boot.h create mode 100644 include/grub/i386/multiboot/console.h create mode 100644 include/grub/i386/multiboot/kernel.h create mode 100644 include/grub/i386/multiboot/memory.h create mode 100644 include/grub/i386/multiboot/serial.h create mode 100644 include/grub/i386/multiboot/time.h create mode 100644 include/grub/i386/netbsd_bootinfo.h create mode 100644 include/grub/i386/netbsd_reboot.h create mode 100644 include/grub/i386/openbsd_bootarg.h create mode 100644 include/grub/i386/openbsd_reboot.h create mode 100644 include/grub/i386/pc/apm.h create mode 100644 include/grub/i386/pc/biosdisk.h create mode 100644 include/grub/i386/pc/biosnum.h create mode 100644 include/grub/i386/pc/boot.h create mode 100644 include/grub/i386/pc/chainloader.h create mode 100644 include/grub/i386/pc/console.h create mode 100644 include/grub/i386/pc/int.h create mode 100644 include/grub/i386/pc/int_types.h create mode 100644 include/grub/i386/pc/kernel.h create mode 100644 include/grub/i386/pc/memory.h create mode 100644 include/grub/i386/pc/pxe.h create mode 100644 include/grub/i386/pc/time.h create mode 100644 include/grub/i386/pc/vbe.h create mode 100644 include/grub/i386/pc/vesa_modes_table.h create mode 100644 include/grub/i386/pci.h create mode 100644 include/grub/i386/pit.h create mode 100644 include/grub/i386/pmtimer.h create mode 100644 include/grub/i386/qemu/boot.h create mode 100644 include/grub/i386/qemu/console.h create mode 100644 include/grub/i386/qemu/kernel.h create mode 100644 include/grub/i386/qemu/memory.h create mode 100644 include/grub/i386/qemu/serial.h create mode 100644 include/grub/i386/qemu/time.h create mode 100644 include/grub/i386/rdmsr.h create mode 100644 include/grub/i386/reboot.h create mode 100644 include/grub/i386/relocator.h create mode 100644 include/grub/i386/relocator_private.h create mode 100644 include/grub/i386/setjmp.h create mode 100644 include/grub/i386/time.h create mode 100644 include/grub/i386/tsc.h create mode 100644 include/grub/i386/types.h create mode 100644 include/grub/i386/wrmsr.h create mode 100644 include/grub/i386/xen/hypercall.h create mode 100644 include/grub/i386/xen/kernel.h create mode 100644 include/grub/i386/xen/memory.h create mode 100644 include/grub/i386/xen_pvh/boot.h create mode 100644 include/grub/i386/xen_pvh/console.h create mode 100644 include/grub/i386/xen_pvh/int.h create mode 100644 include/grub/i386/xen_pvh/kernel.h create mode 100644 include/grub/i386/xen_pvh/memory.h create mode 100644 include/grub/i386/xen_pvh/time.h create mode 100644 include/grub/i386/xnu.h create mode 100644 include/grub/ia64/efi/memory.h create mode 100644 include/grub/ia64/efi/time.h create mode 100644 include/grub/ia64/kernel.h create mode 100644 include/grub/ia64/reloc.h create mode 100644 include/grub/ia64/setjmp.h create mode 100644 include/grub/ia64/time.h create mode 100644 include/grub/ia64/types.h create mode 100644 include/grub/icon_manager.h create mode 100644 include/grub/ieee1275/console.h create mode 100644 include/grub/ieee1275/ieee1275.h create mode 100644 include/grub/ieee1275/obdisk.h create mode 100644 include/grub/ieee1275/ofdisk.h create mode 100644 include/grub/kernel.h create mode 100644 include/grub/keyboard_layouts.h create mode 100644 include/grub/legacy_parse.h create mode 100644 include/grub/lib/LzFind.h create mode 100644 include/grub/lib/LzHash.h create mode 100644 include/grub/lib/LzmaDec.h create mode 100644 include/grub/lib/LzmaEnc.h create mode 100644 include/grub/lib/LzmaTypes.h create mode 100644 include/grub/lib/arg.h create mode 100644 include/grub/lib/cmdline.h create mode 100644 include/grub/lib/crc.h create mode 100644 include/grub/lib/envblk.h create mode 100644 include/grub/lib/hexdump.h create mode 100644 include/grub/libpciaccess.h create mode 100644 include/grub/linux.h create mode 100644 include/grub/list.h create mode 100644 include/grub/loader.h create mode 100644 include/grub/lockdown.h create mode 100644 include/grub/lvm.h create mode 100644 include/grub/macho.h create mode 100644 include/grub/machoload.h create mode 100644 include/grub/memory.h create mode 100644 include/grub/menu.h create mode 100644 include/grub/menu_viewer.h create mode 100644 include/grub/mips/arc/kernel.h create mode 100644 include/grub/mips/arc/memory.h create mode 100644 include/grub/mips/arc/time.h create mode 100644 include/grub/mips/asm.h create mode 100644 include/grub/mips/at_keyboard.h create mode 100644 include/grub/mips/cmos.h create mode 100644 include/grub/mips/io.h create mode 100644 include/grub/mips/kernel.h create mode 100644 include/grub/mips/loongson.h create mode 100644 include/grub/mips/loongson/at_keyboard.h create mode 100644 include/grub/mips/loongson/cmos.h create mode 100644 include/grub/mips/loongson/ec.h create mode 100644 include/grub/mips/loongson/kernel.h create mode 100644 include/grub/mips/loongson/memory.h create mode 100644 include/grub/mips/loongson/pci.h create mode 100644 include/grub/mips/loongson/serial.h create mode 100644 include/grub/mips/loongson/time.h create mode 100644 include/grub/mips/memory.h create mode 100644 include/grub/mips/mips.h create mode 100644 include/grub/mips/multiboot.h create mode 100644 include/grub/mips/pci.h create mode 100644 include/grub/mips/qemu_mips/at_keyboard.h create mode 100644 include/grub/mips/qemu_mips/cmos.h create mode 100644 include/grub/mips/qemu_mips/console.h create mode 100644 include/grub/mips/qemu_mips/kernel.h create mode 100644 include/grub/mips/qemu_mips/loader.h create mode 100644 include/grub/mips/qemu_mips/memory.h create mode 100644 include/grub/mips/qemu_mips/serial.h create mode 100644 include/grub/mips/qemu_mips/time.h create mode 100644 include/grub/mips/relocator.h create mode 100644 include/grub/mips/setjmp.h create mode 100644 include/grub/mips/time.h create mode 100644 include/grub/mips/types.h create mode 100644 include/grub/misc.h create mode 100644 include/grub/mm.h create mode 100644 include/grub/mm_private.h create mode 100644 include/grub/module_verifier.h create mode 100644 include/grub/msdos_partition.h create mode 100644 include/grub/multiboot.h create mode 100644 include/grub/multiboot2.h create mode 100644 include/grub/multiboot_loader.h create mode 100644 include/grub/net.h create mode 100644 include/grub/net/arp.h create mode 100644 include/grub/net/ethernet.h create mode 100644 include/grub/net/ip.h create mode 100644 include/grub/net/netbuff.h create mode 100644 include/grub/net/tcp.h create mode 100644 include/grub/net/udp.h create mode 100644 include/grub/normal.h create mode 100644 include/grub/ns8250.h create mode 100644 include/grub/ntfs.h create mode 100644 include/grub/offsets.h create mode 100644 include/grub/osdep/hostfile.h create mode 100644 include/grub/osdep/hostfile_aros.h create mode 100644 include/grub/osdep/hostfile_unix.h create mode 100644 include/grub/osdep/hostfile_windows.h create mode 100644 include/grub/parser.h create mode 100644 include/grub/partition.h create mode 100644 include/grub/parttool.h create mode 100644 include/grub/pci.h create mode 100644 include/grub/pciutils.h create mode 100644 include/grub/powerpc/ieee1275/ieee1275.h create mode 100644 include/grub/powerpc/kernel.h create mode 100644 include/grub/powerpc/memory.h create mode 100644 include/grub/powerpc/relocator.h create mode 100644 include/grub/powerpc/setjmp.h create mode 100644 include/grub/powerpc/time.h create mode 100644 include/grub/powerpc/types.h create mode 100644 include/grub/priority_queue.h create mode 100644 include/grub/procfs.h create mode 100644 include/grub/ps2.h create mode 100644 include/grub/pubkey.h create mode 100644 include/grub/random.h create mode 100644 include/grub/reader.h create mode 100644 include/grub/reed_solomon.h create mode 100644 include/grub/relocator.h create mode 100644 include/grub/relocator_private.h create mode 100644 include/grub/riscv32/efi/memory.h create mode 100644 include/grub/riscv32/linux.h create mode 100644 include/grub/riscv32/setjmp.h create mode 100644 include/grub/riscv32/time.h create mode 100644 include/grub/riscv32/types.h create mode 100644 include/grub/riscv64/efi/memory.h create mode 100644 include/grub/riscv64/linux.h create mode 100644 include/grub/riscv64/setjmp.h create mode 100644 include/grub/riscv64/time.h create mode 100644 include/grub/riscv64/types.h create mode 100644 include/grub/safemath.h create mode 100644 include/grub/script_sh.h create mode 100644 include/grub/scsi.h create mode 100644 include/grub/scsicmd.h create mode 100644 include/grub/sdl.h create mode 100644 include/grub/search.h create mode 100644 include/grub/serial.h create mode 100644 include/grub/setjmp.h create mode 100644 include/grub/smbios.h create mode 100644 include/grub/smbus.h create mode 100644 include/grub/sparc64/ieee1275/boot.h create mode 100644 include/grub/sparc64/ieee1275/ieee1275.h create mode 100644 include/grub/sparc64/ieee1275/kernel.h create mode 100644 include/grub/sparc64/setjmp.h create mode 100644 include/grub/sparc64/time.h create mode 100644 include/grub/sparc64/types.h create mode 100644 include/grub/speaker.h create mode 100644 include/grub/stack_protector.h create mode 100644 include/grub/symbol.h create mode 100644 include/grub/syslinux_parse.h create mode 100644 include/grub/term.h create mode 100644 include/grub/terminfo.h create mode 100644 include/grub/test.h create mode 100644 include/grub/time.h create mode 100644 include/grub/tparm.h create mode 100644 include/grub/tpm.h create mode 100644 include/grub/trig.h create mode 100644 include/grub/types.h create mode 100644 include/grub/uboot/api_public.h create mode 100644 include/grub/uboot/console.h create mode 100644 include/grub/uboot/disk.h create mode 100644 include/grub/uboot/image.h create mode 100644 include/grub/uboot/uboot.h create mode 100644 include/grub/udf.h create mode 100644 include/grub/unicode.h create mode 100644 include/grub/usb.h create mode 100644 include/grub/usbdesc.h create mode 100644 include/grub/usbserial.h create mode 100644 include/grub/usbtrans.h create mode 100644 include/grub/util/install.h create mode 100644 include/grub/util/libnvpair.h create mode 100644 include/grub/util/libzfs.h create mode 100644 include/grub/util/misc.h create mode 100644 include/grub/util/mkimage.h create mode 100644 include/grub/util/ofpath.h create mode 100644 include/grub/util/resolve.h create mode 100644 include/grub/util/windows.h create mode 100644 include/grub/verify.h create mode 100644 include/grub/vga.h create mode 100644 include/grub/vgaregs.h create mode 100644 include/grub/video.h create mode 100644 include/grub/video_fb.h create mode 100644 include/grub/x86_64/at_keyboard.h create mode 100644 include/grub/x86_64/efi/boot.h create mode 100644 include/grub/x86_64/efi/kernel.h create mode 100644 include/grub/x86_64/efi/loader.h create mode 100644 include/grub/x86_64/efi/memory.h create mode 100644 include/grub/x86_64/efi/serial.h create mode 100644 include/grub/x86_64/io.h create mode 100644 include/grub/x86_64/linux.h create mode 100644 include/grub/x86_64/macho.h create mode 100644 include/grub/x86_64/memory.h create mode 100644 include/grub/x86_64/multiboot.h create mode 100644 include/grub/x86_64/pci.h create mode 100644 include/grub/x86_64/relocator.h create mode 100644 include/grub/x86_64/setjmp.h create mode 100644 include/grub/x86_64/time.h create mode 100644 include/grub/x86_64/types.h create mode 100644 include/grub/x86_64/xen/hypercall.h create mode 100644 include/grub/x86_64/xnu.h create mode 100644 include/grub/xen.h create mode 100644 include/grub/xen/relocator.h create mode 100644 include/grub/xen_file.h create mode 100644 include/grub/xnu.h create mode 100644 include/grub/zfs/dmu.h create mode 100644 include/grub/zfs/dmu_objset.h create mode 100644 include/grub/zfs/dnode.h create mode 100644 include/grub/zfs/dsl_dataset.h create mode 100644 include/grub/zfs/dsl_dir.h create mode 100644 include/grub/zfs/sa_impl.h create mode 100644 include/grub/zfs/spa.h create mode 100644 include/grub/zfs/uberblock_impl.h create mode 100644 include/grub/zfs/vdev_impl.h create mode 100644 include/grub/zfs/zap_impl.h create mode 100644 include/grub/zfs/zap_leaf.h create mode 100644 include/grub/zfs/zfs.h create mode 100644 include/grub/zfs/zfs_acl.h create mode 100644 include/grub/zfs/zfs_znode.h create mode 100644 include/grub/zfs/zil.h create mode 100644 include/grub/zfs/zio.h create mode 100644 include/grub/zfs/zio_checksum.h create mode 100644 include/multiboot.h create mode 100644 include/multiboot2.h create mode 100644 include/xen/arch-x86/xen-x86_32.h create mode 100644 include/xen/arch-x86/xen-x86_64.h create mode 100644 include/xen/arch-x86/xen.h create mode 100644 include/xen/elfnote.h create mode 100644 include/xen/event_channel.h create mode 100644 include/xen/grant_table.h create mode 100644 include/xen/hvm/hvm_op.h create mode 100644 include/xen/hvm/params.h create mode 100644 include/xen/hvm/start_info.h create mode 100644 include/xen/io/blkif.h create mode 100644 include/xen/io/console.h create mode 100644 include/xen/io/protocols.h create mode 100644 include/xen/io/ring.h create mode 100644 include/xen/io/xenbus.h create mode 100644 include/xen/io/xs_wire.h create mode 100644 include/xen/memory.h create mode 100644 include/xen/physdev.h create mode 100644 include/xen/sched.h create mode 100644 include/xen/trace.h create mode 100644 include/xen/xen-compat.h create mode 100644 include/xen/xen.h create mode 100755 linguas.sh create mode 100644 m4/00gnulib.m4 create mode 100644 m4/__inline.m4 create mode 100644 m4/absolute-header.m4 create mode 100644 m4/alloca.m4 create mode 100644 m4/argp.m4 create mode 100644 m4/base64.m4 create mode 100644 m4/btowc.m4 create mode 100644 m4/builtin-expect.m4 create mode 100644 m4/chdir-long.m4 create mode 100644 m4/close.m4 create mode 100644 m4/codeset.m4 create mode 100644 m4/dirent_h.m4 create mode 100644 m4/dirfd.m4 create mode 100644 m4/dirname.m4 create mode 100644 m4/double-slash-root.m4 create mode 100644 m4/dup2.m4 create mode 100644 m4/eealloc.m4 create mode 100644 m4/errno_h.m4 create mode 100644 m4/error.m4 create mode 100644 m4/exponentd.m4 create mode 100644 m4/extensions.m4 create mode 100644 m4/extern-inline.m4 create mode 100644 m4/fchdir.m4 create mode 100644 m4/fcntl-o.m4 create mode 100644 m4/fcntl.m4 create mode 100644 m4/fcntl_h.m4 create mode 100644 m4/filenamecat.m4 create mode 100644 m4/flexmember.m4 create mode 100644 m4/float_h.m4 create mode 100644 m4/fnmatch.m4 create mode 100644 m4/fnmatch_h.m4 create mode 100644 m4/fstat.m4 create mode 100644 m4/getcwd.m4 create mode 100644 m4/getdelim.m4 create mode 100644 m4/getdtablesize.m4 create mode 100644 m4/getline.m4 create mode 100644 m4/getopt.m4 create mode 100644 m4/getprogname.m4 create mode 100644 m4/gettext.m4 create mode 100644 m4/glibc2.m4 create mode 100644 m4/glibc21.m4 create mode 100644 m4/gnulib-cache.m4 create mode 100644 m4/gnulib-common.m4 create mode 100644 m4/gnulib-comp.m4 create mode 100644 m4/gnulib-tool.m4 create mode 100644 m4/host-cpu-c-abi.m4 create mode 100644 m4/iconv.m4 create mode 100644 m4/include_next.m4 create mode 100644 m4/intdiv0.m4 create mode 100644 m4/intl.m4 create mode 100644 m4/intldir.m4 create mode 100644 m4/intlmacosx.m4 create mode 100644 m4/intmax.m4 create mode 100644 m4/intmax_t.m4 create mode 100644 m4/inttypes-pri.m4 create mode 100644 m4/inttypes_h.m4 create mode 100644 m4/langinfo_h.m4 create mode 100644 m4/largefile.m4 create mode 100644 m4/lcmessage.m4 create mode 100644 m4/lib-ld.m4 create mode 100644 m4/lib-link.m4 create mode 100644 m4/lib-prefix.m4 create mode 100644 m4/libunistring-base.m4 create mode 100644 m4/limits-h.m4 create mode 100644 m4/localcharset.m4 create mode 100644 m4/locale-fr.m4 create mode 100644 m4/locale-ja.m4 create mode 100644 m4/locale-zh.m4 create mode 100644 m4/locale_h.m4 create mode 100644 m4/localeconv.m4 create mode 100644 m4/lock.m4 create mode 100644 m4/longlong.m4 create mode 100644 m4/lstat.m4 create mode 100644 m4/malloc.m4 create mode 100644 m4/malloca.m4 create mode 100644 m4/math_h.m4 create mode 100644 m4/mbrtowc.m4 create mode 100644 m4/mbsinit.m4 create mode 100644 m4/mbsrtowcs.m4 create mode 100644 m4/mbstate_t.m4 create mode 100644 m4/mbswidth.m4 create mode 100644 m4/mbtowc.m4 create mode 100644 m4/memchr.m4 create mode 100644 m4/mempcpy.m4 create mode 100644 m4/memrchr.m4 create mode 100644 m4/mmap-anon.m4 create mode 100644 m4/mode_t.m4 create mode 100644 m4/msvc-inval.m4 create mode 100644 m4/msvc-nothrow.m4 create mode 100644 m4/multiarch.m4 create mode 100644 m4/nl_langinfo.m4 create mode 100644 m4/nls.m4 create mode 100644 m4/nocrash.m4 create mode 100644 m4/off_t.m4 create mode 100644 m4/open-cloexec.m4 create mode 100644 m4/open.m4 create mode 100644 m4/openat.m4 create mode 100644 m4/pathmax.m4 create mode 100644 m4/po.m4 create mode 100644 m4/printf-posix.m4 create mode 100644 m4/printf.m4 create mode 100644 m4/progtest.m4 create mode 100644 m4/pthread_rwlock_rdlock.m4 create mode 100644 m4/rawmemchr.m4 create mode 100644 m4/realloc.m4 create mode 100644 m4/regex.m4 create mode 100644 m4/save-cwd.m4 create mode 100644 m4/size_max.m4 create mode 100644 m4/sleep.m4 create mode 100644 m4/ssize_t.m4 create mode 100644 m4/stat-time.m4 create mode 100644 m4/stat.m4 create mode 100644 m4/stdalign.m4 create mode 100644 m4/stdbool.m4 create mode 100644 m4/stddef_h.m4 create mode 100644 m4/stdint.m4 create mode 100644 m4/stdint_h.m4 create mode 100644 m4/stdio_h.m4 create mode 100644 m4/stdlib_h.m4 create mode 100644 m4/strcase.m4 create mode 100644 m4/strchrnul.m4 create mode 100644 m4/strdup.m4 create mode 100644 m4/strerror.m4 create mode 100644 m4/string_h.m4 create mode 100644 m4/strings_h.m4 create mode 100644 m4/strndup.m4 create mode 100644 m4/strnlen.m4 create mode 100644 m4/sys_socket_h.m4 create mode 100644 m4/sys_stat_h.m4 create mode 100644 m4/sys_types_h.m4 create mode 100644 m4/sysexits.m4 create mode 100644 m4/threadlib.m4 create mode 100644 m4/time_h.m4 create mode 100644 m4/uintmax_t.m4 create mode 100644 m4/unistd-safer.m4 create mode 100644 m4/unistd_h.m4 create mode 100644 m4/vasnprintf.m4 create mode 100644 m4/visibility.m4 create mode 100644 m4/vsnprintf.m4 create mode 100644 m4/warn-on-use.m4 create mode 100644 m4/wchar_h.m4 create mode 100644 m4/wchar_t.m4 create mode 100644 m4/wcrtomb.m4 create mode 100644 m4/wctype_h.m4 create mode 100644 m4/wcwidth.m4 create mode 100644 m4/wint_t.m4 create mode 100644 m4/xsize.m4 create mode 100644 po/LINGUAS create mode 100644 po/Makefile.in.in create mode 100644 po/Makevars create mode 100644 po/POTFILES-shell.in create mode 100644 po/POTFILES.in create mode 100644 po/README create mode 100644 po/Rules-piglatin create mode 100644 po/Rules-quot create mode 100644 po/Rules-swiss create mode 100644 po/Rules-translit create mode 100644 po/Rules-windowsdir create mode 100644 po/arabic.sed create mode 100644 po/ast.gmo create mode 100644 po/ast.po create mode 100644 po/boldquot.sed create mode 100644 po/ca.gmo create mode 100644 po/ca.po create mode 100644 po/cyrillic.sed create mode 100644 po/da.gmo create mode 100644 po/da.po create mode 100644 po/de.gmo create mode 100644 po/de.po create mode 100644 po/de@hebrew.gmo create mode 100644 po/de@hebrew.po create mode 100644 po/de_CH.gmo create mode 100644 po/de_CH.po create mode 100644 po/en@arabic.gmo create mode 100644 po/en@arabic.po create mode 100644 po/en@boldquot.header create mode 100644 po/en@cyrillic.gmo create mode 100644 po/en@cyrillic.po create mode 100644 po/en@greek.gmo create mode 100644 po/en@greek.po create mode 100644 po/en@hebrew.gmo create mode 100644 po/en@hebrew.po create mode 100644 po/en@piglatin.gmo create mode 100644 po/en@piglatin.header create mode 100644 po/en@piglatin.po create mode 100644 po/en@quot.gmo create mode 100644 po/en@quot.header create mode 100644 po/en@quot.po create mode 100644 po/eo.gmo create mode 100644 po/eo.po create mode 100644 po/es.gmo create mode 100644 po/es.po create mode 100644 po/exclude.pot create mode 100644 po/fi.gmo create mode 100644 po/fi.po create mode 100644 po/fr.gmo create mode 100644 po/fr.po create mode 100644 po/gettext-patches/0001-Support-POTFILES-shell.patch create mode 100644 po/gettext-patches/0002-Handle-gettext_printf-shell-function.patch create mode 100644 po/gettext-patches/0003-Make-msgfmt-output-in-little-endian.patch create mode 100644 po/gettext-patches/0004-Use-SHELL-rather-than-bin-sh.patch create mode 100644 po/gl.gmo create mode 100644 po/gl.po create mode 100644 po/greek.sed create mode 100644 po/grub.d.sed create mode 100644 po/grub.pot create mode 100644 po/hebrew.sed create mode 100644 po/hr.gmo create mode 100644 po/hr.po create mode 100644 po/hu.gmo create mode 100644 po/hu.po create mode 100644 po/id.gmo create mode 100644 po/id.po create mode 100644 po/insert-header.sin create mode 100644 po/it.gmo create mode 100644 po/it.po create mode 100644 po/ja.gmo create mode 100644 po/ja.po create mode 100644 po/ko.gmo create mode 100644 po/ko.po create mode 100644 po/lg.gmo create mode 100644 po/lg.po create mode 100644 po/lt.gmo create mode 100644 po/lt.po create mode 100644 po/nb.gmo create mode 100644 po/nb.po create mode 100644 po/nl.gmo create mode 100644 po/nl.po create mode 100644 po/pa.gmo create mode 100644 po/pa.po create mode 100644 po/piglatin.sed create mode 100644 po/pl.gmo create mode 100644 po/pl.po create mode 100644 po/pt.gmo create mode 100644 po/pt.po create mode 100644 po/pt_BR.gmo create mode 100644 po/pt_BR.po create mode 100644 po/quot.sed create mode 100644 po/remove-potcdate.sin create mode 100644 po/ro.gmo create mode 100644 po/ro.po create mode 100644 po/ru.gmo create mode 100644 po/ru.po create mode 100644 po/sl.gmo create mode 100644 po/sl.po create mode 100644 po/sr.gmo create mode 100644 po/sr.po create mode 100644 po/stamp-po create mode 100644 po/sv.gmo create mode 100644 po/sv.po create mode 100644 po/swiss.sed create mode 100644 po/tr.gmo create mode 100644 po/tr.po create mode 100644 po/uk.gmo create mode 100644 po/uk.po create mode 100644 po/vi.gmo create mode 100644 po/vi.po create mode 100644 po/zh_CN.gmo create mode 100644 po/zh_CN.po create mode 100644 po/zh_TW.gmo create mode 100644 po/zh_TW.po create mode 100644 stamp-h.in create mode 100644 tests/ahci_test.in create mode 100644 tests/btrfs_test.in create mode 100644 tests/cdboot_test.in create mode 100644 tests/cmp_unit_test.c create mode 100644 tests/core_compress_test.in create mode 100644 tests/cpio_test.in create mode 100644 tests/date_unit_test.c create mode 100644 tests/dfly-mbr-mbexample.dfly.img.gz create mode 100644 tests/dfly-mbr-mbexample.mbr.img.gz create mode 100644 tests/ehci_test.in create mode 100644 tests/example_grub_script_test.in create mode 100644 tests/example_scripted_test.in create mode 100644 tests/example_unit_test.c create mode 100644 tests/exfat_test.in create mode 100644 tests/ext234_test.in create mode 100644 tests/f2fs_test.in create mode 100644 tests/fat_test.in create mode 100644 tests/fddboot_test.in create mode 100644 tests/file_filter/file create mode 100644 tests/file_filter/file.gz create mode 100644 tests/file_filter/file.gz.sig create mode 100644 tests/file_filter/file.lzop create mode 100644 tests/file_filter/file.lzop.sig create mode 100644 tests/file_filter/file.xz create mode 100644 tests/file_filter/file.xz.sig create mode 100644 tests/file_filter/keys create mode 100644 tests/file_filter/keys.pub create mode 100644 tests/file_filter/test.cfg create mode 100644 tests/file_filter_test.in create mode 100644 tests/gettext_strings_test.in create mode 100644 tests/grub_cmd_date.in create mode 100644 tests/grub_cmd_echo.in create mode 100644 tests/grub_cmd_regexp.in create mode 100644 tests/grub_cmd_set_date.in create mode 100644 tests/grub_cmd_sleep.in create mode 100644 tests/grub_cmd_test.in create mode 100644 tests/grub_cmd_tr.in create mode 100644 tests/grub_func_test.in create mode 100644 tests/grub_script_blanklines.in create mode 100644 tests/grub_script_blockarg.in create mode 100644 tests/grub_script_break.in create mode 100644 tests/grub_script_comments.in create mode 100644 tests/grub_script_continue.in create mode 100644 tests/grub_script_dollar.in create mode 100644 tests/grub_script_echo1.in create mode 100644 tests/grub_script_echo_keywords.in create mode 100644 tests/grub_script_escape_comma.in create mode 100644 tests/grub_script_eval.in create mode 100644 tests/grub_script_expansion.in create mode 100644 tests/grub_script_final_semicolon.in create mode 100644 tests/grub_script_for1.in create mode 100644 tests/grub_script_functions.in create mode 100644 tests/grub_script_gettext.in create mode 100644 tests/grub_script_if.in create mode 100644 tests/grub_script_leading_whitespace.in create mode 100644 tests/grub_script_no_commands.in create mode 100644 tests/grub_script_not.in create mode 100644 tests/grub_script_return.in create mode 100644 tests/grub_script_setparams.in create mode 100644 tests/grub_script_shift.in create mode 100644 tests/grub_script_strcmp.in create mode 100644 tests/grub_script_test.in create mode 100644 tests/grub_script_vars1.in create mode 100644 tests/grub_script_while1.in create mode 100644 tests/gzcompress_test.in create mode 100644 tests/hddboot_test.in create mode 100644 tests/help_test.in create mode 100644 tests/hfs_test.in create mode 100644 tests/hfsplus_test.in create mode 100644 tests/iso9660_test.in create mode 100644 tests/jfs_test.in create mode 100644 tests/lib/unit_test.c create mode 100644 tests/lzocompress_test.in create mode 100644 tests/minixfs_test.in create mode 100644 tests/netboot_test.in create mode 100644 tests/nilfs2_test.in create mode 100644 tests/ntfs_test.in create mode 100644 tests/ohci_test.in create mode 100644 tests/partmap_test.in create mode 100644 tests/pata_test.in create mode 100644 tests/printf_unit_test.c create mode 100644 tests/priority_queue_unit_test.cc create mode 100644 tests/pseries_test.in create mode 100644 tests/reiserfs_test.in create mode 100644 tests/romfs_test.in create mode 100644 tests/squashfs_test.in create mode 100644 tests/syslinux/ubuntu10.04/isolinux/adtxt.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/dtmenu.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/exithelp.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/gfxboot.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/menu.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/po4a.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/prompt.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/rqtxt.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/stdmenu.cfg create mode 100644 tests/syslinux/ubuntu10.04/isolinux/txt.cfg create mode 100644 tests/syslinux/ubuntu10.04_grub.cfg.in create mode 100644 tests/syslinux_test.in create mode 100644 tests/tar_test.in create mode 100644 tests/test_sha512sum.in create mode 100644 tests/test_unset.in create mode 100644 tests/udf_test.in create mode 100644 tests/uhci_test.in create mode 100644 tests/util/grub-fs-tester.in create mode 100644 tests/util/grub-shell-tester.in create mode 100644 tests/util/grub-shell.in create mode 100644 tests/xfs_test.in create mode 100644 tests/xzcompress_test.in create mode 100644 tests/zfs_test.in create mode 100644 themes/starfield/COPYING.CC-BY-SA-3.0 create mode 100644 themes/starfield/README create mode 100644 themes/starfield/blob_w.png create mode 100644 themes/starfield/boot_menu_c.png create mode 100644 themes/starfield/boot_menu_e.png create mode 100644 themes/starfield/boot_menu_n.png create mode 100644 themes/starfield/boot_menu_ne.png create mode 100644 themes/starfield/boot_menu_nw.png create mode 100644 themes/starfield/boot_menu_s.png create mode 100644 themes/starfield/boot_menu_se.png create mode 100644 themes/starfield/boot_menu_sw.png create mode 100644 themes/starfield/boot_menu_w.png create mode 100644 themes/starfield/slider_c.png create mode 100644 themes/starfield/slider_n.png create mode 100644 themes/starfield/slider_s.png create mode 100644 themes/starfield/src/blob_nw.xcf create mode 100644 themes/starfield/src/bootmenu/center.xcf create mode 100644 themes/starfield/src/bootmenu/corner.xcf create mode 100644 themes/starfield/src/bootmenu/side.xcf create mode 100644 themes/starfield/src/slider_c.xcf create mode 100644 themes/starfield/src/slider_n.xcf create mode 100644 themes/starfield/src/slider_s.xcf create mode 100644 themes/starfield/src/terminalbox/center.xcf create mode 100644 themes/starfield/src/terminalbox/corner.xcf create mode 100644 themes/starfield/src/terminalbox/side.xcf create mode 100644 themes/starfield/starfield.png create mode 100644 themes/starfield/terminal_box_c.png create mode 100644 themes/starfield/terminal_box_e.png create mode 100644 themes/starfield/terminal_box_n.png create mode 100644 themes/starfield/terminal_box_ne.png create mode 100644 themes/starfield/terminal_box_nw.png create mode 100644 themes/starfield/terminal_box_s.png create mode 100644 themes/starfield/terminal_box_se.png create mode 100644 themes/starfield/terminal_box_sw.png create mode 100644 themes/starfield/terminal_box_w.png create mode 100644 themes/starfield/theme.txt create mode 100644 unicode/ArabicShaping.txt create mode 100644 unicode/BidiMirroring.txt create mode 100644 unicode/COPYING create mode 100644 unicode/UnicodeData.txt create mode 100644 util/bash-completion.d/Makefile.am create mode 100644 util/bash-completion.d/Makefile.in create mode 100644 util/bash-completion.d/grub-completion.bash.in create mode 100644 util/bin2h.c create mode 100644 util/config.c create mode 100644 util/editenv.c create mode 100644 util/garbage-gen.c create mode 100644 util/getroot.c create mode 100644 util/glue-efi.c create mode 100644 util/grub-editenv.c create mode 100644 util/grub-file.c create mode 100644 util/grub-fstest.c create mode 100644 util/grub-gen-asciih.c create mode 100644 util/grub-gen-widthspec.c create mode 100644 util/grub-glue-efi.c create mode 100644 util/grub-install-common.c create mode 100644 util/grub-install.c create mode 100644 util/grub-kbdcomp.in create mode 100644 util/grub-macbless.c create mode 100644 util/grub-macho2img.c create mode 100644 util/grub-menulst2cfg.c create mode 100644 util/grub-mkconfig.in create mode 100644 util/grub-mkconfig_lib.in create mode 100644 util/grub-mkfont.c create mode 100644 util/grub-mkimage.c create mode 100644 util/grub-mkimage32.c create mode 100644 util/grub-mkimage64.c create mode 100644 util/grub-mkimagexx.c create mode 100644 util/grub-mklayout.c create mode 100644 util/grub-mknetdir.c create mode 100644 util/grub-mkpasswd-pbkdf2.c create mode 100644 util/grub-mkrelpath.c create mode 100644 util/grub-mkrescue.c create mode 100644 util/grub-mkstandalone.c create mode 100644 util/grub-module-verifier.c create mode 100644 util/grub-module-verifier32.c create mode 100644 util/grub-module-verifier64.c create mode 100644 util/grub-module-verifierXX.c create mode 100644 util/grub-mount.c create mode 100644 util/grub-pe2elf.c create mode 100644 util/grub-probe.c create mode 100644 util/grub-reboot.in create mode 100644 util/grub-render-label.c create mode 100644 util/grub-script-check.c create mode 100644 util/grub-set-default.in create mode 100644 util/grub-setup.c create mode 100644 util/grub-syslinux2cfg.c create mode 100644 util/grub.d/00_header.in create mode 100644 util/grub.d/10_hurd.in create mode 100644 util/grub.d/10_illumos.in create mode 100644 util/grub.d/10_kfreebsd.in create mode 100644 util/grub.d/10_linux.in create mode 100644 util/grub.d/10_netbsd.in create mode 100644 util/grub.d/10_windows.in create mode 100644 util/grub.d/10_xnu.in create mode 100644 util/grub.d/20_linux_xen.in create mode 100644 util/grub.d/30_os-prober.in create mode 100644 util/grub.d/30_uefi-firmware.in create mode 100644 util/grub.d/40_custom.in create mode 100644 util/grub.d/41_custom.in create mode 100644 util/grub.d/README create mode 100644 util/i386/efi/grub-dumpdevtree create mode 100644 util/ieee1275/grub-ofpathname.c create mode 100644 util/import_gcry.py create mode 100644 util/import_gcrypth.sed create mode 100644 util/import_unicode.py create mode 100644 util/misc.c create mode 100644 util/mkimage.c create mode 100644 util/probe.c create mode 100644 util/render-label.c create mode 100644 util/resolve.c create mode 100644 util/setup.c create mode 100644 util/setup_bios.c create mode 100644 util/setup_sparc.c create mode 100644 util/spkmodem-recv.c diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..b1de1b6 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,1282 @@ +1 Notes on the Free Translation Project +*************************************** + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their +messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work on translations can contact the appropriate team. + +1.1 INSTALL Matters +=================== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. Installers may use special +options at configuration time for changing the default behaviour. The +command: + + ./configure --disable-nls + +will _totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl' library +and will decide to use it. If not, you may have to to use the +`--with-libintl-prefix' option to tell `configure' where to look for it. + + Internationalized packages usually have many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +1.2 Using This Package +====================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. If you happen to have the `LC_ALL' or some other +`LC_xxx' environment variables set, you should unset them before +setting `LANG', otherwise the setting of `LANG' will not have the +desired effect. Here `LL' is an ISO 639 two-letter language code, and +`CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your language by running the +command `locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +1.3 Translating Teams +===================== + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://translationproject.org/', in the "Teams" area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `coordinator@translationproject.org' to +reach the coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skills are praised more than +programming skills, here. + +1.4 Available Packages +====================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of June +2010. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca + +--------------------------------------------------+ + a2ps | [] [] | + aegis | | + ant-phone | | + anubis | | + aspell | [] [] | + bash | | + bfd | | + bibshelf | [] | + binutils | | + bison | | + bison-runtime | [] | + bluez-pin | [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] [] | + cpio | | + cppi | | + cpplib | [] | + cryptsetup | | + dfarc | | + dialog | [] [] | + dico | | + diffutils | [] | + dink | | + doodle | | + e2fsprogs | [] | + enscript | [] | + exif | | + fetchmail | [] | + findutils | [] | + flex | [] | + freedink | | + gas | | + gawk | [] [] | + gcal | [] | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] | + gettext-tools | [] [] | + gip | [] | + gjay | | + gliv | [] | + glunarclock | [] [] | + gnubiff | | + gnucash | [] | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | | + gold | | + gpe-aerial | | + gpe-beam | | + gpe-bluetooth | | + gpe-calendar | | + gpe-clock | [] | + gpe-conf | | + gpe-contacts | | + gpe-edit | | + gpe-filemanager | | + gpe-go | | + gpe-login | | + gpe-ownerinfo | [] | + gpe-package | | + gpe-sketchbook | | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] | + gpe-today | [] | + gpe-todo | | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | [] [] | + gsasl | | + gss | | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] [] [] | + gtick | | + gtkam | [] | + gtkorphan | [] | + gtkspell | [] [] [] | + gutenprint | | + hello | [] | + help2man | | + hylafax | | + idutils | | + indent | [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | | + iso_639 | [] [] [] [] | + iso_639_3 | | + jwhois | | + kbd | | + keytouch | [] | + keytouch-editor | | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | | + ld | [] | + leafpad | [] [] | + libc | [] [] | + libexif | () | + libextractor | | + libgnutls | | + libgpewidget | | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | [] | + libidn | | + lifelines | | + liferea | [] [] | + lilypond | | + linkdr | [] | + lordsawar | | + lprng | | + lynx | [] | + m4 | | + mailfromd | | + mailutils | | + make | | + man-db | | + man-db-manpages | | + minicom | | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | | + psmisc | | + pspp | [] | + pwdutils | | + radius | [] | + recode | [] [] | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] | + sharutils | [] [] | + shishi | | + skencil | | + solfege | | + solfege-manual | | + soundtracker | | + sp | | + sysstat | | + tar | [] | + texinfo | | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] [] | + wyslij-po | | + xchat | [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] | + +--------------------------------------------------+ + af am an ar as ast az be be@latin bg bn_IN bs ca + 6 0 1 2 3 19 1 10 3 28 3 1 38 + + crh cs da de el en en_GB en_ZA eo es et eu fa + +-------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] () | + anubis | [] [] | + aspell | [] [] [] [] [] | + bash | [] [] [] | + bfd | [] | + bibshelf | [] [] [] | + binutils | [] | + bison | [] [] | + bison-runtime | [] [] [] [] | + bluez-pin | [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] [] [] | + cflow | [] [] | + clisp | [] [] [] [] | + coreutils | [] [] [] [] | + cpio | | + cppi | | + cpplib | [] [] [] | + cryptsetup | [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] | + dink | [] [] [] | + doodle | [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + exif | () [] [] | + fetchmail | [] [] () [] [] [] | + findutils | [] [] [] | + flex | [] [] | + freedink | [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] [] | + gip | [] [] [] [] | + gjay | [] | + gliv | [] [] [] | + glunarclock | [] [] | + gnubiff | () | + gnucash | [] () () () () | + gnuedu | [] [] | + gnulib | [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] [] [] | + gpe-edit | [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] () [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] | + grub | [] [] | + gsasl | [] | + gss | | + gst-plugins-bad | [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] () [] | + gtkam | [] [] () [] [] | + gtkorphan | [] [] [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | [] [] [] | + hello | [] [] [] [] | + help2man | [] | + hylafax | [] [] | + idutils | [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] [] [] [] () [] [] [] () | + iso_3166_2 | () | + iso_4217 | [] [] [] () [] [] | + iso_639 | [] [] [] [] () [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | [] [] [] [] [] | + keytouch | [] [] | + keytouch-editor | [] [] | + keytouch-keyboa... | [] | + klavaro | [] [] [] [] | + latrine | [] () | + ld | [] [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | [] [] | + libgphoto2 | [] () | + libgphoto2_port | [] () [] | + libgsasl | | + libiconv | [] [] [] [] [] | + libidn | [] [] [] | + lifelines | [] () | + liferea | [] [] [] [] [] | + lilypond | [] [] [] | + linkdr | [] [] [] | + lordsawar | [] | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] [] | + man-db | | + man-db-manpages | | + minicom | [] [] [] [] | + mkisofs | | + myserver | | + nano | [] [] [] | + opcodes | [] [] | + parted | [] [] | + pies | | + popt | [] [] [] [] [] | + psmisc | [] [] [] | + pspp | [] | + pwdutils | [] | + radius | [] | + recode | [] [] [] [] [] [] | + rosegarden | () () () | + rpm | [] [] [] | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | | + skencil | [] () [] | + solfege | [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] [] | + sp | [] | + sysstat | [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + tin | [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] | + vice | () () | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] | + wyslij-po | | + xchat | [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] [] | + +-------------------------------------------------+ + crh cs da de el en en_GB en_ZA eo es et eu fa + 5 64 105 117 18 1 8 0 28 89 18 19 0 + + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | [] [] | + ant-phone | [] [] | + anubis | [] [] [] [] | + aspell | [] [] [] [] | + bash | [] [] [] [] | + bfd | [] [] [] | + bibshelf | [] [] [] [] [] | + binutils | [] [] [] | + bison | [] [] [] [] | + bison-runtime | [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] | + cflow | [] [] [] | + clisp | [] | + coreutils | [] [] [] [] [] | + cpio | [] [] [] [] | + cppi | [] [] | + cpplib | [] [] [] | + cryptsetup | [] [] [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] [] [] | + dink | [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + exif | [] [] [] [] [] [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] | + freedink | [] [] [] | + gas | [] [] | + gawk | [] [] [] [] () [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] [] [] | + gjay | [] | + gliv | [] () | + glunarclock | [] [] [] [] | + gnubiff | () [] () | + gnucash | () () () () () [] | + gnuedu | [] [] | + gnulib | [] [] [] [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] [] | + gpe-aerial | [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] [] | + gpe-go | [] [] [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] [] [] [] [] | + gprof | [] [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] [] | + grub | [] [] [] [] | + gsasl | [] [] [] [] [] | + gss | [] [] [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] [] [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] [] | + hello | [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] [] | + indent | [] [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | () [] [] [] | + iso_4217 | [] () [] [] [] [] | + iso_639 | [] () [] [] [] [] [] [] [] | + iso_639_3 | () [] [] | + jwhois | [] [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] [] [] [] | + keytouch-editor | [] [] [] [] [] | + keytouch-keyboa... | [] [] [] [] [] | + klavaro | [] [] | + latrine | [] [] [] | + ld | [] [] [] [] | + leafpad | [] [] [] [] [] [] [] () | + libc | [] [] [] [] [] | + libexif | [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] [] | + libidn | [] [] [] [] | + lifelines | () | + liferea | [] [] [] [] | + lilypond | [] [] | + linkdr | [] [] [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] [] | + man-db | [] [] | + man-db-manpages | [] | + minicom | [] [] [] [] [] | + mkisofs | [] [] [] [] | + myserver | | + nano | [] [] [] [] [] [] | + opcodes | [] [] [] [] | + parted | [] [] [] [] | + pies | | + popt | [] [] [] [] [] [] [] [] [] | + psmisc | [] [] [] | + pspp | | + pwdutils | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () () () () | + rpm | [] [] | + rush | | + sarg | [] | + screem | [] [] | + scrollkeeper | [] [] [] [] | + sed | [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + shishi | [] | + skencil | [] | + solfege | [] [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] | + sp | [] () | + sysstat | [] [] [] [] [] | + tar | [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux-ng | [] [] [] [] [] [] | + vice | () () () | + vmm | [] | + vorbis-tools | [] | + wastesedge | () () | + wdiff | [] | + wget | [] [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] | + +----------------------------------------------------+ + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 + + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + +-----------------------------------------------+ + a2ps | [] | + aegis | | + ant-phone | | + anubis | [] [] | + aspell | [] | + bash | | + bfd | | + bibshelf | [] [] | + binutils | | + bison | [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] | + cpio | | + cppi | | + cpplib | | + cryptsetup | | + dfarc | [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] | + dink | | + doodle | | + e2fsprogs | | + enscript | | + exif | [] | + fetchmail | | + findutils | | + flex | | + freedink | [] | + gas | | + gawk | | + gcal | | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] | + gettext-tools | [] | + gip | [] [] | + gjay | | + gliv | | + glunarclock | [] | + gnubiff | | + gnucash | () () () () | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gold | | + gpe-aerial | [] | + gpe-beam | [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | | + gsasl | | + gss | | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | | + gtick | | + gtkam | [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | | + hello | [] [] [] | + help2man | | + hylafax | | + idutils | | + indent | | + iso_15924 | [] [] | + iso_3166 | [] [] () [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] | + iso_639 | [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | [] | + ld | | + leafpad | [] [] [] | + libc | [] | + libexif | | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | | + libidn | | + lifelines | | + liferea | | + lilypond | | + linkdr | | + lordsawar | | + lprng | | + lynx | | + m4 | | + mailfromd | | + mailutils | | + make | [] | + man-db | | + man-db-manpages | | + minicom | [] | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | [] [] [] | + psmisc | | + pspp | | + pwdutils | | + radius | | + recode | | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] | + sed | | + sharutils | | + shishi | | + skencil | | + solfege | [] | + solfege-manual | | + soundtracker | | + sp | | + sysstat | [] | + tar | [] | + texinfo | [] | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] | + wyslij-po | | + xchat | [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +-----------------------------------------------+ + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 + + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + +---------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] | + bfd | [] | + bibshelf | [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] () | + buzztard | [] [] | + cflow | [] | + clisp | [] [] | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] | + cryptsetup | [] | + dfarc | [] | + dialog | [] [] [] [] | + dico | [] | + diffutils | [] [] [] [] [] [] | + dink | () | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + exif | [] [] [] () [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] [] | + freedink | [] [] | + gas | | + gawk | [] [] [] [] | + gcal | | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] | + gnubiff | [] () | + gnucash | [] () () () | + gnuedu | [] | + gnulib | [] [] [] [] | + gnunet | | + gnunet-gtk | | + gnutls | [] [] | + gold | | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] [] | + gphoto2 | [] [] [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] | + hello | [] [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] [] [] [] | + iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | + iso_3166_2 | [] [] [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] [] [] | + iso_639_3 | [] [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | | + leafpad | [] [] [] [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] | + lifelines | [] [] | + liferea | [] [] [] [] [] () () [] | + lilypond | [] | + linkdr | [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] | + make | [] [] [] [] | + man-db | [] [] [] | + man-db-manpages | [] [] [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + pies | [] | + popt | [] [] [] [] | + psmisc | [] [] [] | + pspp | [] [] | + pwdutils | [] | + radius | [] [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () | + rpm | [] [] [] | + rush | [] [] | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] [] [] [] | + solfege-manual | [] [] [] | + soundtracker | [] | + sp | | + sysstat | [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | [] | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +---------------------------------------------------+ + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 + + sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + +---------------------------------------------------+ + a2ps | [] [] [] [] [] | 27 + aegis | [] | 9 + ant-phone | [] [] [] [] | 9 + anubis | [] [] [] [] | 15 + aspell | [] [] [] | 20 + bash | [] [] [] | 12 + bfd | [] | 6 + bibshelf | [] [] [] | 16 + binutils | [] [] | 8 + bison | [] [] | 12 + bison-runtime | [] [] [] [] [] [] | 29 + bluez-pin | [] [] [] [] [] [] [] [] | 37 + bombono-dvd | [] | 4 + buzztard | [] | 7 + cflow | [] [] [] | 9 + clisp | | 10 + coreutils | [] [] [] [] | 22 + cpio | [] [] [] [] [] [] | 13 + cppi | [] [] | 5 + cpplib | [] [] [] [] [] [] | 14 + cryptsetup | [] [] | 7 + dfarc | [] | 9 + dialog | [] [] [] [] [] [] [] | 30 + dico | [] | 2 + diffutils | [] [] [] [] [] [] | 30 + dink | | 4 + doodle | [] [] | 7 + e2fsprogs | [] [] [] | 11 + enscript | [] [] [] [] | 17 + exif | [] [] [] | 16 + fetchmail | [] [] [] | 17 + findutils | [] [] [] [] [] | 20 + flex | [] [] [] [] | 15 + freedink | [] | 10 + gas | [] | 4 + gawk | [] [] [] [] | 18 + gcal | [] [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] [] | 34 + gettext-runtime | [] [] [] [] [] [] [] | 29 + gettext-tools | [] [] [] [] [] [] | 22 + gip | [] [] [] [] | 22 + gjay | [] | 3 + gliv | [] [] [] | 14 + glunarclock | [] [] [] [] [] | 19 + gnubiff | [] [] | 4 + gnucash | () [] () [] () | 10 + gnuedu | [] [] | 7 + gnulib | [] [] [] [] | 16 + gnunet | [] | 1 + gnunet-gtk | [] [] [] | 5 + gnutls | [] [] [] | 10 + gold | [] | 4 + gpe-aerial | [] [] [] | 18 + gpe-beam | [] [] [] | 19 + gpe-bluetooth | [] [] [] | 13 + gpe-calendar | [] [] [] [] | 12 + gpe-clock | [] [] [] [] [] | 28 + gpe-conf | [] [] [] [] | 20 + gpe-contacts | [] [] [] | 17 + gpe-edit | [] [] [] | 12 + gpe-filemanager | [] [] [] [] | 16 + gpe-go | [] [] [] [] [] | 25 + gpe-login | [] [] [] | 11 + gpe-ownerinfo | [] [] [] [] [] | 25 + gpe-package | [] [] [] | 13 + gpe-sketchbook | [] [] [] | 20 + gpe-su | [] [] [] [] [] | 30 + gpe-taskmanager | [] [] [] [] [] | 29 + gpe-timesheet | [] [] [] [] [] | 25 + gpe-today | [] [] [] [] [] [] | 30 + gpe-todo | [] [] [] [] | 17 + gphoto2 | [] [] [] [] [] | 24 + gprof | [] [] [] | 15 + gpsdrive | [] [] [] | 11 + gramadoir | [] [] [] | 11 + grep | [] [] [] | 10 + grub | [] [] [] | 14 + gsasl | [] [] [] [] | 14 + gss | [] [] [] | 11 + gst-plugins-bad | [] [] [] [] | 26 + gst-plugins-base | [] [] [] [] [] | 24 + gst-plugins-good | [] [] [] [] | 24 + gst-plugins-ugly | [] [] [] [] [] | 29 + gstreamer | [] [] [] [] | 22 + gtick | [] [] [] | 13 + gtkam | [] [] [] | 20 + gtkorphan | [] [] [] | 14 + gtkspell | [] [] [] [] [] [] [] [] [] | 45 + gutenprint | [] | 10 + hello | [] [] [] [] [] [] | 21 + help2man | [] [] | 7 + hylafax | [] | 5 + idutils | [] [] [] [] | 17 + indent | [] [] [] [] [] [] | 30 + iso_15924 | () [] () [] [] | 16 + iso_3166 | [] [] () [] [] () [] [] [] () | 53 + iso_3166_2 | () [] () [] | 9 + iso_4217 | [] () [] [] () [] [] | 26 + iso_639 | [] [] [] () [] () [] [] [] [] | 38 + iso_639_3 | [] () | 8 + jwhois | [] [] [] [] [] | 16 + kbd | [] [] [] [] [] | 15 + keytouch | [] [] [] | 16 + keytouch-editor | [] [] [] | 14 + keytouch-keyboa... | [] [] [] | 14 + klavaro | [] | 11 + latrine | [] [] [] | 10 + ld | [] [] [] [] | 11 + leafpad | [] [] [] [] [] [] | 33 + libc | [] [] [] [] [] | 21 + libexif | [] () | 7 + libextractor | [] | 1 + libgnutls | [] [] [] | 9 + libgpewidget | [] [] [] | 14 + libgpg-error | [] [] [] | 9 + libgphoto2 | [] [] | 8 + libgphoto2_port | [] [] [] [] | 14 + libgsasl | [] [] [] | 13 + libiconv | [] [] [] [] | 21 + libidn | () [] [] | 11 + lifelines | [] | 4 + liferea | [] [] [] | 21 + lilypond | [] | 7 + linkdr | [] [] [] [] [] | 17 + lordsawar | | 1 + lprng | [] | 3 + lynx | [] [] [] [] | 17 + m4 | [] [] [] [] | 19 + mailfromd | [] [] | 3 + mailutils | [] | 5 + make | [] [] [] [] | 21 + man-db | [] [] [] | 8 + man-db-manpages | | 4 + minicom | [] [] | 16 + mkisofs | [] [] | 9 + myserver | | 0 + nano | [] [] [] [] | 21 + opcodes | [] [] [] | 11 + parted | [] [] [] [] [] | 15 + pies | [] [] | 3 + popt | [] [] [] [] [] [] | 27 + psmisc | [] [] | 11 + pspp | | 4 + pwdutils | [] [] | 6 + radius | [] [] | 9 + recode | [] [] [] [] | 28 + rosegarden | () | 0 + rpm | [] [] [] | 11 + rush | [] [] | 4 + sarg | | 1 + screem | [] | 3 + scrollkeeper | [] [] [] [] [] | 27 + sed | [] [] [] [] [] | 30 + sharutils | [] [] [] [] [] | 22 + shishi | [] | 3 + skencil | [] [] | 7 + solfege | [] [] [] [] | 16 + solfege-manual | [] | 8 + soundtracker | [] [] [] | 9 + sp | [] | 3 + sysstat | [] [] | 15 + tar | [] [] [] [] [] [] | 23 + texinfo | [] [] [] [] [] | 17 + tin | | 4 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux-ng | [] [] [] [] | 20 + vice | () () | 1 + vmm | [] | 4 + vorbis-tools | [] | 6 + wastesedge | | 2 + wdiff | [] [] | 7 + wget | [] [] [] [] [] | 26 + wyslij-po | [] [] | 8 + xchat | [] [] [] [] [] [] | 36 + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 + xkeyboard-config | [] [] [] | 22 + +---------------------------------------------------+ + 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If June 2010 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://translationproject.org/extra/matrix.html'. + +1.5 Using `gettext' in new packages +=================================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`coordinator@translationproject.org' to make the `.pot' files available +to the translation teams. + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..8de5c4d --- /dev/null +++ b/AUTHORS @@ -0,0 +1,23 @@ +The following authors assigned copyright on their work to the Free +Software Foundation: + +Yoshinori K. Okuji designed and implemented the initial version. + +Jeroen Dekkers added initrd support, Multiboot support, and fixed bugs +in ext2fs. + +Marco Gerards added ext2fs support, grub-emu, a new command-line +engine, and fixed many bugs. + +Omniflux added terminfo and serial support. + +Vincent Pelletier added Sparc64 support. + +Hollis Blanchard implemented many parts of PowerPC support. + +Tomas Ebenlendr added the command chainloader into the normal mode, +fixed some bugs. + +Guillem Jover merged architecture-independent ELF support code. + +Vesa Jaaskelainen added VBE support. diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..46faa64 --- /dev/null +++ b/BUGS @@ -0,0 +1,7 @@ +GRUB team is aware of following problems: + - Currently search and assembling multidevice abstractions scans + all the devices which can be slow. + - Cache isn't used correctly for video which results in slowness. + +While these are bugs their solution has a potential of breaking more and more +seriously. So it was decided for 1.99 that they aren't fixed. diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..434754f --- /dev/null +++ b/ChangeLog @@ -0,0 +1,13098 @@ +2021-06-08 Daniel Kiper + + Release 2.06 + +2021-06-08 Daniel Kiper + + SECURITY: Add SECURITY file + The SECURITY file describes the GRUB project security policy. + + It is based on https://github.com/wireapp/wire/blob/master/SECURITY.md + +2021-06-08 Daniel Kiper + + MAINTAINERS: Add MAINTAINERS file + The MAINTAINERS file provides basic information about the GRUB project + and its maintainers. + +2021-06-01 Dimitri John Ledkov + + grub-install: Add backup and restore + Refactor clean_grub_dir() to create a backup of all the files, instead + of just irrevocably removing them as the first action. If available, + register atexit() handler to restore the backup if errors occur before + point of no return, or remove the backup if everything was successful. + If atexit() is not available, the backup remains on disk for manual + recovery. + + Some platforms defined a point of no return, i.e. after modules & core + images were updated. Failures from any commands after that stage are + ignored, and backup is cleaned up. For example, on EFI platforms update + is not reverted when efibootmgr fails. + + Extra care is taken to ensure atexit() handler is only invoked by the + parent process and not any children forks. Some older GRUB codebases + can invoke parent atexit() hooks from forks, which can mess up the + backup. + + This allows safer upgrades of MBR & modules, such that + modules/images/fonts/translations are consistent with MBR in case of + errors. For example accidental grub-install /dev/non-existent-disk + currently clobbers and upgrades modules in /boot/grub, despite not + actually updating any MBR. + + This patch only handles backup and restore of files copied to /boot/grub. + This patch does not perform backup (or restoration) of MBR itself or + blocklists. Thus when installing i386-pc platform, corruption may still + occur with MBR and blocklists which will not be attempted to be + automatically recovered. + + Also add modinfo.sh and *.efi to the cleanup/backup/restore code path, + to ensure it is also cleaned, backed up and restored. + + Reviewed-by: Daniel Kiper + +2021-06-01 Dimitri John Ledkov + + osdep/unix/exec: Avoid atexit() handlers when child execvp() fails + The functions grub_util_exec_pipe() and grub_util_exec_pipe_stderr() + currently call execvp(). If the call fails for any reason, the child + currently calls exit(127). This in turn executes the parents + atexit() handlers from the forked child, and then the same handlers + are called again from parent. This is usually not desired, and can + lead to deadlocks, and undesired behavior. So, change the exit() calls + to _exit() calls to avoid calling atexit() handlers from child. + + Fixes: e75cf4a58 (unix exec: avoid atexit handlers when child exits) + + Reviewed-by: Daniel Kiper + +2021-06-01 Jan (janneke) Nieuwenhuizen + + lib/i386/relocator64: Build fixes for i386 + This fixes cross-compiling to x86 (e.g., the Hurd) from x86-linux of + + grub-core/lib/i386/relocator64.S + + This file has six sections that only build with a 64-bit assembler, + yet only the first two sections had support for a 32-bit assembler. + This patch completes this for the remaining sections. + + To reproduce, update the GRUB source description in your local Guix + archive and run + + ./pre-inst-env guix build --system=i686-linux --target=i586-pc-gnu grub + + or install an x86 cross-build environment on x86-linux (32-bit!) and + configure to cross build and make, e.g., do something like + + ./configure \ + CC_FOR_BUILD=gcc \ + --build=i686-unknown-linux-gnu \ + --host=i586-pc-gnu + make + + Additionally, remove a line with redundant spaces. + + Reviewed-by: Daniel Kiper + +2021-06-01 Javier Martinez Canillas + + fs/xfs: Add needsrepair incompat feature support + The XFS now has an incompat feature flag to indicate that a filesystem + needs to be repaired. The Linux kernel refuses to mount the filesystem + that has it set and only the xfs_repair tool is able to clear that flag. + + The GRUB doesn't have the concept of mounting filesystems and just + attempts to read the files. But it does some sanity checking before + attempting to read from the filesystem. Among the things which are tested, + is if the super block only has set of incompatible features flags that + are supported by GRUB. If it contains any flags that are not listed as + supported, reading the XFS filesystem fails. + + Since the GRUB doesn't attempt to detect if the filesystem is inconsistent + nor replays the journal, the filesystem access is a best effort. For this + reason, ignore if the filesystem needs to be repaired and just print a debug + message. That way, if reading or booting fails later, the user is able to + figure out that the failures can be related to broken XFS filesystem. + + Suggested-by: Eric Sandeen + Reviewed-by: Daniel Kiper + +2021-06-01 Carlos Maiolino + + fs/xfs: Add bigtime incompat feature support + The XFS filesystem supports a bigtime feature to overcome y2038 problem. + This patch makes the GRUB able to support the XFS filesystems with this + feature enabled. + + The XFS counter for the bigtime enabled timestamps starts at 0, which + translates to GRUB_INT32_MIN (Dec 31 20:45:52 UTC 1901) in the legacy + timestamps. The conversion to Unix timestamps is made before passing the + value to other GRUB functions. + + For this to work properly, GRUB requires an access to flags2 field in the + XFS ondisk inode. So, the grub_xfs_inode structure has been updated to + cover full ondisk inode. + + Reviewed-by: Daniel Kiper + +2021-06-01 Carlos Maiolino + + fs: Use 64-bit type for filesystem timestamp + Some filesystems nowadays use 64-bit types for timestamps. So, update + grub_dirhook_info struct to use an grub_int64_t type to store mtime. + This also updates the grub_unixtime2datetime() function to receive + a 64-bit timestamp argument and do 64-bit-safe divisions. + + All the remaining conversion from 32-bit to 64-bit should be safe, as + 32-bit to 64-bit attributions will be implicitly casted. The most + critical part in the 32-bit to 64-bit conversion is in the function + grub_unixtime2datetime() where it needs to deal with the 64-bit type. + So, for that, the grub_divmod64() helper has been used. + + These changes enables the GRUB to support dates beyond y2038. + + Reviewed-by: Daniel Kiper + +2021-05-28 Javier Martinez Canillas + + types: Define PRI{x,d}GRUB_INT{32,64}_T format specifiers + There are already PRI*_T constants defined for unsigned integers but not + for signed integers. Add format specifiers for the latter. + + Suggested-by: Daniel Kiper + Reviewed-by: Daniel Kiper + +2021-05-28 Tianjia Zhang + + kern/efi/sb: Remove duplicate efi_shim_lock_guid variable + The efi_shim_lock_guid local variable and shim_lock_guid global variable + have the same GUID value. Only the latter is retained. + + Reviewed-by: Daniel Kiper + +2021-05-10 Javier Martinez Canillas + + util/mkimage: Fix wrong PE32+ section sizes for some arches + The commit f60ba9e5945 (util/mkimage: Refactor section setup to use a helper) + added a helper function to setup PE sections. But it also changed how the + raw data offsets were calculated since all the section sizes are aligned. + However, for some platforms, i.e ia64-efi and arm64-efi, the kernel image + size is not aligned using the section alignment. This leads to the situation + in which the mods section offset in its PE section header does not match its + real placement in the PE file. So, finally the GRUB is not able to locate + and load built-in modules. + + The problem surfaces on ia64-efi and arm64-efi because both platforms + require additional relocation data which is added behind .bss section. + So, we have to add some padding behind this extra data to make the + beginning of mods section properly aligned in the PE file. Fix it by + aligning the kernel_size to the section alignment. That makes the sizes + and offsets in the PE section headers to match relevant sections in the + PE32+ binary file. + + Reported-by: John Paul Adrian Glaubitz + Tested-by: John Paul Adrian Glaubitz + Reviewed-by: Daniel Kiper + +2021-05-10 Daniel Kiper + + term/terminfo: Fix the terminfo command help and documentation + Additionally, fix the terminfo spelling mistake in + the GRUB development documentation. + + Reviewed-by: Javier Martinez Canillas + +2021-05-10 Daniel Kiper + + i18n: Align N_() formatting with the rest of GRUB code + Reviewed-by: Javier Martinez Canillas + +2021-05-10 Daniel Kiper + + i18n: Format large integers before the translation message - take 2 + This is an additional fix which has been missing from the commit 837fe48de + (i18n: Format large integers before the translation message). + + Reviewed-by: Javier Martinez Canillas + +2021-04-13 Miguel Ãngel Arruga Vivas + + i18n: Format large integers before the translation message + The GNU gettext only supports the ISO C99 macros for integral + types. If there is a need to use unsupported formatting macros, + e.g. PRIuGRUB_UINT64_T, according to [1] the number to a string + conversion should be separated from the code printing message + requiring the internationalization. So, the function grub_snprintf() + is used to print the numeric values to an intermediate buffer and + the internationalized message contains a string format directive. + + [1] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html#No-string-concatenation + + Reviewed-by: Daniel Kiper + +2021-04-12 Daniel Axtens + + video/fb/fbfill: Use unsigned integers for width/height + Since commit 7ce3259f67ac (video/fb/fbfill: Fix potential integer + overflow), clang builds of grub-emu have failed with messages like: + + /usr/bin/ld: libgrubmods.a(libgrubmods_a-fbfill.o): in function `grub_video_fbfill_direct24': + fbfill.c:(.text+0x28e): undefined reference to `__muloti4' + + This appears to be due to a weird quirk in how clang compiles + + grub_mul(dst->mode_info->bytes_per_pixel, width, &rowskip) + + which is grub_mul(unsigned int, int, &grub_size_t). + + It looks like clang somewhere promotes everything to 128-bit maths + before ultimately reducing down to 64 bit for grub_size_t. I think + this is because width is signed, and indeed converting width to an + unsigned int makes the problem go away. + + This conversion also makes more sense generally: + - the caller of all the fbfill_directN functions is + grub_video_fb_fill_dispatch() and it takes width and height as + unsigned ints already, + - it doesn't make sense to fill a negative width or height. + + Convert the width and height arguments and associated loop counters + to unsigned ints. + + Fixes: 7ce3259f67ac (video/fb/fbfill: Fix potential integer overflow) + + Reviewed-by: Daniel Kiper + +2021-04-12 Glenn Washburn + + docs: Conform badmem and cutmem description indentations with other commands + Reviewed-by: Daniel Kiper + + docs: Add note to cryptomount that UUIDs should be specified without dashes + Reviewed-by: Daniel Kiper + +2021-04-12 Aru Sahni + + templates: Fix user-facing typo with an incorrect use of "it's" + Since the possessive form of "it" is being used, the apostrophe must be omitted. + + Reviewed-by: Daniel Kiper + +2021-04-12 Colin Watson + + buffer: Sync up out-of-range error message + The messages associated with other similar GRUB_ERR_OUT_OF_RANGE errors + were lacking the trailing full stop. Syncing up the strings saves a small + amount of precious core image space on i386-pc. + + DOWN: obj/i386-pc/grub-core/kernel.img (31740 > 31708) - change: -32 + DOWN: i386-pc core image (biosdisk ext2 part_msdos) (27453 > 27452) - change: -1 + DOWN: i386-pc core image (biosdisk ext2 part_msdos diskfilter mdraid09) (32367 > 32359) - change: -8 + + Reviewed-by: Daniel Kiper + +2021-04-12 Glenn Washburn + + usb/usbhub: Use GRUB_USB_MAX_CONF macro instead of literal in hub for maximum configs + Reviewed-by: Daniel Kiper + +2021-04-12 Daniel Drake + + fs/minix: Avoid mistakenly probing ext2 filesystems + The ext2 (and ext3, ext4) filesystems write the number of free inodes to + location 0x410. + + On a MINIX filesystem, that same location is used for the MINIX superblock + magic number. + + If the number of free inodes on an ext2 filesystem is equal to any + of the four MINIX superblock magic values plus any multiple of 65536, + GRUB's MINIX filesystem code will probe it as a MINIX filesystem. + + In the case of an OS using ext2 as the root filesystem, since there will + ordinarily be some amount of file creation and deletion on every bootup, + it effectively means that this situation has a 1:16384 chance of being hit + on every reboot. + + This will cause GRUB's filesystem probing code to mistakenly identify an + ext2 filesystem as MINIX. This can be seen by e.g. "search --label" + incorrectly indicating that no such ext2 partition with matching label + exists, whereas in fact it does. + + After spotting the rough cause of the issue I was facing here, I borrowed + much of the diagnosis/explanation from meierfra who found and investigated + the same issue in util-linux in 2010: + + https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/518582 + + This was fixed in util-linux by having the MINIX code check for the + ext2 magic. Do the same here. + + Reviewed-by: Derek Foreman + Reviewed-by: Daniel Kiper + +2021-03-12 Daniel Kiper + + Release 2.06~rc1 + +2021-03-11 Ard Biesheuvel + + arm/linux: Fix ARM Linux header layout + The hdr_offset member of the ARM Linux image header appears at + offset 0x3c, matching the PE/COFF spec's placement of the COFF + header offset in the MS-DOS header. We're currently off by four, + so fix that. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + style: Format string macro should have a space between quotes + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + grub/err: Do compile-time format string checking on grub_error() + This should help prevent format string errors and thus improve the quality + of error reporting. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + fs/zfs/zfs: Use format code "%llu" for 64-bit uint bp->blk_prop in grub_error() + This is a temporary, less-intrusive change to get the build to success with + compiler format string checking turned on. There is a better fix which + addresses this issue, but it needs more testing. Use this change so that + format string checking on grub_error() can be turned on until the better + change is fully tested. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + fs/hfsplus: Use format code PRIuGRUB_UINT64_T for 64-bit typed fileblock in grub_error() + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + dl/elf: Use format code PRIxGRUB_UINT64_T for 64-bit arg in grub_error() + The macro ELF_R_TYPE does not change the underlying type. Here its argument + is a 64-bit Elf64_Xword. Make sure the format code matches. + + For the RISC-V architecture, rel->r_info could be either Elf32_Xword or + Elf64_Xword depending on if 32 or 64-bit RISC-V is being built. So cast + to 64-bit value regardless. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + disk/ata: Use format code PRIxGRUB_UINT64_T for 64-bit uint argument in grub_error() + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + loader/i386/pc/linux: Use PRI* macros to get correct format string code across architectures + Also remove casting of format string args so that the architecture dependent + type is preserved. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + kern/efi/mm: Format string error in grub_error() + The second format string argument, GRUB_EFI_MAX_USABLE_ADDRESS, is a macro + to a number literal. However, depending on what the target architecture, the + type can be 32 or 64 bits. Cast to a 64-bit integer. Also, change the + format string literals "%llx" to use PRIxGRUB_UINT64_T. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + commands/pgp: Format code for grub_error() is incorrect + The format code is for a 32-bit int, but the argument, keyid, is declared as + a 64 bit int. The comment above says keyid is 32-bit. I'm not sure if the + comment or declaration is wrong, so force the display of a 64-bit int for now. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + grub_error: Use format code PRIuGRUB_SIZE for variables of type grub_size_t + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + disk/dmraid_nvidia: Format string error in grub_error() + The grub_error() has a format string expecting two arguments, but only one + provided. According to the comments in the struct grub_nv_super definition, + the version field looks like a version number where major.minor is encoded + as each a byte in the two-byte short. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + video/bochs: grub_error() format string add missing format code + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + parttool/msdospart: grub_error() missing format string argument + Its obvious from the error message that the variable named "type" was + accidentally omitted. + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + misc: Format string for grub_error() should be a literal + Reviewed-by: Daniel Kiper + +2021-03-10 Philip Müller + + templates: Properly disable the os-prober by default + This patch does the following: + - really disables os-prober by default in the util/grub-mkconfig.in + by setting GRUB_DISABLE_OS_PROBER to true, + - fixes the logic in the util/grub.d/30_os-prober.in, + - updates the grub_warn() lines. + + Reason for the code shuffling in the util/grub-mkconfig.in: + + The default was GRUB_DISABLE_OS_PROBER=false if you don't set + GRUB_DISABLE_OS_PROBER at all. To prevent os-prober from starting we + have to set it by default to true and shuffle GRUB_DISABLE_OS_PROBER to + code section, which is executed by the script. However we still give an + option to the user to overwrite it with false, if he wants to execute + os-prober after all. + + Fixes: e3464147 (templates: Disable the os-prober by default) + + Reported-by: Didier Spaier + Reported-by: Lennart Sorensen + Reported-by: John Paul Adrian Glaubitz + Reviewed-by: Daniel Kiper + +2021-03-10 Michael Chang + + kern/efi/sb: Add chainloaded image as shim's verifiable object + While attempting to dual boot Microsoft Windows with UEFI chainloader, + it failed with below error when UEFI Secure Boot was enabled: + + error ../../grub-core/kern/verifiers.c:119:verification requested but + nobody cares: /EFI/Microsoft/Boot/bootmgfw.efi. + + It is a regression, as previously it worked without any problem. + + It turns out chainloading PE image has been locked down by commit + 578c95298 (kern: Add lockdown support). However, we should consider it + as verifiable object by shim to allow booting in UEFI Secure Boot mode. + The chainloaded PE image could also have trusted signature created by + vendor with their pubkey cert in db. For that matters it's usage should + not be locked down under UEFI Secure Boot, and instead shim should be + allowed to validate a PE binary signature before running it. + + Fixes: 578c95298 (kern: Add lockdown support) + + Reviewed-by: Daniel Kiper + +2021-03-10 Glenn Washburn + + disk/pata: Suppress error message "no device connected" + This error message comes from the grub_print_error() in + grub_pata_device_initialize(), which does not pass on the error, and is + raised in check_device(). The function check_device() needs to return this + as an error because check_device() is also used in grub_pata_open(), which + does pass on this error to indicate that the device can not be used. + + This is actually not an error when displayed by grub_pata_device_initialize() + because it just indicates that there are no pata devices seen. This may be + confusing to end users who do not have pata devices yet are loading the + pata module (perhaps implicitly via nativedisk). This also causes unnecessary + output which may need to be accounted for in functional testing. + + Instead print to the debug log when check_device() raises this "error" and + pop the error from the error stack. If there is another error on the stack + then print the error stack as those should be real errors. + + Acked-by: Paul Menzel + Reviewed-by: Daniel Kiper + +2021-03-10 Yi Zhao + + fs/ext2: Fix a file not found error when a symlink filesize is equal to 60 + We encountered a file not found error when the symlink filesize is + equal to 60: + + $ ls -l initrd + lrwxrwxrwx 1 root root 60 Jan 6 16:37 initrd -> secure-core-image-initramfs-5.10.2-yoctodev-standard.cpio.gz + + When booting, we got the following error in the GRUB: + + error: file `/initrd' not found + + The root cause is that the size of diro->inode.symlink is equal to 60 + and a symlink name has to be terminated with NUL there. So, if the + symlink filesize is exactly 60 then it is also stored in a separate + block rather than in the inode itself. + + Reviewed-by: Daniel Kiper + +2021-03-02 Tianjia Zhang + + loader/i386/linux: Do not use grub_le_to_cpu32() for relocatable variable + The relocatable variable is defined as grub_uint8_t. Relevant + member in setup_header structure is also defined as one byte + in Linux boot protocol. By semantic definition it is a bool type. + It is not appropriate to treat it as a four bytes. This patch + fixes the issue. + + Reviewed-by: Daniel Kiper + +2021-03-02 Tianjia Zhang + + loader/i386/linux: Remove redundant code from in grub_cmd_linux() + The preferred_address has been assigned to GRUB_LINUX_BZIMAGE_ADDR + during initialization in grub_cmd_linux(). The assignment here + is redundant and should be removed. + + Reviewed-by: Daniel Kiper + +2021-03-02 Heinrich Schuchardt + + efi: The device-tree must be in EfiACPIReclaimMemory + According to the Embedded Base Boot Requirements (EBBR) specification the + device-tree passed to Linux as a configuration table must reside in + EfiACPIReclaimMemory. + + Reviewed-by: Daniel Kiper + +2021-03-02 Heinrich Schuchardt + + commands/efi/lsefisystab: Add short text for EFI_RT_PROPERTIES_TABLE_GUID + UEFI specification 2.8 errata B introduced the EFI_RT_PROPERTIES_TABLE + describing the services available at runtime. + + The lsefisystab command is used to display installed EFI configuration + tables. Currently it only shows the GUID but not a short text for the + new table. + + Provide a short text for the EFI_RT_PROPERTIES_TABLE_GUID. + + Reviewed-by: Daniel Kiper + +2021-03-02 Petr Vorel + + docs/luks2: Mention key derivation function support + To give users hint why Argon2, the default in cryptsetup for LUKS2, does + not work. + + Acked-by: Paul Menzel + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2021-03-02 Derek Foreman + + commands/file: Fix array/enum desync + The commit f1957dc8a (RISC-V: Add to build system) added two entries to + the options array, but only 1 entry to the enum. This resulted in + everything after the insertion point being off by one. + + This broke at least the "file --is-hibernated-hiberfil" command. + + Bring the two back in sync by splitting the IS_RISCV_EFI enum entry into + two, as is done for other architectures. + + Reviewed-by: Daniel Kiper + +2021-03-02 Marco A Benatto + + kern/mm: Fix grub_debug_calloc() compilation error + Fix compilation error due to missing parameter to + grub_printf() when MM_DEBUG is defined. + + Fixes: 64e26162e (calloc: Make sure we always have an overflow-checking calloc() available) + + Reviewed-by: Daniel Kiper + +2021-03-02 Alex Burmashev + + templates: Disable the os-prober by default + The os-prober is enabled by default what may lead to potentially + dangerous use cases and borderline opening attack vectors. This + patch disables the os-prober, adds warning messages and updates + GRUB_DISABLE_OS_PROBER configuration option documentation. This + way we make it clear that the os-prober usage is not recommended. + + Simplistic nature of this change allows downstream vendors, who + really want os-prober to be enabled out of the box in their + relevant products, easily revert to it's old behavior. + + Reported-by: NyankoSec (, https://twitter.com/NyankoSec), + working with SSD Secure Disclosure + Reviewed-by: Daniel Kiper + +2021-03-02 Thomas Frauendorfer | Miray Software + + gfxmenu/gui: Check printf() format in the gui_progress_bar and gui_label + The gui_progress_bar and gui_label components can display the timeout + value. The format string can be set through a theme file. This patch + adds a validation step to the format string. + + If a user loads a theme file into the GRUB without this patch then + a GUI label with the following settings + + + label { + ... + id = "__timeout__" + text = "%s" + } + + will interpret the current timeout value as string pointer and print the + memory at that position on the screen. It is not desired behavior. + + Reviewed-by: Daniel Kiper + +2021-03-02 Thomas Frauendorfer | Miray Software + + kern/misc: Add function to check printf() format against expected format + The grub_printf_fmt_check() function parses the arguments of an untrusted + printf() format and an expected printf() format and then compares the + arguments counts and arguments types. The arguments count in the untrusted + format string must be less or equal to the arguments count in the expected + format string and both arguments types must match. + + To do this the parse_printf_arg_fmt() helper function is extended in the + following way: + + 1. Add a return value to report errors to the grub_printf_fmt_check(). + + 2. Add the fmt_check argument to enable stricter format verification: + - the function expects that arguments definitions are always + terminated by a supported conversion specifier. + - positional parameters, "$", are not allowed, as they cannot be + validated correctly with the current implementation. For example + "%s%1$d" would assign the first args entry twice while leaving the + second one unchanged. + - Return an error if preallocated space in args is too small and + allocation fails for the needed size. The grub_printf_fmt_check() + should verify all arguments. So, if validation is not possible for + any reason it should return an error. + This also adds a case entry to handle "%%", which is the escape + sequence to print "%" character. + + 3. Add the max_args argument to check for the maximum allowed arguments + count in a printf() string. This should be set to the arguments count + of the expected format. Then the parse_printf_arg_fmt() function will + return an error if the arguments count is exceeded. + + The two additional arguments allow us to use parse_printf_arg_fmt() in + printf() and grub_printf_fmt_check() calls. + + When parse_printf_arg_fmt() is used by grub_printf_fmt_check() the + function parse user provided untrusted format string too. So, in + that case it is better to be too strict than too lenient. + + Reviewed-by: Daniel Kiper + +2021-03-02 Thomas Frauendorfer | Miray Software + + kern/misc: Add STRING type for internal printf() format handling + Set printf() argument type for "%s" to new type STRING. This is in + preparation for a follow up patch to compare a printf() format string + against an expected printf() format string. + + For "%s" the corresponding printf() argument is dereferenced as pointer + while all other argument types are defined as integer value. However, + when validating a printf() format it is necessary to differentiate "%s" + from "%p" and other integers. So, let's do that. + + Reviewed-by: Daniel Kiper + +2021-03-02 Thomas Frauendorfer | Miray Software + + kern/misc: Split parse_printf_args() into format parsing and va_list handling + This patch is preparing for a follow up patch which will use + the format parsing part to compare the arguments in a printf() + format from an external source against a printf() format with + expected arguments. + + Reviewed-by: Daniel Kiper + +2021-03-02 Dimitri John Ledkov + + shim_lock: Only skip loading shim_lock verifier with explicit consent + Commit 32ddc42c (efi: Only register shim_lock verifier if shim_lock + protocol is found and SB enabled) reintroduced CVE-2020-15705 which + previously only existed in the out-of-tree linuxefi patches and was + fixed as part of the BootHole patch series. + + Under Secure Boot enforce loading shim_lock verifier. Allow skipping + shim_lock verifier if SecureBoot/MokSBState EFI variables indicate + skipping validations, or if GRUB image is built with --disable-shim-lock. + + Fixes: 132ddc42c (efi: Only register shim_lock verifier if shim_lock + protocol is found and SB enabled) + Fixes: CVE-2020-15705 + Fixes: CVE-2021-3418 + + Reported-by: Dimitri John Ledkov + Reviewed-by: Daniel Kiper + +2021-03-02 Dimitri John Ledkov + + grub-install-common: Add --sbat option + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Add an option to import SBAT metadata into a .sbat section + Add a --sbat option to the grub-mkimage tool which allows us to import + an SBAT metadata formatted as a CSV file into a .sbat section of the + EFI binary. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Refactor section setup to use a helper + Add a init_pe_section() helper function to setup PE sections. This makes + the code simpler and easier to read. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Improve data_size value calculation + According to "Microsoft Portable Executable and Common Object File Format + Specification", the Optional Header SizeOfInitializedData field contains: + + Size of the initialized data section, or the sum of all such sections if + there are multiple data sections. + + Make this explicit by adding the GRUB kernel data size to the sum of all + the modules sizes. The ALIGN_UP() is not required by the PE spec but do + it to avoid alignment issues. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Reorder PE optional header fields set-up + This makes the PE32 and PE32+ header fields set-up easier to follow by + setting them closer to the initialization of their related sections. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Unify more of the PE32 and PE32+ header set-up + There's quite a bit of code duplication in the code that sets the optional + header for PE32 and PE32+. The two are very similar with the exception of + a few fields that have type grub_uint64_t instead of grub_uint32_t. + + Factor out the common code and add a PE_OHDR() macro that simplifies the + set-up and make the code more readable. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Always use grub_host_to_target32() to initialize PE stack and heap stuff + This change does not impact final result of initialization itself. + However, it eases PE code unification in subsequent patches. + + Reviewed-by: Daniel Kiper + +2021-03-02 Peter Jones + + util/mkimage: Use grub_host_to_target32() instead of grub_cpu_to_le32() + The latter doesn't take into account the target image endianness. There is + a grub_cpu_to_le32_compile_time() but no compile time variant for function + grub_host_to_target32(). So, let's keep using the other one for this case. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + util/mkimage: Remove unused code to add BSS section + The code is compiled out so there is no reason to keep it. + + Additionally, don't set bss_size field since we do not add a BSS section. + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/efi: Add initial stack protector implementation + It works only on UEFI platforms but can be quite easily extended to + others architectures and platforms if needed. + + Reviewed-by: Marco A Benatto + Reviewed-by: Javier Martinez Canillas + +2021-03-02 Chris Coulson + + kern/parser: Fix a stack buffer overflow + grub_parser_split_cmdline() expands variable names present in the supplied + command line in to their corresponding variable contents and uses a 1 kiB + stack buffer for temporary storage without sufficient bounds checking. If + the function is called with a command line that references a variable with + a sufficiently large payload, it is possible to overflow the stack + buffer via tab completion, corrupt the stack frame and potentially + control execution. + + Fixes: CVE-2020-27749 + + Reported-by: Chris Coulson + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/buffer: Add variable sized heap buffer + Add a new variable sized heap buffer type (grub_buffer_t) with simple + operations for appending data, accessing the data and maintaining + a read cursor. + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/parser: Refactor grub_parser_split_cmdline() cleanup + Introduce a common function epilogue used for cleaning up on all + return paths, which will simplify additional error handling to be + introduced in a subsequent commit. + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/parser: Introduce terminate_arg() helper + process_char() and grub_parser_split_cmdline() use similar code for + terminating the most recent argument. Add a helper function for this. + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/parser: Introduce process_char() helper + grub_parser_split_cmdline() iterates over each command line character. + In order to add error checking and to simplify the subsequent error + handling, split the character processing in to a separate function. + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + kern/parser: Fix a memory leak + The getline() function supplied to grub_parser_split_cmdline() returns + a newly allocated buffer and can be called multiple times, but the + returned buffer is never freed. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/btrfs: Squash some uninitialized reads + We need to check errors before calling into a function that uses the result. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/btrfs: Validate the number of stripes/parities in RAID5/6 + This prevents a divide by zero if nstripes == nparities, and + also prevents propagation of invalid values if nstripes ends up + less than nparities. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Do not allow a LV to be it's own segment's node's LV + This prevents infinite recursion in the diskfilter verification code. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Sanitize rlocn->offset to prevent wild read + rlocn->offset is read directly from disk and added to the metadatabuf + pointer to create a pointer to a block of metadata. It's a 64-bit + quantity so as long as you don't overflow you can set subsequent + pointers to point anywhere in memory. + + Require that rlocn->offset fits within the metadata buffer size. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Do not overread metadata + We could reach the end of valid metadata and not realize, leading to + some buffer overreads. Check if we have reached the end and bail. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Do not crash if an expected string is not found + Clean up a bunch of cases where we could have strstr() fail and lead to + us dereferencing NULL. + + We'll still leak memory in some cases (loops don't clean up allocations + from earlier iterations if a later iteration fails) but at least we're + not crashing. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Bail on missing PV list + There's an if block for the presence of "physical_volumes {", but if + that block is absent, then p remains NULL and a NULL-deref will result + when looking for logical volumes. + + It doesn't seem like LVM makes sense without physical volumes, so error + out rather than crashing. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Don't blast past the end of the circular metadata buffer + This catches at least some OOB reads, and it's possible I suppose that + if 2 * mda_size is less than GRUB_LVM_MDA_HEADER_SIZE it might catch some + OOB writes too (although that hasn't showed up as a crash in fuzzing yet). + + It's a bit ugly and I'd appreciate better suggestions. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + disk/lvm: Don't go beyond the end of the data we read from disk + We unconditionally trusted offset_xl from the LVM label header, even if + it told us that the PV header/disk locations were way off past the end + of the data we read from disk. + + Require that the offset be sane, fixing an OOB read and crash. + + Fixes: CID 314367, CID 314371 + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + io/gzio: Zero gzio->tl/td in init_dynamic_block() if huft_build() fails + If huft_build() fails, gzio->tl or gzio->td could contain pointers that + are no longer valid. Zero them out. + + This prevents a double free when grub_gzio_close() comes through and + attempts to free them again. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + io/gzio: Catch missing values in huft_build() and bail + In huft_build(), "v" is a table of values in order of bit length. + The code later (when setting up table entries in "r") assumes that all + elements of this array corresponding to a code are initialized and less + than N_MAX. However, it doesn't enforce this. + + With sufficiently manipulated inputs (e.g. from fuzzing), there can be + elements of "v" that are not filled. Therefore a lookup into "e" or "d" + will use an uninitialized value. This can lead to an invalid/OOB read on + those values, often leading to a crash. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + io/gzio: Add init_dynamic_block() clean up if unpacking codes fails + init_dynamic_block() didn't clean up gzio->tl and td in some error + paths. This left td pointing to part of tl. Then in grub_gzio_close(), + when tl was freed the storage for td would also be freed. The code then + attempts to free td explicitly, performing a UAF and then a double free. + + Explicitly clean up tl and td in the error paths. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + io/gzio: Bail if gzio->tl/td is NULL + This is an ugly fix that doesn't address why gzio->tl comes to be NULL. + However, it seems to be sufficient to patch up a bunch of NULL derefs. + + It would be good to revisit this in future and see if we can have + a cleaner solution that addresses some of the causes of the unexpected + NULL pointers. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/nilfs2: Properly bail on errors in grub_nilfs2_btree_node_lookup() + We just introduced an error return in grub_nilfs2_btree_node_lookup(). + Make sure the callers catch it. + + At the same time, make sure that grub_nilfs2_btree_node_lookup() always + inits the index pointer passed to it. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/nilfs2: Don't search children if provided number is too large + NILFS2 reads the number of children a node has from the node. Unfortunately, + that's not trustworthy. Check if it's beyond what the filesystem permits and + reject it if so. + + This blocks some OOB reads. I'm not sure how controllable the read is and what + could be done with invalidly read data later on. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/nilfs2: Reject too-large keys + NILFS2 has up to 7 keys, per the data structure. Do not permit array + indices in excess of that. + + This catches some OOB reads. I don't know how controllable the invalidly + read data is or if that could be used later in the program. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/jfs: Catch infinite recursion + It's possible with a fuzzed filesystem for JFS to keep getblk()-ing + the same data over and over again, leading to stack exhaustion. + + Check if we'd be calling the function with exactly the same data as + was passed in, and if so abort. + + I'm not sure what the performance impact of this is and am open to + better ideas. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/jfs: Limit the extents that getblk() can consider + getblk() implicitly trusts that treehead->count is an accurate count of + the number of extents. However, that value is read from disk and is not + trustworthy, leading to OOB reads and crashes. I am not sure to what + extent the data read from OOB can influence subsequent program execution. + + Require callers to pass in the maximum number of extents for which + they have storage. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/jfs: Do not move to leaf level if name length is negative + Fuzzing JFS revealed crashes where a negative number would be passed + to le_to_cpu16_copy(). There it would be cast to a large positive number + and the copy would read and write off the end of the respective buffers. + + Catch this at the top as well as the bottom of the loop. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/sfs: Fix over-read of root object name + There's a read of the name of the root object that assumes that the name + is nul-terminated within the root block. This isn't guaranteed - it seems + SFS would require you to read multiple blocks to get a full name in general, + but maybe that doesn't apply to the root object. + + Either way, figure out how much space is left in the root block and don't + over-read it. This fixes some OOB reads. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/hfs: Disable under lockdown + HFS has issues such as infinite mutual recursion that are simply too + complex to fix for such a legacy format. So simply do not permit + it to be loaded under lockdown. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/hfsplus: Don't use uninitialized data on corrupt filesystems + Valgrind identified the following use of uninitialized data: + + ==2782220== Conditional jump or move depends on uninitialised value(s) + ==2782220== at 0x42B364: grub_hfsplus_btree_search (hfsplus.c:566) + ==2782220== by 0x42B21D: grub_hfsplus_read_block (hfsplus.c:185) + ==2782220== by 0x42A693: grub_fshelp_read_file (fshelp.c:386) + ==2782220== by 0x42C598: grub_hfsplus_read_file (hfsplus.c:219) + ==2782220== by 0x42C598: grub_hfsplus_mount (hfsplus.c:330) + ==2782220== by 0x42B8C5: grub_hfsplus_dir (hfsplus.c:958) + ==2782220== by 0x4C1AE6: grub_fs_probe (fs.c:73) + ==2782220== by 0x407C94: grub_ls_list_files (ls.c:186) + ==2782220== by 0x407C94: grub_cmd_ls (ls.c:284) + ==2782220== by 0x4D7130: grub_extcmd_dispatcher (extcmd.c:55) + ==2782220== by 0x4045A6: execute_command (grub-fstest.c:59) + ==2782220== by 0x4045A6: fstest (grub-fstest.c:433) + ==2782220== by 0x4045A6: main (grub-fstest.c:772) + ==2782220== Uninitialised value was created by a heap allocation + ==2782220== at 0x483C7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) + ==2782220== by 0x4C0305: grub_malloc (mm.c:42) + ==2782220== by 0x42C21D: grub_hfsplus_mount (hfsplus.c:239) + ==2782220== by 0x42B8C5: grub_hfsplus_dir (hfsplus.c:958) + ==2782220== by 0x4C1AE6: grub_fs_probe (fs.c:73) + ==2782220== by 0x407C94: grub_ls_list_files (ls.c:186) + ==2782220== by 0x407C94: grub_cmd_ls (ls.c:284) + ==2782220== by 0x4D7130: grub_extcmd_dispatcher (extcmd.c:55) + ==2782220== by 0x4045A6: execute_command (grub-fstest.c:59) + ==2782220== by 0x4045A6: fstest (grub-fstest.c:433) + ==2782220== by 0x4045A6: main (grub-fstest.c:772) + + This happens when the process of reading the catalog file goes sufficiently + wrong that there's an attempt to read the extent overflow file, which has + not yet been loaded. Keep track of when the extent overflow file is + fully loaded and refuse to use it before then. + + The load valgrind doesn't like is btree->nodesize, and that's then used + to allocate a data structure. It looks like there are subsequently a lot + of reads based on that pointer so OOB reads are likely, and indeed crashes + (albeit difficult-to-replicate ones) have been observed in fuzzing. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/hfsplus: Don't fetch a key beyond the end of the node + Otherwise you get a wild pointer, leading to a bunch of invalid reads. + Check it falls inside the given node. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + fs/fshelp: Catch impermissibly large block sizes in read helper + A fuzzed HFS+ filesystem had log2blocksize = 22. This gave + log2blocksize + GRUB_DISK_SECTOR_BITS = 31. 1 << 31 = 0x80000000, + which is -1 as an int. This caused some wacky behavior later on in + the function, leading to out-of-bounds writes on the destination buffer. + + Catch log2blocksize + GRUB_DISK_SECTOR_BITS >= 31. We could be stricter, + but this is the minimum that will prevent integer size weirdness. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + term/gfxterm: Don't set up a font with glyphs that are too big + Catch the case where we have a font so big that it causes the number of + rows or columns to be 0. Currently we continue and allocate a + virtual_screen.text_buffer of size 0. We then try to use that for glpyhs + and things go badly. + + On the emu platform, malloc() may give us a valid pointer, in which case + we'll access heap memory which we shouldn't. Alternatively, it may give us + NULL, in which case we'll crash. For other platforms, if I understand + grub_memalign() correctly, we will receive a valid but small allocation + that we will very likely later overrun. + + Prevent the creation of a virtual screen that isn't at least 40 cols + by 12 rows. This is arbitrary, but it seems that if your width or height + is half a standard 80x24 terminal, you're probably going to struggle to + read anything anyway. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + video/readers/jpeg: Don't decode data before start of stream + When a start of stream marker is encountered, we call grub_jpeg_decode_sos() + which allocates space for a bitmap. + + When a restart marker is encountered, we call grub_jpeg_decode_data() which + then fills in that bitmap. + + If we get a restart marker before the start of stream marker, we will + attempt to write to a bitmap_ptr that hasn't been allocated. Catch this + and bail out. This fixes an attempt to write to NULL. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + video/readers/jpeg: Catch OOB reads/writes in grub_jpeg_decode_du() + The key line is: + + du[jpeg_zigzag_order[pos]] = val * (int) data->quan_table[qt][pos]; + + jpeg_zigzag_order is grub_uint8_t[64]. + + I don't understand JPEG decoders quite well enough to explain what's + going on here. However, I observe sometimes pos=64, which leads to an + OOB read of the jpeg_zigzag_order global then an OOB write to du. + That leads to various unpleasant memory corruption conditions. + + Catch where pos >= ARRAY_SIZE(jpeg_zigzag_order) and bail. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + video/readers/jpeg: Catch files with unsupported quantization or Huffman tables + Our decoder only supports 2 quantization tables. If a file asks for + a quantization table with index > 1, reject it. + + Similarly, our decoder only supports 4 Huffman tables. If a file asks + for a Huffman table with index > 3, reject it. + + This fixes some out of bounds reads. It's not clear what degree of control + over subsequent execution could be gained by someone who can carefully + set up the contents of memory before loading an invalid JPEG file. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + kern/misc: Always set *end in grub_strtoull() + Currently, if there is an error in grub_strtoull(), *end is not set. + This differs from the usual behavior of strtoull(), and also means that + some callers may use an uninitialized value for *end. + + Set *end unconditionally. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + commands/menuentry: Fix quoting in setparams_prefix() + Commit 9acdcbf32542 (use single quotes in menuentry setparams command) + says that expressing a quoted single quote will require 3 characters. It + actually requires (and always did require!) 4 characters: + + str: a'b => a'\''b + len: 3 => 6 (2 for the letters + 4 for the quote) + + This leads to not allocating enough memory and thus out of bounds writes + that have been observed to cause heap corruption. + + Allocate 4 bytes for each single quote. + + Commit 22e7dbb2bb81 (Fix quoting in legacy parser.) does the same + quoting, but it adds 3 as extra overhead on top of the single byte that + the quote already needs. So it's correct. + + Fixes: 9acdcbf32542 (use single quotes in menuentry setparams command) + Fixes: CVE-2021-20233 + + Reported-by: Daniel Axtens + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + script/execute: Don't crash on a "for" loop with no items + The following crashes the parser: + + for x in; do + 0 + done + + This is because grub_script_arglist_to_argv() doesn't consider the + possibility that arglist is NULL. Catch that explicitly. + + This avoids a NULL pointer dereference. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + lib/arg: Block repeated short options that require an argument + Fuzzing found the following crash: + + search -hhhhhhhhhhhhhf + + We didn't allocate enough option space for 13 hints because the + allocation code counts the number of discrete arguments (i.e. argc). + However, the shortopt parsing code will happily keep processing + a combination of short options without checking if those short + options require an argument. This means you can easily end writing + past the allocated option space. + + This fixes a OOB write which can cause heap corruption. + + Fixes: CVE-2021-20225 + + Reported-by: Daniel Axtens + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + script/execute: Avoid crash when using "$#" outside a function scope + "$#" represents the number of arguments to a function. It is only + defined in a function scope, where "scope" is non-NULL. Currently, + if we attempt to evaluate "$#" outside a function scope, "scope" will + be NULL and we will crash with a NULL pointer dereference. + + Do not attempt to count arguments for "$#" if "scope" is NULL. This + will result in "$#" being interpreted as an empty string if evaluated + outside a function scope. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + commands/ls: Require device_name is not NULL before printing + This can be triggered with: + ls -l (0 0*) + and causes a NULL deref in grub_normal_print_device_info(). + + I'm not sure if there's any implication with the IEEE 1275 platform. + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Axtens + + script/execute: Fix NULL dereference in grub_script_execute_cmdline() + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + util/glue-efi: Fix incorrect use of a possibly negative value + It is possible for the ftell() function to return a negative value, + although it is fairly unlikely here, we should be checking for + a negative value before we assign it to an unsigned value. + + Fixes: CID 73744 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + util/grub-editenv: Fix incorrect casting of a signed value + The return value of ftell() may be negative (-1) on error. While it is + probably unlikely to occur, we should not blindly cast to an unsigned + value without first testing that it is not negative. + + Fixes: CID 73856 + + Reviewed-by: Daniel Kiper + +2021-03-02 Daniel Kiper + + util/grub-install: Fix NULL pointer dereferences + Two grub_device_open() calls does not have associated NULL checks + for returned values. Fix that and appease the Coverity. + + Fixes: CID 314583 + + Reviewed-by: Javier Martinez Canillas + +2021-03-02 Paulo Flabiano Smorigo + + loader/xnu: Check if pointer is NULL before using it + Fixes: CID 73654 + + Reviewed-by: Daniel Kiper + +2021-03-02 Marco A Benatto + + loader/xnu: Free driverkey data when an error is detected in grub_xnu_writetree_toheap() + ... to avoid memory leaks. + + Fixes: CID 96640 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + loader/xnu: Fix memory leak + The code here is finished with the memory stored in name, but it only + frees it if there curvalue is valid, while it could actually free it + regardless. + + The fix is a simple relocation of the grub_free() to before the test + of curvalue. + + Fixes: CID 96646 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + loader/bsd: Check for NULL arg up-front + The code in the next block suggests that it is possible for .set to be + true but .arg may still be NULL. + + This code assumes that it is never NULL, yet later is testing if it is + NULL - that is inconsistent. + + So we should check first if .arg is not NULL, and remove this check that + is being flagged by Coverity since it is no longer required. + + Fixes: CID 292471 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gfxmenu/gui_list: Remove code that coverity is flagging as dead + The test of value for NULL before calling grub_strdup() is not required, + since the if condition prior to this has already tested for value being + NULL and cannot reach this code if it is. + + Fixes: CID 73659 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + video/readers/jpeg: Test for an invalid next marker reference from a jpeg file + While it may never happen, and potentially could be caught at the end of + the function, it is worth checking up front for a bad reference to the + next marker just in case of a maliciously crafted file being provided. + + Fixes: CID 73694 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + video/fb/video_fb: Fix possible integer overflow + It is minimal possibility that the values being used here will overflow. + So, change the code to use the safemath function grub_mul() to ensure + that doesn't happen. + + Fixes: CID 73761 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + video/fb/video_fb: Fix multiple integer overflows + The calculation of the unsigned 64-bit value is being generated by + multiplying 2, signed or unsigned, 32-bit integers which may overflow + before promotion to unsigned 64-bit. Fix all of them. + + Fixes: CID 73703, CID 73767, CID 73833 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + video/fb/fbfill: Fix potential integer overflow + The multiplication of 2 unsigned 32-bit integers may overflow before + promotion to unsigned 64-bit. We should ensure that the multiplication + is done with overflow detection. Additionally, use grub_sub() for + subtraction. + + Fixes: CID 73640, CID 73697, CID 73702, CID 73823 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + video/efi_gop: Remove unnecessary return value of grub_video_gop_fill_mode_info() + The return value of grub_video_gop_fill_mode_info() is never able to be + anything other than GRUB_ERR_NONE. So, rather than continue to return + a value and checking it each time, it is more correct to redefine the + function to not return anything and remove checks of its return value + altogether. + + Fixes: CID 96701 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + commands/probe: Fix a resource leak when probing disks + Every other return statement in this code is calling grub_device_close() + to clean up dev before returning. This one should do that too. + + Fixes: CID 292443 + + Reviewed-by: Daniel Kiper + +2021-03-02 Chris Coulson + + commands/hashsum: Fix a memory leak + check_list() uses grub_file_getline(), which allocates a buffer. + If the hash list file contains invalid lines, the function leaks + this buffer when it returns an error. + + Fixes: CID 176635 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + normal/completion: Fix leaking of memory when processing a completion + It is possible for the code to reach the end of the function without + freeing the memory allocated to argv and argc still to be 0. + + We should always call grub_free(argv). The grub_free() will handle + a NULL argument correctly if it reaches that code without the memory + being allocated. + + Fixes: CID 96672 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + syslinux: Fix memory leak while parsing + In syslinux_parse_real() the 2 points where return is being called + didn't release the memory stored in buf which is no longer required. + + Fixes: CID 176634 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + libgcrypt/mpi: Fix possible NULL dereference + The code in gcry_mpi_scan() assumes that buffer is not NULL, but there + is no explicit check for that, so we add one. + + Fixes: CID 73757 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + libgcrypt/mpi: Fix possible unintended sign extension + The array of unsigned char gets promoted to a signed 32-bit int before + it is finally promoted to a size_t. There is the possibility that this + may result in the signed-bit being set for the intermediate signed + 32-bit int. We should ensure that the promotion is to the correct type + before we bitwise-OR the values. + + Fixes: CID 96697 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + affs: Fix memory leaks + The node structure reference is being allocated but not freed if it + reaches the end of the function. If any of the hooks had returned + a non-zero value, then node would have been copied in to the context + reference, but otherwise node is not stored and should be freed. + + Similarly, the call to grub_affs_create_node() replaces the allocated + memory in node with a newly allocated structure, leaking the existing + memory pointed by node. + + Finally, when dir->parent is set, then we again replace node with newly + allocated memory, which seems unnecessary when we copy in the values + from dir->parent immediately after. + + Fixes: CID 73759 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + zfsinfo: Correct a check for error allocating memory + While arguably the check for grub_errno is correct, we should really be + checking the return value from the function since it is always possible + that grub_errno was set elsewhere, making this code behave incorrectly. + + Fixes: CID 73668 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + zfs: Fix possible integer overflows + In all cases the problem is that the value being acted upon by + a left-shift is a 32-bit number which is then being used in the + context of a 64-bit number. + + To avoid overflow we ensure that the number being shifted is 64-bit + before the shift is done. + + Fixes: CID 73684, CID 73695, CID 73764 + + Reviewed-by: Daniel Kiper + +2021-03-02 Paulo Flabiano Smorigo + + zfs: Fix resource leaks while constructing path + There are several exit points in dnode_get_path() that are causing possible + memory leaks. + + In the while(1) the correct exit mechanism should not be to do a direct return, + but to instead break out of the loop, setting err first if it is not already set. + + The reason behind this is that the dnode_path is a linked list, and while doing + through this loop, it is being allocated and built up - the only way to + correctly unravel it is to traverse it, which is what is being done at the end + of the function outside of the loop. + + Several of the existing exit points correctly did a break, but not all so this + change makes that more consistent and should resolve the leaking of memory as + found by Coverity. + + Fixes: CID 73741 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + zfs: Fix possible negative shift operation + While it is possible for the return value from zfs_log2() to be zero + (0), it is quite unlikely, given that the previous assignment to blksz + is shifted up by SPA_MINBLOCKSHIFT (9) before 9 is subtracted at the + assignment to epbs. + + But, while unlikely during a normal operation, it may be that a carefully + crafted ZFS filesystem could result in a zero (0) value to the + dn_datalbkszsec field, which means that the shift left does nothing + and assigns zero (0) to blksz, resulting in a negative epbs value. + + Fixes: CID 73608 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + hfsplus: Check that the volume name length is valid + HFS+ documentation suggests that the maximum filename and volume name is + 255 Unicode characters in length. + + So, when converting from big-endian to little-endian, we should ensure + that the name of the volume has a length that is between 0 and 255, + inclusive. + + Fixes: CID 73641 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + disk/cryptodisk: Fix potential integer overflow + The encrypt and decrypt functions expect a grub_size_t. So, we need to + ensure that the constant bit shift is using grub_size_t rather than + unsigned int when it is performing the shift. + + Fixes: CID 307788 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + disk/ldm: Fix memory leak on uninserted lv references + The problem here is that the memory allocated to the variable lv is not + yet inserted into the list that is being processed at the label fail2. + + As we can already see at line 342, which correctly frees lv before going + to fail2, we should also be doing that at these earlier jumps to fail2. + + Fixes: CID 73824 + + Reviewed-by: Daniel Kiper + +2021-03-02 Paulo Flabiano Smorigo + + disk/ldm: If failed then free vg variable too + Fixes: CID 73809 + + Reviewed-by: Daniel Kiper + +2021-03-02 Marco A Benatto + + disk/ldm: Make sure comp data is freed before exiting from make_vg() + Several error handling paths in make_vg() do not free comp data before + jumping to fail2 label and returning from the function. This will leak + memory. So, let's fix all issues of that kind. + + Fixes: CID 73804 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + kern/partition: Check for NULL before dereferencing input string + There is the possibility that the value of str comes from an external + source and continuing to use it before ever checking its validity is + wrong. So, needs fixing. + + Additionally, drop unneeded part initialization. + + Fixes: CID 292444 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + zstd: Initialize seq_t structure fully + While many compilers will initialize this to zero, not all will, so it + is better to be sure that fields not being explicitly set are at known + values, and there is code that checks this fields value elsewhere in the + code. + + Fixes: CID 292440 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + io/lzopio: Resolve unnecessary self-assignment errors + These 2 assignments are unnecessary since they are just assigning + to themselves. + + Fixes: CID 73643 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gnulib/regcomp: Fix uninitialized re_token + This issue has been fixed in the latest version of gnulib, so to + maintain consistency, I've backported that change rather than doing + something different. + + Fixes: CID 73828 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gnulib/regexec: Fix possible null-dereference + It appears to be possible that the mctx->state_log field may be NULL, + and the name of this function, clean_state_log_if_needed(), suggests + that it should be checking that it is valid to be cleaned before + assuming that it does. + + Fixes: CID 86720 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gnulib/argp-help: Fix dereference of a possibly NULL state + All other instances of call to __argp_failure() where there is + a dgettext() call is first checking whether state is NULL before + attempting to dereference it to get the root_argp->argp_domain. + + Fixes: CID 292436 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gnulib/regcomp: Fix uninitialized token structure + The code is assuming that the value of br_token.constraint was + initialized to zero when it wasn't. + + While some compilers will ensure that, not all do, so it is better to + fix this explicitly than leave it to chance. + + Fixes: CID 73749 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + gnulib/regexec: Resolve unused variable + This is a really minor issue where a variable is being assigned to but + not checked before it is overwritten again. + + The reason for this issue is that we are not building with DEBUG set and + this in turn means that the assert() that reads the value of the + variable match_last is being processed out. + + The solution, move the assignment to match_last in to an ifdef DEBUG too. + + Fixes: CID 292459 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + kern/efi/mm: Fix possible NULL pointer dereference + The model of grub_efi_get_memory_map() is that if memory_map is NULL, + then the purpose is to discover how much memory should be allocated to + it for the subsequent call. + + The problem here is that with grub_efi_is_finished set to 1, there is no + check at all that the function is being called with a non-NULL memory_map. + + While this MAY be true, we shouldn't assume it. + + The solution to this is to behave as expected, and if memory_map is NULL, + then don't try to use it and allow memory_map_size to be filled in, and + return 0 as is done later in the code if the buffer is too small (or NULL). + + Additionally, drop unneeded ret = 1. + + Fixes: CID 96632 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + kern/efi: Fix memory leak on failure + Free the memory allocated to name before returning on failure. + + Fixes: CID 296222 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + kern/parser: Fix resource leak if argc == 0 + After processing the command-line yet arriving at the point where we are + setting argv, we are allocating memory, even if argc == 0, which makes + no sense since we never put anything into the allocated argv. + + The solution is to simply return that we've successfully processed the + arguments but that argc == 0, and also ensure that argv is NULL when + we're not allocating anything in it. + + There are only 2 callers of this function, and both are handling a zero + value in argc assuming nothing is allocated in argv. + + Fixes: CID 96680 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + net/tftp: Fix dangling memory pointer + The static code analysis tool, Parfait, reported that the valid of + file->data was left referencing memory that was freed by the call to + grub_free(data) where data was initialized from file->data. + + To ensure that there is no unintentional access to this memory + referenced by file->data we should set the pointer to NULL. + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + net/net: Fix possible dereference to of a NULL pointer + It is always possible that grub_zalloc() could fail, so we should check for + a NULL return. Otherwise we run the risk of dereferencing a NULL pointer. + + Fixes: CID 296221 + + Reviewed-by: Daniel Kiper + +2021-03-02 Darren Kenny + + mmap: Fix memory leak when iterating over mapped memory + When returning from grub_mmap_iterate() the memory allocated to present + is not being released causing it to leak. + + Fixes: CID 96655 + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + usb: Avoid possible out-of-bound accesses caused by malicious devices + The maximum number of configurations and interfaces are fixed but there is + no out-of-bound checking to prevent a malicious USB device to report large + values for these and cause accesses outside the arrays' memory. + + Fixes: CVE-2020-25647 + + Reported-by: Joseph Tartaro + Reported-by: Ilja Van Sprundel + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + dl: Only allow unloading modules that are not dependencies + When a module is attempted to be removed its reference counter is always + decremented. This means that repeated rmmod invocations will cause the + module to be unloaded even if another module depends on it. + + This may lead to a use-after-free scenario allowing an attacker to execute + arbitrary code and by-pass the UEFI Secure Boot protection. + + While being there, add the extern keyword to some function declarations in + that header file. + + Fixes: CVE-2020-25632 + + Reported-by: Chris Coulson + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + docs: Document the cutmem command + The command is not present in the docs/grub.texi user documentation. + + Reported-by: Daniel Kiper + Reviewed-by: Javier Martinez Canillas + +2021-03-02 Javier Martinez Canillas + + loader/xnu: Don't allow loading extension and packages when locked down + The shim_lock verifier validates the XNU kernels but no its extensions + and packages. Prevent these to be loaded when the GRUB is locked down. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + gdb: Restrict GDB access when locked down + The gdbstub* commands allow to start and control a GDB stub running on + local host that can be used to connect from a remote debugger. Restrict + this functionality when the GRUB is locked down. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + commands/hdparm: Restrict hdparm command when locked down + The command can be used to get/set ATA disk parameters. Some of these can + be dangerous since change the disk behavior. Restrict it when locked down. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + commands/setpci: Restrict setpci command when locked down + This command can set PCI devices register values, which makes it dangerous + in a locked down configuration. Restrict it so can't be used on this setup. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + commands: Restrict commands that can load BIOS or DT blobs when locked down + There are some more commands that should be restricted when the GRUB is + locked down. Following is the list of commands and reasons to restrict: + + * fakebios: creates BIOS-like structures for backward compatibility with + existing OSes. This should not be allowed when locked down. + + * loadbios: reads a BIOS dump from storage and loads it. This action + should not be allowed when locked down. + + * devicetree: loads a Device Tree blob and passes it to the OS. It replaces + any Device Tree provided by the firmware. This also should + not be allowed when locked down. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + mmap: Don't register cutmem and badram commands when lockdown is enforced + The cutmem and badram commands can be used to remove EFI memory regions + and potentially disable the UEFI Secure Boot. Prevent the commands to be + registered if the GRUB is locked down. + + Fixes: CVE-2020-27779 + + Reported-by: Teddy Reed + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + acpi: Don't register the acpi command when locked down + The command is not allowed when lockdown is enforced. Otherwise an + attacker can instruct the GRUB to load an SSDT table to overwrite + the kernel lockdown configuration and later load and execute + unsigned code. + + Fixes: CVE-2020-14372 + + Reported-by: Máté Kukri + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + efi: Use grub_is_lockdown() instead of hardcoding a disabled modules list + Now the GRUB can check if it has been locked down and this can be used to + prevent executing commands that can be utilized to circumvent the UEFI + Secure Boot mechanisms. So, instead of hardcoding a list of modules that + have to be disabled, prevent the usage of commands that can be dangerous. + + This not only allows the commands to be disabled on other platforms, but + also properly separate the concerns. Since the shim_lock verifier logic + should be only about preventing to run untrusted binaries and not about + defining these kind of policies. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + efi: Lockdown the GRUB when the UEFI Secure Boot is enabled + If the UEFI Secure Boot is enabled then the GRUB must be locked down + to prevent executing code that can potentially be used to subvert its + verification mechanisms. + + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + kern/lockdown: Set a variable if the GRUB is locked down + It may be useful for scripts to determine whether the GRUB is locked + down or not. Add the lockdown variable which is set to "y" when the GRUB + is locked down. + + Suggested-by: Dimitri John Ledkov + Reviewed-by: Daniel Kiper + +2021-03-02 Javier Martinez Canillas + + kern: Add lockdown support + When the GRUB starts on a secure boot platform, some commands can be + used to subvert the protections provided by the verification mechanism and + could lead to booting untrusted system. + + To prevent that situation, allow GRUB to be locked down. That way the code + may check if GRUB has been locked down and further restrict the commands + that are registered or what subset of their functionality could be used. + + The lockdown support adds the following components: + + * The grub_lockdown() function which can be used to lockdown GRUB if, + e.g., UEFI Secure Boot is enabled. + + * The grub_is_lockdown() function which can be used to check if the GRUB + was locked down. + + * A verifier that flags OS kernels, the GRUB modules, Device Trees and ACPI + tables as GRUB_VERIFY_FLAGS_DEFER_AUTH to defer verification to other + verifiers. These files are only successfully verified if another registered + verifier returns success. Otherwise, the whole verification process fails. + + For example, PE/COFF binaries verification can be done by the shim_lock + verifier which validates the signatures using the shim_lock protocol. + However, the verification is not deferred directly to the shim_lock verifier. + The shim_lock verifier is hooked into the verification process instead. + + * A set of grub_{command,extcmd}_lockdown functions that can be used by + code registering command handlers, to only register unsafe commands if + the GRUB has not been locked down. + + Reviewed-by: Daniel Kiper + +2021-03-02 Marco A Benatto + + efi: Move the shim_lock verifier to the GRUB core + Move the shim_lock verifier from its own module into the core image. The + Secure Boot lockdown mechanism has the intent to prevent the load of any + unsigned code or binary when Secure Boot is enabled. + + The reason is that GRUB must be able to prevent executing untrusted code + if UEFI Secure Boot is enabled, without depending on external modules. + + Reviewed-by: Daniel Kiper + +2021-03-02 Marco A Benatto + + verifiers: Move verifiers API to kernel image + Move verifiers API from a module to the kernel image, so it can be + used there as well. There are no functional changes in this patch. + + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + docs: Add documentation of disk size limitations + Document the artificially imposed 1 EiB disk size limit and size limitations + with LUKS volumes. + + Fix a few punctuation issues. + + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + luks2: Use grub_log2ull() to calculate log_sector_size and improve readability + Reviewed-by: Daniel Kiper + + misc: Add grub_log2ull() macro for calculating log base 2 of 64-bit integers + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + mips: Enable __clzdi2() + This patch is similar to commit 9dab2f51e (sparc: Enable __clzsi2() and + __clzdi2()) but for MIPS target and __clzdi2() only, __clzsi2() was + already enabled. + + Suggested-by: Daniel Kiper + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + luks2: Better error handling when setting up the cryptodisk + Do some sanity checking on data coming from the LUKS2 header. If segment.size + is "dynamic", verify that the offset is not past the end of disk. Otherwise, + check for errors from grub_strtoull() when converting segment size from + string. If a GRUB_ERR_BAD_NUMBER error was returned, then the string was + not a valid parsable number, so skip the key. If GRUB_ERR_OUT_OF_RANGE was + returned, then there was an overflow in converting to a 64-bit unsigned + integer. So this could be a very large disk (perhaps large RAID array). + In this case skip the key too. Additionally, enforce some other limits + and fail if needed. + + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + luks2: Do not handle disks of size GRUB_DISK_SIZE_UNKNOWN for now + Check to make sure that source disk has a known size. If not, print + a message and return error. There are 4 cases where GRUB_DISK_SIZE_UNKNOWN + is set (biosdisk, obdisk, ofdisk, and uboot), and in all those cases + processing continues. So this is probably a bit conservative. However, + 3 of the cases seem pathological, and the other, biosdisk, happens when + booting from a CD-ROM. Since I doubt booting from a LUKS2 volume on + a CD-ROM is a big use case, we'll error until someone complains. + + Reviewed-by: Daniel Kiper + +2020-12-18 Glenn Washburn + + luks2: Convert to crypt sectors from GRUB native sectors + The function grub_disk_native_sectors(source) returns the number of sectors + of source in GRUB native (512-byte) sectors, not source sized sectors. So + the conversion needs to use GRUB_DISK_SECTOR_BITS, the GRUB native sector + size. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Error check segment.sector_size + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + cryptodisk: Properly handle non-512 byte sized sectors + By default, dm-crypt internally uses an IV that corresponds to 512-byte + sectors, even when a larger sector size is specified. What this means is + that when using a larger sector size, the IV is incremented every sector. + However, the amount the IV is incremented is the number of 512 byte blocks + in a sector (i.e. 8 for 4K sectors). Confusingly the IV does not correspond + to the number of, for example, 4K sectors. So each 512 byte cipher block in + a sector will be encrypted with the same IV and the IV will be incremented + afterwards by the number of 512 byte cipher blocks in the sector. + + There are some encryption utilities which do it the intuitive way and have + the IV equal to the sector number regardless of sector size (ie. the fifth + sector would have an IV of 4 for each cipher block). And this is supported + by dm-crypt with the iv_large_sectors option and also cryptsetup as of 2.3.3 + with the --iv-large-sectors, though not with LUKS headers (only with --type + plain). However, support for this has not been included as grub does not + support plain devices right now. + + One gotcha here is that the encrypted split keys are encrypted with a hard- + coded 512-byte sector size. So even if your data is encrypted with 4K sector + sizes, the split key encrypted area must be decrypted with a block size of + 512 (ie the IV increments every 512 bytes). This made these changes less + aesthetically pleasing than desired. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: grub_cryptodisk_t->total_sectors is the max number of device native sectors + We need to convert the sectors from the size of the underlying device to the + cryptodisk sector size; segment.size is in bytes which need to be converted + to cryptodisk sectors as well. + + Also, removed an empty statement. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + cryptodisk: Add macros GRUB_TYPE_U_MAX/MIN(type) to replace literals + Add GRUB_TYPE_U_MAX/MIN(type) macros to get the max/min values for an + unsigned number with size of type. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + cryptodisk: Add macro GRUB_TYPE_BITS() to replace some literals + The new macro GRUB_TYPE_BITS(type) returns the number of bits + allocated for type. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Add string "index" to user strings using a json index + This allows error messages to be more easily distinguishable between indexes + and slot keys. The former include the string "index" in the error/debug + string, and the later are surrounded in quotes. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Rename json index variables to names that they are obviously json indexes + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Use more intuitive object name instead of json index in user messages + Use the object name in the json array rather than the 0 based index in the + json array for keyslots, segments, and digests. This is less confusing for + the end user. For example, say you have a LUKS2 device with a key in slot 1 + and slot 4. When using the password for slot 4 to unlock the device, the + messages using the index of the keyslot will mention keyslot 1 (its a + zero-based index). Furthermore, with this change the keyslot number will + align with the number used to reference the keyslot when using the + --key-slot argument to cryptsetup. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Add idx member to struct grub_luks2_keyslot/segment/digest + This allows code using these structs to know the named key associated with + these json data structures. In the future we can use these to provide better + error messages to the user. + + Get rid of idx local variable in luks2_get_keyslot() which was overloaded to + be used for both keyslot and segment slot keys. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Make sure all fields of output argument in luks2_parse_digest() are written to + We should assume that the output argument "out" is uninitialized and could + have random data. So, make sure to initialize the segments and keyslots bit + fields because potentially not all bits of those fields are written to. + Otherwise, the digest could say it belongs to keyslots and segments that it + does not. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + luks2: Remove unused argument in grub_error() call + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + + luks2: Convert 8 spaces to tabs + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + misc: Add parentheses around ALIGN_UP() and ALIGN_DOWN() arguments + This ensures that expected order of operations is preserved when arguments + are expressions. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + disk: Rename grub_disk_get_size() to grub_disk_native_sectors() + The function grub_disk_get_size() is confusingly named because it actually + returns a sector count where the sectors are sized in the GRUB native sector + size. Rename to something more appropriate. + + Suggested-by: Daniel Kiper + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + loopback: Do not automaticaly replace existing loopback dev, error instead + If there is a loopback device with the same name as the one to be created, + instead of closing the old one and replacing it with the new one, return an + error instead. If the loopback device was created, its probably being used + by something and just replacing it may cause GRUB to crash unexpectedly. + This fixes obvious problems like "loopback d (d)/somefile". Its not too + onerous to force the user to delete the loopback first with the "-d" switch. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + disk: Move hardcoded max disk size literal to a GRUB_DISK_MAX_SECTORS in disk.h + There is a hardcoded maximum disk size that can be read or written from, + currently set at 1 EiB in grub_disk_adjust_range(). Move the literal into a + macro in disk.h, so our assumptions are more visible. This hard coded limit + does not prevent using larger disks, just GRUB won't read/write past the + limit. The comment accompanying this restriction didn't quite make sense to + me, so its been modified too. + + Reviewed-by: Daniel Kiper + +2020-12-12 Glenn Washburn + + fs: Fix block lists not being able to address to end of disk sometimes + When checking if a block list goes past the end of the disk, make sure + the total size of the disk is in GRUB native sector sizes, otherwise there + will be blocks at the end of the disk inaccessible by block lists. + + Reviewed-by: Daniel Kiper + +2020-12-12 Vladimir Serbinenko + + mbr: Document new limitations on MBR gap support + Reviewed-by: Daniel Kiper + +2020-12-12 Vladimir Serbinenko + + mbr: Warn if MBR gap is small and user uses advanced modules + We don't want to support small MBR gap in pair with anything but the + simplest config of biosdisk + part_msdos + simple filesystem. In this + path "simple filesystems" are all current filesystems except ZFS and + Btrfs. + + Reviewed-by: Daniel Kiper + +2020-12-12 Tianjia Zhang + + efi/tpm: Extract duplicate code into independent functions + Part of the code logic for processing the return value of efi + log_extend_event is repetitive and complicated. Extract the + repetitive code into an independent function. + + Reviewed-by: Daniel Kiper + +2020-12-12 Tianjia Zhang + + efi/tpm: Add debug information for device protocol and eventlog + Add a number of debug logs to the tpm module. The condition tag + for opening debugging is "tpm". On TPM machines, this will bring + great convenience to diagnosis and debugging. + + Reviewed-by: Daniel Kiper + +2020-12-12 Daniel Kiper + + loader/linux: Report the UEFI Secure Boot status to the Linux kernel + Now that the GRUB has a grub_efi_get_secureboot() function to check the + UEFI Secure Boot status, use it to report that to the Linux kernel. + + Reviewed-by: Daniel Kiper + +2020-12-12 Javier Martinez Canillas + + efi: Only register shim_lock verifier if shim_lock protocol is found and SB enabled + The shim_lock module registers a verifier to call shim's verify, but the + handler is registered even when the shim_lock protocol was not installed. + + This doesn't cause a NULL pointer dereference in shim_lock_write() because + the shim_lock_init() function just returns GRUB_ERR_NONE if sl isn't set. + + But in that case there's no point to even register the shim_lock verifier + since won't do anything. Additionally, it is only useful when Secure Boot + is enabled. + + Finally, don't assume that the shim_lock protocol will always be present + when the shim_lock_write() function is called, and check for it on every + call to this function. + + Reported-by: Michael Chang + Reported-by: Peter Jones + Reviewed-by: Daniel Kiper + +2020-12-11 Daniel Kiper + + efi: Add secure boot detection + Introduce grub_efi_get_secureboot() function which returns whether + UEFI Secure Boot is enabled or not on UEFI systems. + + Reviewed-by: Daniel Kiper + +2020-12-11 Daniel Kiper + + efi: Add a function to read EFI variables with attributes + It will be used to properly detect and report UEFI Secure Boot status to + the x86 Linux kernel. The functionality will be added by subsequent patches. + + Reviewed-by: Daniel Kiper + +2020-12-11 Daniel Kiper + + efi: Return grub_efi_status_t from grub_efi_get_variable() + This is needed to properly detect and report UEFI Secure Boot status + to the x86 Linux kernel. The functionality will be added by subsequent + patches. + + Reviewed-by: Daniel Kiper + +2020-12-11 Daniel Kiper + + efi: Make shim_lock GUID and protocol type public + The GUID will be used to properly detect and report UEFI Secure Boot + status to the x86 Linux kernel. The functionality will be added by + subsequent patches. The shim_lock protocol type is made public for + completeness. + + Additionally, fix formatting of four preceding GUIDs. + + Reviewed-by: Daniel Kiper + +2020-12-11 Javier Martinez Canillas + + arm/term: Fix linking error due multiple ps2_state definitions + When building with --target=arm-linux-gnu --with-platform=coreboot + a linking error occurs caused by multiple definitions of the + ps2_state variable. + + Mark them as static since they aren't used outside their compilation unit. + + Reviewed-by: Daniel Kiper + +2020-12-11 Javier Martinez Canillas + + include/grub/i386/linux.h: Include missing header + This header uses types defined in but does not include it, + which leads to compile errors like the following: + + In file included from ../include/grub/cpu/linux.h:19, + from kern/efi/sb.c:21: + ../include/grub/i386/linux.h:80:3: error: unknown type name ‘grub_uint64_t’ + 80 | grub_uint64_t addr; + + Reviewed-by: Daniel Kiper + +2020-12-11 Javier Martinez Canillas + + i386: Don't include in coreboot and ieee1275 startup.S + Nothing defined in the header file is used in the assembly code but it + may lead to build errors if some headers are included through this and + contains definitions that are not recognized by the assembler, e.g.: + + ../include/grub/types.h: Assembler messages: + ../include/grub/types.h:76: Error: no such instruction: `typedef signed char grub_int8_t' + ../include/grub/types.h:77: Error: no such instruction: `typedef short grub_int16_t' + ../include/grub/types.h:78: Error: no such instruction: `typedef int grub_int32_t' + + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + luks2: Rename index variable "j" to "i" in luks2_get_keyslot() + Looping variable "j" was named such because the variable name "i" was taken. + Since "i" has been renamed in the previous patch, we can rename "j" to "i". + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + luks2: Rename variable "i" to "keyslot_idx" in luks2_get_keyslot() + Variables named "i" are usually looping variables. So, rename it to + "keyslot_idx" to ease luks2_get_keyslot() reading. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + luks2: Use correct index variable when looping in luks2_get_keyslot() + The loop variable "j" should be used to index the digests and segments json + array, instead of the variable "i", which is the keyslot index. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + luks2: Rename source disk variable named "disk" to "source" as in luks.c + This makes it more obvious to the reader that the disk referred to is the + source disk, as opposed to say the disk holding the cryptodisk. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + cryptodisk: Rename "offset" in grub_cryptodisk_t to "offset_sectors" + This makes it clear that the offset represents sectors, not bytes, in + order to improve readability. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + cryptodisk: Rename "total_length" field in grub_cryptodisk_t to "total_sectors" + This creates an alignment with grub_disk_t naming of the same field and is + more intuitive as to how it should be used. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-11-20 Glenn Washburn + + types: Define GRUB_CHAR_BIT based on compiler macro instead of using literal + Reviewed-by: Daniel Kiper + +2020-11-20 Javier Martinez Canillas + + include/grub/arm64/linux.h: Include missing header + This header uses types defined in but does not include it, + which leads to compile errors like the following: + + ../include/grub/cpu/linux.h:27:3: error: unknown type name ‘grub_uint32_t’ + 27 | grub_uint32_t code0; /* Executable code */ + | ^~~~~~~~~~~~~ + + Reviewed-by: Daniel Kiper + +2020-11-20 Javier Martinez Canillas + + include/grub/arm/system.h: Include missing header + The header uses the EXPORT_FUNC() macro defined in but + doesn't include it, which leads to the following compile error on arm: + + ../include/grub/cpu/system.h:12:13: error: ‘EXPORT_FUNC’ declared as function returning a function + 12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void); + | ^~~~~~~~~~~ + ../include/grub/cpu/system.h:12:1: warning: parameter names (without types) in function declaration + 12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void); + | ^~~~~~ + make[3]: *** [Makefile:36581: kern/efi/kernel_exec-sb.o] Error 1 + + Reviewed-by: Daniel Kiper + +2020-11-20 Daniel Axtens + + docs: grub-install --pubkey has been supported for some time + grub-install --pubkey is supported, so we can now document it. + + Reviewed-by: Daniel Kiper + +2020-11-20 Daniel Axtens + + docs: grub-install is no longer a shell script + Since commit cd46aa6cefab in 2013, grub-install hasn't been a shell + script. The para doesn't really add that much, especially since it's + the user manual, so just drop it. + + Reviewed-by: Daniel Kiper + +2020-10-30 Jacob Kroon + + Makefile: Remove unused GRUB_PKGLIBDIR definition + Reviewed-by: Daniel Kiper + +2020-10-30 Daniel Axtens + + lzma: Fix compilation error under clang 10 + Compiling under clang 10 gives: + + grub-core/lib/LzmaEnc.c:1362:9: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] + { + ^ + grub-core/lib/LzmaEnc.c:1358:7: note: previous statement is here + if (repIndex == 0) + ^ + 1 error generated. + + It's not really that unclear in context: there's a commented-out + if-statement. But tweak the alignment anyway so that clang is happy. + + Reviewed-by: Daniel Kiper + +2020-10-30 Cao jin + + kern/i386/realmode: Update comment + Commit b81d609e4c did not update it. + + Reviewed-by: Daniel Kiper + +2020-10-30 Glenn Washburn + + cryptodisk: Fix cipher IV mode "plain64" always being set as "plain" + When setting cipher IV mode, detection is done by prefix matching the + cipher IV mode part of the cipher mode string. Since "plain" matches + "plain64", we must check for "plain64" first. Otherwise, "plain64" will + be detected as "plain". + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-09-18 Glenn Washburn + + crypto: Remove GPG_ERROR_CFLAGS from gpg_err_code_t enum + This was probably added by accident when originally creating the file. + + Reviewed-by: Daniel Kiper + +2020-09-18 Glenn Washburn + + script: Do not allow a delimiter between function name and block start + Currently the following is valid syntax but should be a syntax error: + + grub> function f; { echo HERE; } + grub> f + HERE + + This fix is not backward compatible, but current syntax is not documented + either and has no functional value. So any scripts with this unintended + syntax are technically syntactically incorrect and should not be relying + on this behavior. + + Reviewed-by: Daniel Kiper + +2020-09-18 Glenn Washburn + + docs: Support for loading and concatenating multiple initrds + This has been available since January of 2012 but has not been documented. + + Reviewed-by: Daniel Kiper + +2020-09-18 Glenn Washburn + + lexer: char const * should be const char * + Reviewed-by: Daniel Kiper + + cryptodisk: Use cipher name instead of object in error message + Reviewed-by: Daniel Kiper + +2020-09-18 Glenn Washburn + + tests: F2FS test should use MOUNTDEVICE like other tests + LODEVICES is not an array variable and should not be accessed as such. + This allows the f2fs test to pass as it was failing because a device + name had a space prepended to the path. + + Acked-by: Jaegeuk Kim + Tested-by: Paul Menzel + Reviewed-by: Daniel Kiper + +2020-09-18 Florian La Roche + + grub-mkconfig: If $hints is not set reduce the output into grub.cfg to just 1 line + Reviewed-by: Daniel Kiper + +2020-09-18 Petr Vorel + + travis: Run bootstrap to fix build + autogen.sh isn't enough: + + $ ./autogen.sh + Gnulib not yet bootstrapped; run ./bootstrap instead. + The command "./autogen.sh" exited with 1. + + Additionally, using bootstrap requires to install autopoint package. + + Reviewed-by: Daniel Kiper + +2020-09-18 Patrick Steinhardt + + luks2: Strip dashes off of the UUID + The UUID header for LUKS2 uses a format with dashes, same as for + LUKS(1). But while we strip these dashes for the latter, we don't for + the former. This isn't wrong per se, but it's definitely inconsistent + for users as they need to use the dashed format for LUKS2 and the + non-dashed format for LUKS when e.g. calling "cryptomount -u $UUID". + + Fix this inconsistency by stripping dashes off of the LUKS2 UUID. + + Reviewed-by: Daniel Kiper + +2020-09-18 Tianjia Zhang + + efi/tpm: Remove unused functions and structures + Although the tpm_execute() series of functions are defined they are not + used anywhere. Several structures in the include/grub/efi/tpm.h header + file are not used too. There is even nonexistent grub_tpm_init() + declaration in this header. Delete all that unneeded stuff. + + If somebody needs the functionality implemented in the dropped code then + he/she can re-add it later. Now it needlessly increases the GRUB + code/image size. + + Reviewed-by: Daniel Kiper + +2020-09-18 Tianjia Zhang + + shim_lock: Enable module for all EFI architectures + Like the tpm the shim_lock module is only enabled for x86_64 target. + However, there's nothing specific to x86_64 in the implementation and + it can be enabled for all EFI architectures. + + Reviewed-by: Daniel Kiper + +2020-09-18 Daniel Kiper + + efi/tpm: Fix typo in grub_efi_tpm2_protocol struct + Rename get_active_pcr_blanks() to get_active_pcr_banks(). + + Reviewed-by: Javier Martinez Canillas + +2020-09-18 Daniel Kiper + + i386/efi/init: Drop bogus include + Reviewed-by: Javier Martinez Canillas + +2020-09-18 Daniel Kiper + + docs: Fix devicetree command description + Specifically fix the subsection and drop bogus reference to the GNU/Linux. + + Reported-by: Patrick Higgins + Reviewed-by: Javier Martinez Canillas + +2020-09-18 Martin Whitaker + + grub-install: Fix inverted test for NLS enabled when copying locales + Commit 3d8439da8 (grub-install: Locale depends on nls) attempted to avoid + copying locale files to the target directory when NLS was disabled. + However the test is inverted, and it does the opposite. + + Reviewed-by: Javier Martinez Canillas + +2020-09-11 Javier Martinez Canillas + + tftp: Roll-over block counter to prevent data packets timeouts + Commit 781b3e5efc3 (tftp: Do not use priority queue) caused a regression + when fetching files over TFTP whose size is bigger than 65535 * block size. + + grub> linux /images/pxeboot/vmlinuz + grub> echo $? + 0 + grub> initrd /images/pxeboot/initrd.img + error: timeout reading '/images/pxeboot/initrd.img'. + grub> echo $? + 28 + + It is caused by the block number counter being a 16-bit field, which leads + to a maximum file size of ((1 << 16) - 1) * block size. Because GRUB sets + the block size to 1024 octets (by using the TFTP Blocksize Option from RFC + 2348 [0]), the maximum file size that can be transferred is 67107840 bytes. + + The TFTP PROTOCOL (REVISION 2) RFC 1350 [1] does not mention what a client + should do when a file size is bigger than the maximum, but most TFTP hosts + support the block number counter to be rolled over. That is, acking a data + packet with a block number of 0 is taken as if the 65356th block was acked. + + It was working before because the block counter roll-over was happening due + an overflow. But that got fixed by the mentioned commit, which led to the + regression when attempting to fetch files larger than the maximum size. + + To allow TFTP file transfers of unlimited size again, re-introduce a block + counter roll-over so the data packets are acked preventing the timeouts. + + [0]: https://tools.ietf.org/html/rfc2348 + [1]: https://tools.ietf.org/html/rfc1350 + + Fixes: 781b3e5efc3 (tftp: Do not use priority queue) + + Suggested-by: Peter Jones + Reviewed-by: Daniel Kiper + +2020-09-11 Florian La Roche + + templates: Remove unnecessary trailing semicolon + Reviewed-by: Daniel Kiper + +2020-09-11 Glenn Washburn + + cryptodisk: Fix incorrect calculation of start sector + Here dev is a grub_cryptodisk_t and dev->offset is offset in sectors of size + native to the cryptodisk device. The sector is correctly transformed into + native grub sector size, but then added to dev->offset which is not + transformed. It would be nice if the type system would help us with this. + + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-09-11 Glenn Washburn + + cryptodisk: Unregister cryptomount command when removing module + Reviewed-by: Patrick Steinhardt + Reviewed-by: Daniel Kiper + +2020-09-11 Patrick Steinhardt + + luks2: Improve error reporting when decrypting/verifying key + While we already set up error messages in both luks2_verify_key() and + luks2_decrypt_key(), we do not ever print them. This makes it really + hard to discover why a given key actually failed to decrypt a disk. + + Improve this by including the error message in the user-visible output. + + Reviewed-by: Daniel Kiper + +2020-09-11 Patrick Steinhardt + + luks: Fix out-of-bounds copy of UUID + When configuring a LUKS disk, we copy over the UUID from the LUKS header + into the new grub_cryptodisk_t structure via grub_memcpy(). As size + we mistakenly use the size of the grub_cryptodisk_t UUID field, which + is guaranteed to be strictly bigger than the LUKS UUID field we're + copying. As a result, the copy always goes out-of-bounds and copies some + garbage from other surrounding fields. During runtime, this isn't + noticed due to the fact that we always NUL-terminate the UUID and thus + never hit the trailing garbage. + + Fix the issue by using the size of the local stripped UUID field. + + Reviewed-by: Daniel Kiper + +2020-09-11 Patrick Steinhardt + + json: Remove invalid typedef redefinition + The C standard does not allow for typedef redefinitions, even if they + map to the same underlying type. In order to avoid including the + jsmn.h in json.h and thus exposing jsmn's internals, we have exactly + such a forward-declaring typedef in json.h. If enforcing the GNU99 C + standard, clang may generate a warning about this non-standard + construct. + + Fix the issue by using a simple "struct jsmntok" forward declaration + instead of using a typedef. + + Tested-by: Chuck Tuffli + Reviewed-by: Daniel Kiper + +2020-09-11 Cao jin + + i386/relocator_common: Drop empty #ifdef + Reviewed-by: Daniel Kiper + +2020-09-11 Ave Milia + + video/bochs: Fix typo + Reviewed-by: Daniel Kiper + +2020-07-29 Colin Watson + + linux: Fix integer overflows in initrd size handling + These could be triggered by a crafted filesystem with very large files. + + Fixes: CVE-2020-15707 + + Reviewed-by: Jan Setje-Eilers + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + loader/linux: Avoid overflow on initrd size calculation + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + efi: Fix use-after-free in halt/reboot path + commit 92bfc33db984 ("efi: Free malloc regions on exit") + introduced memory freeing in grub_efi_fini(), which is + used not only by exit path but by halt/reboot one as well. + As result of memory freeing, code and data regions used by + modules, such as halt, reboot, acpi (used by halt) also got + freed. After return to module code, CPU executes, filled + by UEFI firmware (tested with edk2), 0xAFAFAFAF pattern as + a code. Which leads to #UD exception later. + + grub> halt + !!!! X64 Exception Type - 06(#UD - Invalid Opcode) CPU Apic ID - 00000000 !!!! + RIP - 0000000003F4EC28, CS - 0000000000000038, RFLAGS - 0000000000200246 + RAX - 0000000000000000, RCX - 00000000061DA188, RDX - 0A74C0854DC35D41 + RBX - 0000000003E10E08, RSP - 0000000007F0F860, RBP - 0000000000000000 + RSI - 00000000064DB768, RDI - 000000000832C5C3 + R8 - 0000000000000002, R9 - 0000000000000000, R10 - 00000000061E2E52 + R11 - 0000000000000020, R12 - 0000000003EE5C1F, R13 - 00000000061E0FF4 + R14 - 0000000003E10D80, R15 - 00000000061E2F60 + DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 + GS - 0000000000000030, SS - 0000000000000030 + CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 0000000007C01000 + CR4 - 0000000000000668, CR8 - 0000000000000000 + DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 + DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 + GDTR - 00000000079EEA98 0000000000000047, LDTR - 0000000000000000 + IDTR - 0000000007598018 0000000000000FFF, TR - 0000000000000000 + FXSAVE_STATE - 0000000007F0F4C0 + + Proposal here is to continue to free allocated memory for + exit boot services path but keep it for halt/reboot path + as it won't be much security concern here. + Introduced GRUB_LOADER_FLAG_EFI_KEEP_ALLOCATED_MEMORY + loader flag to be used by efi halt/reboot path. + + Reviewed-by: Darren Kenny + Reviewed-by: Daniel Kiper + +2020-07-29 Daniel Kiper + + efi/chainloader: Propagate errors from copy_file_path() + Without any error propagated to the caller, make_file_path() + would then try to advance the invalid device path node with + GRUB_EFI_NEXT_DEVICE_PATH(), which would fail, returning a NULL + pointer that would subsequently be dereferenced. Hence, propagate + errors from copy_file_path(). + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + efi: Fix some malformed device path arithmetic errors + Several places we take the length of a device path and subtract 4 from + it, without ever checking that it's >= 4. There are also cases where + this kind of malformation will result in unpredictable iteration, + including treating the length from one dp node as the type in the next + node. These are all errors, no matter where the data comes from. + + This patch adds a checking macro, GRUB_EFI_DEVICE_PATH_VALID(), which + can be used in several places, and makes GRUB_EFI_NEXT_DEVICE_PATH() + return NULL and GRUB_EFI_END_ENTIRE_DEVICE_PATH() evaluate as true when + the length is too small. Additionally, it makes several places in the + code check for and return errors in these cases. + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + emu: Make grub_free(NULL) safe + The grub_free() implementation in grub-core/kern/mm.c safely handles + NULL pointers, and code at many places depends on this. We don't know + that the same is true on all host OSes, so we need to handle the same + behavior in grub-emu's implementation. + + Reviewed-by: Darren Kenny + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + lvm: Fix two more potential data-dependent alloc overflows + It appears to be possible to make a (possibly invalid) lvm PV with + a metadata size field that overflows our type when adding it to the + address we've allocated. Even if it doesn't, it may be possible to do so + with the math using the outcome of that as an operand. Check them both. + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + hfsplus: Fix two more overflows + Both node->size and node->namelen come from the supplied filesystem, + which may be user-supplied. We can't trust them for the math unless we + know they don't overflow. Making sure they go through grub_add() or + grub_calloc() first will give us that. + + Reviewed-by: Darren Kenny + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + relocator: Fix grub_relocator_alloc_chunk_align() top memory allocation + Current implementation of grub_relocator_alloc_chunk_align() + does not allow allocation of the top byte. + + Assuming input args are: + max_addr = 0xfffff000; + size = 0x1000; + + And this is valid. But following overflow protection will + unnecessarily move max_addr one byte down (to 0xffffefff): + if (max_addr > ~size) + max_addr = ~size; + + ~size + 1 will fix the situation. In addition, check size + for non zero to do not zero max_addr. + + Reviewed-by: Daniel Kiper + +2020-07-29 Chris Coulson + + script: Avoid a use-after-free when redefining a function during execution + Defining a new function with the same name as a previously defined + function causes the grub_script and associated resources for the + previous function to be freed. If the previous function is currently + executing when a function with the same name is defined, this results + in use-after-frees when processing subsequent commands in the original + function. + + Instead, reject a new function definition if it has the same name as + a previously defined function, and that function is currently being + executed. Although a behavioural change, this should be backwards + compatible with existing configurations because they can't be + dependent on the current behaviour without being broken. + + Fixes: CVE-2020-15706 + + Reviewed-by: Daniel Kiper + +2020-07-29 Chris Coulson + + script: Remove unused fields from grub_script_function struct + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + relocator: Protect grub_relocator_alloc_chunk_align() max_addr against integer underflow + This commit introduces integer underflow mitigation in max_addr calculation + in grub_relocator_alloc_chunk_align() invocation. + + It consists of 2 fixes: + 1. Introduced grub_relocator_alloc_chunk_align_safe() wrapper function to perform + sanity check for min/max and size values, and to make safe invocation of + grub_relocator_alloc_chunk_align() with validated max_addr value. Replace all + invocations such as grub_relocator_alloc_chunk_align(..., min_addr, max_addr - size, size, ...) + by grub_relocator_alloc_chunk_align_safe(..., min_addr, max_addr, size, ...). + 2. Introduced UP_TO_TOP32(s) macro for the cases where max_addr is 32-bit top + address (0xffffffff - size + 1) or similar. + + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + relocator: Protect grub_relocator_alloc_chunk_addr() input args against integer underflow/overflow + Use arithmetic macros from safemath.h to accomplish it. In this commit, + I didn't want to be too paranoid to check every possible math equation + for overflow/underflow. Only obvious places (with non zero chance of + overflow/underflow) were refactored. + + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + tftp: Do not use priority queue + There is not need to reassemble the order of blocks. Per RFC 1350, + server must wait for the ACK, before sending next block. Data packets + can be served immediately without putting them to priority queue. + + Logic to handle incoming packet is this: + - if packet block id equal to expected block id, then + process the packet, + - if packet block id is less than expected - this is retransmit + of old packet, then ACK it and drop the packet, + - if packet block id is more than expected - that shouldn't + happen, just drop the packet. + + It makes the tftp receive path code simpler, smaller and faster. + As a benefit, this change fixes CID# 73624 and CID# 96690, caused + by following while loop: + + while (cmp_block (grub_be_to_cpu16 (tftph->u.data.block), data->block + 1) == 0) + + where tftph pointer is not moving from one iteration to another, causing + to serve same packet again. Luckily, double serving didn't happen due to + data->block++ during the first iteration. + + Fixes: CID 73624, CID 96690 + + Reviewed-by: Daniel Kiper + +2020-07-29 Konrad Rzeszutek Wilk + + multiboot2: Fix memory leak if grub_create_loader_cmdline() fails + Fixes: CID 292468 + + Reviewed-by: Daniel Kiper + +2020-07-29 Konrad Rzeszutek Wilk + + udf: Fix memory leak + Fixes: CID 73796 + + Reviewed-by: Daniel Kiper + Reviewed-by: Jan Setje-Eilers + +2020-07-29 Konrad Rzeszutek Wilk + + term: Fix overflow on user inputs + This requires a very weird input from the serial interface but can cause + an overflow in input_buf (keys) overwriting the next variable (npending) + with the user choice: + + (pahole output) + + struct grub_terminfo_input_state { + int input_buf[6]; /* 0 24 */ + int npending; /* 24 4 */ <- CORRUPT + ...snip... + + The magic string requires causing this is "ESC,O,],0,1,2,q" and we overflow + npending with "q" (aka increase npending to 161). The simplest fix is to + just to disallow overwrites input_buf, which exactly what this patch does. + + Fixes: CID 292449 + + Reviewed-by: Daniel Kiper + +2020-07-29 Konrad Rzeszutek Wilk + + lzma: Make sure we don't dereference past array + The two dimensional array p->posSlotEncoder[4][64] is being dereferenced + using the GetLenToPosState() macro which checks if len is less than 5, + and if so subtracts 2 from it. If len = 0, that is 0 - 2 = 4294967294. + Obviously we don't want to dereference that far out so we check if the + position found is greater or equal kNumLenToPosStates (4) and bail out. + + N.B.: Upstream LZMA 18.05 and later has this function completely rewritten + without any history. + + Fixes: CID 51526 + + Reviewed-by: Daniel Kiper + +2020-07-29 Chris Coulson + + json: Avoid a double-free when parsing fails. + When grub_json_parse() succeeds, it returns the root object which + contains a pointer to the provided JSON string. Callers are + responsible for ensuring that this string outlives the root + object and for freeing its memory when it's no longer needed. + + If grub_json_parse() fails to parse the provided JSON string, + it frees the string before returning an error. This results + in a double free in luks2_recover_key(), which also frees the + same string after grub_json_parse() returns an error. + + This changes grub_json_parse() to never free the JSON string + passed to it, and updates the documentation for it to make it + clear that callers are responsible for ensuring that the string + outlives the root JSON object. + + Fixes: CID 292465 + + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + xnu: Fix double free in grub_xnu_devprop_add_property() + grub_xnu_devprop_add_property() should not free utf8 and utf16 as it get + allocated and freed in the caller. + + Minor improvement: do prop fields initialization after memory allocations. + + Fixes: CID 292442, CID 292457, CID 292460, CID 292466 + + Reviewed-by: Daniel Kiper + +2020-07-29 Alexey Makhalov + + gfxmenu: Fix double free in load_image() + self->bitmap should be zeroed after free. Otherwise, there is a chance + to double free (USE_AFTER_FREE) it later in rescale_image(). + + Fixes: CID 292472 + + Reviewed-by: Daniel Kiper + +2020-07-29 Daniel Kiper + + font: Do not load more than one NAME section + The GRUB font file can have one NAME section only. Though if somebody + crafts a broken font file with many NAME sections and loads it then the + GRUB leaks memory. So, prevent against that by loading first NAME + section and failing in controlled way on following one. + + Reported-by: Chris Coulson + Reviewed-by: Jan Setje-Eilers + +2020-07-29 Peter Jones + + iso9660: Don't leak memory on realloc() failures + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + malloc: Use overflow checking primitives where we do complex allocations + This attempts to fix the places where we do the following where + arithmetic_expr may include unvalidated data: + + X = grub_malloc(arithmetic_expr); + + It accomplishes this by doing the arithmetic ahead of time using grub_add(), + grub_sub(), grub_mul() and testing for overflow before proceeding. + + Among other issues, this fixes: + - allocation of integer overflow in grub_video_bitmap_create() + reported by Chris Coulson, + - allocation of integer overflow in grub_png_decode_image_header() + reported by Chris Coulson, + - allocation of integer overflow in grub_squash_read_symlink() + reported by Chris Coulson, + - allocation of integer overflow in grub_ext2_read_symlink() + reported by Chris Coulson, + - allocation of integer overflow in read_section_as_string() + reported by Chris Coulson. + + Fixes: CVE-2020-14309, CVE-2020-14310, CVE-2020-14311 + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + calloc: Use calloc() at most places + This modifies most of the places we do some form of: + + X = malloc(Y * Z); + + to use calloc(Y, Z) instead. + + Among other issues, this fixes: + - allocation of integer overflow in grub_png_decode_image_header() + reported by Chris Coulson, + - allocation of integer overflow in luks_recover_key() + reported by Chris Coulson, + - allocation of integer overflow in grub_lvm_detect() + reported by Chris Coulson. + + Fixes: CVE-2020-14308 + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + calloc: Make sure we always have an overflow-checking calloc() available + This tries to make sure that everywhere in this source tree, we always have + an appropriate version of calloc() (i.e. grub_calloc(), xcalloc(), etc.) + available, and that they all safely check for overflow and return NULL when + it would occur. + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + safemath: Add some arithmetic primitives that check for overflow + This adds a new header, include/grub/safemath.h, that includes easy to + use wrappers for __builtin_{add,sub,mul}_overflow() declared like: + + bool OP(a, b, res) + + where OP is grub_add, grub_sub or grub_mul. OP() returns true in the + case where the operation would overflow and res is not modified. + Otherwise, false is returned and the operation is executed. + + These arithmetic primitives require newer compiler versions. So, bump + these requirements in the INSTALL file too. + + Reviewed-by: Daniel Kiper + +2020-07-29 Peter Jones + + yylex: Make lexer fatal errors actually be fatal + When presented with a command that can't be tokenized to anything + smaller than YYLMAX characters, the parser calls YY_FATAL_ERROR(errmsg), + expecting that will stop further processing, as such: + + #define YY_DO_BEFORE_ACTION \ + yyg->yytext_ptr = yy_bp; \ + yyleng = (int) (yy_cp - yy_bp); \ + yyg->yy_hold_char = *yy_cp; \ + *yy_cp = '\0'; \ + if ( yyleng >= YYLMAX ) \ + YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \ + yy_flex_strncpy( yytext, yyg->yytext_ptr, yyleng + 1 , yyscanner); \ + yyg->yy_c_buf_p = yy_cp; + + The code flex generates expects that YY_FATAL_ERROR() will either return + for it or do some form of longjmp(), or handle the error in some way at + least, and so the strncpy() call isn't in an "else" clause, and thus if + YY_FATAL_ERROR() is *not* actually fatal, it does the call with the + questionable limit, and predictable results ensue. + + Unfortunately, our implementation of YY_FATAL_ERROR() is: + + #define YY_FATAL_ERROR(msg) \ + do { \ + grub_printf (_("fatal error: %s\n"), _(msg)); \ + } while (0) + + The same pattern exists in yyless(), and similar problems exist in users + of YY_INPUT(), several places in the main parsing loop, + yy_get_next_buffer(), yy_load_buffer_state(), yyensure_buffer_stack, + yy_scan_buffer(), etc. + + All of these callers expect YY_FATAL_ERROR() to actually be fatal, and + the things they do if it returns after calling it are wildly unsafe. + + Fixes: CVE-2020-10713 + + Reviewed-by: Daniel Kiper + +2020-05-25 Marc Zyngier + + arm: Fix 32-bit ARM handling of the CTR register + When booting on an ARMv8 core that implements either CTR.IDC or CTR.DIC + (indicating that some of the cache maintenance operations can be + removed when dealing with I/D-cache coherency, GRUB dies with a + "Unsupported cache type 0x........" message. + + This is pretty likely to happen when running in a virtual machine + hosted on an arm64 machine (I've triggered it on a system built around + a bunch of Cortex-A55 cores, which implements CTR.IDC). + + It turns out that the way GRUB deals with the CTR register is a bit + harsh for anything from ARMv7 onwards. The layout of the register is + backward compatible, meaning that nothing that gets added is allowed to + break earlier behaviour. In this case, ignoring IDC is completely fine, + and only results in unnecessary cache maintenance. + + We can thus avoid being paranoid, and align the 32bit behaviour with + its 64bit equivalent. + + This patch has the added benefit that it gets rid of a (gnu-specific) + case range too. + + Reviewed-by: Leif Lindholm + Reviewed-by: Daniel Kiper + +2020-05-25 Ian Jackson + + templates/20_linux_xen: Support Xen Security Modules (XSM/FLASK) + XSM is enabled by adding "flask=enforcing" as a Xen command line + argument, and providing the policy file as a grub module. + + We make entries for both with and without XSM. If XSM is not compiled + into Xen, then there are no policy files, so no change to the boot + options. + + Reviewed-by: Daniel Kiper + +2020-05-25 Ian Jackson + + templates/20_linux_xen: Ignore xenpolicy and config files too + file_is_not_sym() currently only checks for xen-syms. Extend it to + disregard xenpolicy (XSM policy files) and files ending .config (which + are built by the Xen upstream build system in some configurations and + can therefore end up in /boot). + + Rename the function accordingly, to file_is_not_xen_garbage(). + + Reviewed-by: Daniel Kiper + +2020-05-25 Javier Martinez Canillas + + net: Break out nested function + Nested functions are not supported in C, but are permitted as an extension + in the GNU C dialect. Commit cb2f15c5448 ("normal/main: Search for specific + config files for netboot") added a nested function which caused the build + to break when compiling with clang. + + Break that out into a static helper function to make the code portable again. + + Reported-by: Daniel Axtens + Tested-by: Daniel Axtens + Reviewed-by: Daniel Kiper + +2020-05-25 Javier Martinez Canillas + + tpm: Enable module for all EFI platforms + The module is only enabled for x86_64, but there's nothing specific to + x86_64 in the implementation and can be enabled for all EFI platforms. + + Reviewed-by: Daniel Kiper + +2020-05-25 Daniel Kiper + + INSTALL/configure: Update install doc and configure comment + ..to reflect the GRUB build reality in them. + + Additionally, fix text formatting a bit. + + Reviewed-by: Leif Lindholm + +2020-05-25 Daniel Kiper + + configure: Set gnu99 C language standard by default + Commit d5a32255d (misc: Make grub_strtol() "end" pointers have safer + const qualifiers) introduced "restrict" keyword into some functions + definitions. This keyword was introduced in C99 standard. However, some + compilers by default may use C89 or something different. This behavior + leads to the breakage during builds when c89 or gnu89 is in force. So, + let's set gnu99 C language standard for all compilers by default. This + way a bit random build issue will be fixed and the GRUB source will be + build consistently regardless of type and version of the compiler. + + It was decided to use gnu99 C language standard because it fixes the + issue mentioned above and also provides some useful extensions which are + used here and there in the GRUB source. Potentially we can use gnu11 + too. However, this may reduce pool of older compilers which can be used + to build the GRUB. So, let's live with gnu99 until we discover that we + strongly require a feature from newer C standard. + + The user is still able to override C language standard using relevant + *_CFLAGS variables. + + Reviewed-by: Leif Lindholm + +2020-05-15 Tianjia Zhang + + tpm: Rename function grub_tpm_log_event() to grub_tpm_measure() + grub_tpm_log_event() and grub_tpm_measure() are two functions that + have the same effect. So, keep grub_tpm_log_event() and rename it + to grub_tpm_measure(). This way we get also a more clear semantics. + + Reviewed-by: Daniel Kiper + +2020-05-15 Daniel Kiper + + autogen: Replace -iname with -ipath in find command + ..because -iname cannot be used to match paths. + + Reviewed-by: Javier Martinez Canillas + Reviewed-by: Leif Lindholm + Reviewed-by: Daniel Axtens + +2020-05-15 Daniel Kiper + + INSTALL: Update configure example + ..to make it more relevant. + + Reviewed-by: Leif Lindholm + +2020-05-15 Daniel Kiper + + configure: Drop unneeded TARGET_CFLAGS expansion + Reviewed-by: Javier Martinez Canillas + Reviewed-by: Leif Lindholm + +2020-05-15 Jacob Kroon + + docs/grub: Support for probing partition UUID on MSDOS disks + Support was implemented in commit c7cb11b21 (probe: Support probing for + msdos PARTUUID). + + Reviewed-by: Daniel Kiper + +2020-05-15 Tianjia Zhang + + verifiers: Add verify string debug message + Like grub_verifiers_open(), the grub_verify_string() should also + display this debug message, which is very helpful for debugging. + + Reviewed-by: Daniel Kiper + +2020-05-15 Javier Martinez Canillas + + envblk: Fix buffer overrun when attempting to shrink a variable value + If an existing variable is set with a value whose length is smaller than + the current value, a memory corruption can happen due copying padding '#' + characters outside of the environment block buffer. + + This is caused by a wrong calculation of the previous free space position + after moving backward the characters that followed the old variable value. + + That position is calculated to fill the remaining of the buffer with the + padding '#' characters. But since isn't calculated correctly, it can lead + to copies outside of the buffer. + + The issue can be reproduced by creating a variable with a large value and + then try to set a new value that is much smaller: + + $ grub2-editenv --version + grub2-editenv (GRUB) 2.04 + + $ grub2-editenv env create + + $ grub2-editenv env set a="$(for i in {1..500}; do var="b$var"; done; echo $var)" + + $ wc -c env + 1024 grubenv + + $ grub2-editenv env set a="$(for i in {1..50}; do var="b$var"; done; echo $var)" + malloc(): corrupted top size + Aborted (core dumped) + + $ wc -c env + 0 grubenv + + Reported-by: Renaud Métrich + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + docs: Remove docs for non-existing uppermem command + Remove all documentation of and mentions of the uppermem + command from the docs/grub.texi file. + + The uppermem command is not implemented in the GRUB source + at all and appears to never have been implemented despite + former plans to add an uppermem command. + + To reduce user confusion, this even removes the paragraph + describing how GRUB's uppermem command was supposed to + complement the Linux kernel's mem= parameter. + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + docs: Remove docs for non-existing pxe_unload command + Remove the documentation of the pxe_unload command from the + docs/grub.texi file. + + The pxe_unload command is not implemented in the grub source + at this time at all. It appears to have been removed in commit + 671a78acb (cleanup pxe and efi network release). + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Add a few forgotten file patterns + Add a few patterns to .gitignore to cover files which are generated + by building grub ("make", "make check", "make dist") but which have + been forgotten to add to .gitignore in the past. + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Add leading slashes where appropriate + Going through the list of gitignore patterns without a leading slash, + this adds a leading slash where it appears to have been forgotten. + + Some gitignore patterns like ".deps/" or "Makefile" clearly should + match everywhere, so those definitively need no leading slash. + + For some patterns like "ascii.bitmaps", it is unclear where in the + source tree they should match. Those patterns are kept as they are, + matching the patterns in the whole tree of subdirectories. + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Add trailing slashes for directories + Add trailing slashes for all patterns matching directories. + + Note that we do *not* add trailing slashes for *symlinks* + to directories. + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Sort both pattern groups alphabetically + Alphabetically sort the two groups of gitignore patterns: + + * The group of patterns without slashes, matching anywhere + in the directory subtree. + + * The group of patterns with slashes, matching relative to the + .gitignore file's directory + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Group patterns with and without slash + Group the .gitignore patterns into two groups: + + * Pattern not including a slash, i.e. matching files anywhere in + the .gitignore file's directory and all of its subdirectories. + + * Patterns including a slash, i.e. matching only relative to the + .gitignore file's directory. + + Reviewed-by: Daniel Kiper + +2020-05-15 Hans Ulrich Niedermann + + gitignore: Consistent leading slash is easier to read + As all gitignore patterns containing a left or middle slash match + only relative to the .gitignore file's directory, we write them + all in the same manner with a leading slash. + + This makes the file significantly easier to read. + + Reviewed-by: Daniel Kiper + +2020-05-15 Daniel Kiper + + mips/cache: Add missing nop's in delay slots + Lack of them causes random instructions to be executed before the + jump really happens. + + Reviewed-by: Daniel Kiper + +2020-04-21 Patrick Steinhardt + + luks2: Propagate error when reading area key fails + When decrypting a given keyslot, all error cases except for one set up + an error and return the error code. The only exception is when we try to + read the area key: instead of setting up an error message, we directly + print it via grub_dprintf(). + + Convert the outlier to use grub_error() to allow more uniform handling + of errors. + + Reviewed-by: Daniel Kiper + +2020-04-21 Patrick Steinhardt + + json: Get rid of casts for "jsmntok_t" + With the upstream change having landed that adds a name to the + previously anonymous "jsmntok" typedef, we can now add a forward + declaration for that struct in our code. As a result, we no longer have + to store the "tokens" member of "struct grub_json" as a void pointer but + can instead use the forward declaration, allowing us to get rid of casts + of that field. + + Reviewed-by: Daniel Kiper + +2020-04-21 Patrick Steinhardt + + json: Update jsmn library to upstream commit 053d3cd + Update our embedded version of the jsmn library to upstream commit + 053d3cd (Merge pull request #175 from pks-t/pks/struct-type, + 2020-04-02). + + Reviewed-by: Daniel Kiper + +2020-04-21 Steve Langasek + + templates: Output a menu entry for firmware setup on UEFI FastBoot systems + The fwsetup command allows to reboot into the EFI firmware setup menu, add + a template to include a menu entry on EFI systems that makes use of that + command to reboot into the EFI firmware settings. + + This is useful for users since the hotkey to enter into the EFI setup menu + may not be the same on all systems so users can use the menu entry without + needing to figure out what key needs to be pressed. + + Also, if fastboot is enabled in the BIOS then often it is not possible to + enter the firmware setup menu. So the entry is again useful for this case. + + Reviewed-by: Daniel Kiper + +2020-04-21 Hans de Goede + + kern/term: Accept ESC, F4 and holding SHIFT as user interrupt keys + On some devices the ESC key is the hotkey to enter the BIOS/EFI setup + screen, making it really hard to time pressing it right. Besides that + ESC is also pretty hard to discover for a user who does not know it + will unhide the menu. + + This commit makes F4, which was chosen because is not used as a hotkey + to enter the BIOS setup by any vendor, also interrupt sleeps / stop the + menu countdown. + + This solves the ESC gets into the BIOS setup and also somewhat solves + the discoverability issue, but leaves the timing issue unresolved. + + This commit fixes the timing issue by also adding support for keeping + SHIFT pressed during boot to stop the menu countdown. This matches + what Ubuntu is doing, which should also help with discoverability. + + Reviewed-by: Daniel Kiper + +2020-04-21 Hans de Goede + + efi/console: Do not set text-mode until we actually need it + If we're running with a hidden menu we may never need text mode, so do not + change the video-mode to text until we actually need it. + + This allows to boot a machine without unnecessary graphical transitions and + provide a seamless boot experience to users. + + Reviewed-by: Daniel Kiper + +2020-04-21 Hans de Goede + + efi/console: Implement getkeystatus() support + Implement getkeystatus() support in the EFI console driver. + + This is needed because the logic to determine if a key was pressed to make + the menu countdown stop will be changed by a later patch to also take into + account the SHIFT key being held down. + + For this reason the EFI console driver has to support getkeystatus() to + allow detecting that event. + + Note that if a non-modifier key gets pressed and repeated calls to + getkeystatus() are made then it will return the modifier status at the + time of the non-modifier key, until that key-press gets consumed by a + getkey() call. + + This is a side-effect of how the EFI simple-text-input protocol works + and cannot be avoided. + + Reviewed-by: Daniel Kiper + +2020-04-21 Hans de Goede + + efi/console: Add grub_console_read_key_stroke() helper function + This is a preparatory patch for adding getkeystatus() support to the + EFI console driver. + + We can get modifier status through the simple_text_input read_key_stroke() + method, but if a non-modifier key is (also) pressed the read_key_stroke() + call will consume that key from the firmware's queue. + + The new grub_console_read_key_stroke() helper buffers upto 1 key-stroke. + If it has a non-modifier key buffered, it will return that one, if its + buffer is empty, it will fills its buffer by getting a new key-stroke. + + If called with consume=1 it will empty its buffer after copying the + key-data to the callers buffer, this is how getkey() will use it. + + If called with consume=0 it will keep the last key-stroke buffered, this + is how getkeystatus() will call it. This means that if a non-modifier + key gets pressed, repeated getkeystatus() calls will return the modifiers + of that key-press until it is consumed by a getkey() call. + + Reviewed-by: Daniel Kiper + +2020-04-21 Hans de Goede + + kern/term: Make grub_getkeystatus() helper function available everywhere + Move grub_getkeystatushelper() function from grub-core/commands/keystatus.c + to grub-core/kern/term.c and export it so that it can be used outside of + the keystatus command code too. + + There's no logic change in this patch. The function definition is moved so + it can be called from grub-core/kern/term.c in a subsequent patch. It will + be used to determine if a SHIFT key has was held down and use that also to + interrupt the countdown, without the need to press a key at the right time. + + Reviewed-by: Daniel Kiper + +2020-04-21 Javier Martinez Canillas + + efi/console: Move grub_console_set{colorstate,cursor} higher in the file + This is just a preparatory patch to move the functions higher in the file, + since these will be called by the grub_prepare_for_text_output() function + that will be introduced in a later patch. + + The logic is unchanged by this patch. Functions definitions are just moved + to avoid a forward declaration in a later patch, keeping the code clean. + + Reviewed-by: Daniel Kiper + +2020-04-21 Paul Menzel + + docs/grub: Fix typo in *preferred* + Reviewed-by: Daniel Kiper + +2020-04-21 Daniel Axtens + + powerpc/mkimage: Fix CHRP note descsz + Currently, an image generated with 'grub-mkimage -n' causes an error when + read with 'readelf -a': + + Displaying notes found at file offset 0x000106f0 with length 0x0000002c: + Owner Data size Description + readelf: Warning: note with invalid namesz and/or descsz found at offset 0x0 + readelf: Warning: type: 0x1275, namesize: 0x00000008, descsize: 0x0000002c, alignment: 4 + + This is because the descsz of the CHRP note is set to + sizeof (struct grub_ieee1275_note) + which is the size of the entire note, including name and elf header. The + desczs should contain only the contents, not the name and header sizes. + + Set the descsz instead to 'sizeof (struct grub_ieee1275_note_desc)' + + Resultant readelf output: + + Displaying notes found at file offset 0x00010710 with length 0x0000002c: + Owner Data size Description + PowerPC 0x00000018 Unknown note type: (0x00001275) + description data: ff ff ff ff 00 c0 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 40 00 + + So far as I can tell this issue has existed for as long as the note + generation code has existed, but I guess nothing really checks descsz. + + Reviewed-by: Daniel Kiper + +2020-03-31 Flavio Suligoi + + efi: Add missed space in GRUB_EFI_GLOBAL_VARIABLE_GUID + Reviewed-by: Daniel Kiper + +2020-03-31 Michael Chang + + zfs: Fix gcc10 error -Werror=zero-length-bounds + We bumped into the build error while testing gcc-10 pre-release. + + In file included from ../../include/grub/file.h:22, + from ../../grub-core/fs/zfs/zfs.c:34: + ../../grub-core/fs/zfs/zfs.c: In function 'zap_leaf_lookup': + ../../grub-core/fs/zfs/zfs.c:2263:44: error: array subscript '' is outside the bounds of an interior zero-length array 'grub_uint16_t[0]' {aka 'short unsigned int[0]'} [-Werror=zero-length-bounds] + 2263 | for (chunk = grub_zfs_to_cpu16 (l->l_hash[LEAF_HASH (blksft, h, l)], endian); + ../../include/grub/types.h:241:48: note: in definition of macro 'grub_le_to_cpu16' + 241 | # define grub_le_to_cpu16(x) ((grub_uint16_t) (x)) + | ^ + ../../grub-core/fs/zfs/zfs.c:2263:16: note: in expansion of macro 'grub_zfs_to_cpu16' + 2263 | for (chunk = grub_zfs_to_cpu16 (l->l_hash[LEAF_HASH (blksft, h, l)], endian); + | ^~~~~~~~~~~~~~~~~ + In file included from ../../grub-core/fs/zfs/zfs.c:48: + ../../include/grub/zfs/zap_leaf.h:72:16: note: while referencing 'l_hash' + 72 | grub_uint16_t l_hash[0]; + | ^~~~~~ + + Here I'd like to quote from the gcc document [1] which seems best to + explain what is going on here. + + "Although the size of a zero-length array is zero, an array member of + this kind may increase the size of the enclosing type as a result of + tail padding. The offset of a zero-length array member from the + beginning of the enclosing structure is the same as the offset of an + array with one or more elements of the same type. The alignment of a + zero-length array is the same as the alignment of its elements. + + Declaring zero-length arrays in other contexts, including as interior + members of structure objects or as non-member objects, is discouraged. + Accessing elements of zero-length arrays declared in such contexts is + undefined and may be diagnosed." + + The l_hash[0] is apparnetly an interior member to the enclosed structure + while l_entries[0] is the trailing member. And the offending code tries + to access members in l_hash[0] array that triggers the diagnose. + + Given that the l_entries[0] is used to get proper alignment to access + leaf chunks, we can accomplish the same thing through the ALIGN_UP macro + thus eliminating l_entries[0] from the structure. In this way we can + pacify the warning as l_hash[0] now becomes the last member to the + enclosed structure. + + [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html + + Reviewed-by: Daniel Kiper + +2020-03-31 Michael Chang + + mdraid1x_linux: Fix gcc10 error -Werror=array-bounds + We bumped into the build error while testing gcc-10 pre-release. + + ../../grub-core/disk/mdraid1x_linux.c: In function 'grub_mdraid_detect': + ../../grub-core/disk/mdraid1x_linux.c:181:15: error: array subscript is outside array bounds of 'grub_uint16_t[0]' {aka 'short unsigned int[0]'} [-Werror=array-bounds] + 181 | (char *) &sb.dev_roles[grub_le_to_cpu32 (sb.dev_number)] + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ../../grub-core/disk/mdraid1x_linux.c:98:17: note: while referencing 'dev_roles' + 98 | grub_uint16_t dev_roles[0]; /* Role in array, or 0xffff for a spare, or 0xfffe for faulty. */ + | ^~~~~~~~~ + ../../grub-core/disk/mdraid1x_linux.c:127:33: note: defined here 'sb' + 127 | struct grub_raid_super_1x sb; + | ^~ + cc1: all warnings being treated as errors + + Apparently gcc issues the warning when trying to access sb.dev_roles + array's member, since it is a zero length array as the last element of + struct grub_raid_super_1x that is allocated sparsely without extra + chunks for the trailing bits, so the warning looks legitimate in this + regard. + + As the whole thing here is doing offset computation, it is undue to use + syntax that would imply array member access then take address from it + later. Instead we could accomplish the same thing through basic array + pointer arithmetic to pacify the warning. + + Reviewed-by: Daniel Kiper + +2020-03-31 Simon Hardy + + build: Fix GRUB i386-pc build with Ubuntu gcc + With recent versions of gcc on Ubuntu a very large lzma_decompress.img file is + output. (e.g. 134479600 bytes instead of 2864.) This causes grub-mkimage to + fail with: "error: Decompressor is too big." + + This seems to be caused by a section .note.gnu.property that is placed at an + offset such that objcopy needs to pad the img file with zeros. + + This issue is present on: + Ubuntu 19.10 with gcc (Ubuntu 8.3.0-26ubuntu1~19.10) 8.3.0 + Ubuntu 19.10 with gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008 + + This issue is not present on: + Ubuntu 19.10 with gcc (Ubuntu 7.5.0-3ubuntu1~19.10) 7.5.0 + RHEL 8.0 with gcc 8.3.1 20190507 (Red Hat 8.3.1-4) + + The issue can be fixed by removing the section using objcopy as shown in + this patch. + + Reviewed-by: Daniel Kiper + +2020-03-31 Tianjia Zhang + + efi/tpm: Fix memory leak in grub_tpm1/2_log_event() + The memory requested for the event is not released here, + causing memory leaks. This patch fixes this problem. + + Reviewed-by: Javier Martinez Canillas + Reviewed-by: Daniel Kiper + +2020-03-31 Michael Chang + + docs: Document notes on LVM cache booting + Add notes on LVM cache booting to the GRUB manual to help user understanding + the outstanding issue and status. + + Reviewed-by: Daniel Kiper + +2020-03-31 Michael Chang + + lvm: Add LVM cache logical volume handling + The LVM cache logical volume is the logical volume consisting of the original + and the cache pool logical volume. The original is usually on a larger and + slower storage device while the cache pool is on a smaller and faster one. The + performance of the original volume can be improved by storing the frequently + used data on the cache pool to utilize the greater performance of faster + device. + + The default cache mode "writethrough" ensures that any data written will be + stored both in the cache and on the origin LV, therefore grub can be straight + to read the original lv as no data loss is guarenteed. + + The second cache mode is "writeback", which delays writing from the cache pool + back to the origin LV to have increased performance. The drawback is potential + data loss if losing the associated cache device. + + During the boot time grub reads the LVM offline i.e. LVM volumes are not + activated and mounted, hence it should be fine to read directly from original + lv since all cached data should have been flushed back in the process of taking + it offline. + + It is also not much helpful to the situation by adding fsync calls to the + install code. The fsync did not force to write back dirty cache to the original + device and rather it would update associated cache metadata to complete the + write transaction with the cache device. IOW the writes to cached blocks still + go only to the cache device. + + To write back dirty cache, as LVM cache did not support dirty cache flush per + block range, there'no way to do it for file. On the other hand the "cleaner" + policy is implemented and can be used to write back "all" dirty blocks in a + cache, which effectively drain all dirty cache gradually to attain and last in + the "clean" state, which can be useful for shrinking or decommissioning a + cache. The result and effect is not what we are looking for here. + + In conclusion, as it seems no way to enforce file writes to the original + device, grub may suffer from power failure as it cannot assemble the cache + device and read the dirty data from it. However since the case is only + applicable to writeback mode which is sensitive to data lost in nature, I'd + still like to propose my (relatively simple) patch and treat reading dirty + cache as improvement. + + Reviewed-by: Daniel Kiper + +2020-03-10 Patrick Steinhardt + + gnulib: Fix build of base64 when compiling with memory debugging + When building GRUB with memory management debugging enabled, then the + build fails because of `grub_debug_malloc()` and `grub_debug_free()` + being undefined in the luks2 module. The cause is that we patch + "base64.h" to unconditionaly include "config-util.h", which shouldn't be + included for modules at all. As a result, `MM_DEBUG` is defined when + building the module, causing it to use the debug memory allocation + functions. As these are not built into modules, we end up with a linker + error. + + Fix the issue by removing the include altogether. The + sole reason it was included was for the `_GL_ATTRIBUTE_CONST` macro, + which we can simply define as empty in case it's not set. + + Reviewed-by: Daniel Kiper + +2020-03-10 Patrick Steinhardt + + build: Fix option to explicitly disable memory debugging + The memory management system supports a debug mode that can be enabled + at build time by passing "--enable-mm-debug" to the configure script. + Passing the option will cause us define MM_DEBUG as expected, but in + fact the reverse option "--disable-mm-debug" will do the exact same + thing and also set up the define. This currently causes the build of + "lib/gnulib/base64.c" to fail as it tries to use `grub_debug_malloc()` + and `grub_debug_free()` even though both symbols aren't defined. + + Seemingly, `AC_ARG_ENABLE()` will always execute the third argument if + either the positive or negative option was passed. Let's thus fix the + issue by moving the call to`AC_DEFINE()` into an explicit `if test + $xenable_mm_debug` block, similar to how other defines work. + + Reviewed-by: Daniel Kiper + Reviewed-by: Paul Menzel + +2020-03-10 David Michael + + fat: Support file modification times + This allows comparing file ages on EFI system partitions. + + Reviewed-by: Daniel Kiper + +2020-03-10 David Michael + + exfat: Save the matching directory entry struct when searching + This provides the node's attributes outside the iterator function + so the file modification time can be accessed and reported. + + Reviewed-by: Daniel Kiper + +2020-03-10 Mike Gilbert + + datetime: Enable the datetime module for the emu platform + Fixes a build failure: + + grub-core/commands/date.c:49: undefined reference to `grub_get_weekday_name' + grub-core/commands/ls.c:155: undefined reference to `grub_unixtime2datetime' + + Bug: https://bugs.gentoo.org/711512 + + Reviewed-by: Javier Martinez Canillas + Tested-by: Javier Martinez Canillas + Reviewed-by: Daniel Kiper + +2020-03-10 John Paul Adrian Glaubitz + + build: Add soft-float handling for SuperH (sh4) + While GRUB has no platform support for SuperH (sh4) yet, this change + adds the target-specific handling of soft-floats such that the GRUB + utilities can be built on this target. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + efi: Fix the type of grub_efi_status_t + Currently, in some builds with some checkers, we see: + + 1. grub-core/disk/efi/efidisk.c:601: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour + + This is because grub_efi_status_t is defined as grub_efi_intn_t, which is + signed, and shifting into the sign bit is not defined behavior. UEFI fixed + this in the spec in 2.3: + + 2.3 | Change the defined type of EFI_STATUS from INTN to UINTN | May 7, 2009 + + And the current EDK2 code has: + MdePkg/Include/Base.h-// + MdePkg/Include/Base.h-// Status codes common to all execution phases + MdePkg/Include/Base.h-// + MdePkg/Include/Base.h:typedef UINTN RETURN_STATUS; + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-/** + MdePkg/Include/Base.h- Produces a RETURN_STATUS code with the highest bit set. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @param StatusCode The status code value to convert into a warning code. + MdePkg/Include/Base.h- StatusCode must be in the range 0x00000000..0x7FFFFFFF. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @return The value specified by StatusCode with the highest bit set. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-**/ + MdePkg/Include/Base.h-#define ENCODE_ERROR(StatusCode) ((RETURN_STATUS)(MAX_BIT | (StatusCode))) + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-/** + MdePkg/Include/Base.h- Produces a RETURN_STATUS code with the highest bit clear. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @param StatusCode The status code value to convert into a warning code. + MdePkg/Include/Base.h- StatusCode must be in the range 0x00000000..0x7FFFFFFF. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @return The value specified by StatusCode with the highest bit clear. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-**/ + MdePkg/Include/Base.h-#define ENCODE_WARNING(StatusCode) ((RETURN_STATUS)(StatusCode)) + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-/** + MdePkg/Include/Base.h- Returns TRUE if a specified RETURN_STATUS code is an error code. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- This function returns TRUE if StatusCode has the high bit set. Otherwise, FALSE is returned. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @param StatusCode The status code value to evaluate. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h- @retval TRUE The high bit of StatusCode is set. + MdePkg/Include/Base.h- @retval FALSE The high bit of StatusCode is clear. + MdePkg/Include/Base.h- + MdePkg/Include/Base.h-**/ + MdePkg/Include/Base.h-#define RETURN_ERROR(StatusCode) (((INTN)(RETURN_STATUS)(StatusCode)) < 0) + ... + Uefi/UefiBaseType.h:typedef RETURN_STATUS EFI_STATUS; + + This patch makes grub's implementation match the Edk2 declaration with regards + to the signedness of the type. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + efi/gop: Add debug output on GOP probing + Add debug information to EFI GOP video driver probing function. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + efi/uga: Use video instead of fb as debug condition + All other video drivers use "video" as the debug condition instead of "fb" + so change this in the efi/uga driver to make it consistent with the others. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + efi: Print error messages to grub_efi_allocate_pages_real() + No messages were printed in this function, add some to ease debugging. + + Also, the function returns a void * pointer so return NULL instead of + 0 to make the code more readable. + + Reviewed-by: Daniel Kiper + +2020-03-10 Andrei Borzenkov + + efi/uga: Use 64 bit for fb_base + We get 64 bit from PCI BAR but then truncate by assigning to 32 bit. + Make sure to check that pointer does not overflow on 32 bit platform. + + Closes: 50931 + + Reviewed-by: Daniel Kiper + +2020-03-10 Alexander Graf + + efi/gop: Add support for BLT_ONLY adapters + EFI GOP has support for multiple different bitness types of frame buffers + and for a special "BLT only" type which is always defined to be RGBx. + + Because grub2 doesn't ever directly access the frame buffer but instead + only renders graphics via the BLT interface anyway, we can easily support + these adapters. + + The reason this has come up now is the emerging support for virtio-gpu + in OVMF. That adapter does not have the notion of a memory mapped frame + buffer and thus is BLT only. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + normal/completion: Fix possible NULL pointer dereference + Coverity Scan reports that the grub_strrchr() function can return NULL if + the character is not found. Check if that's the case for dirfile pointer. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + kern: Add grub_debug_enabled() + Add a grub_debug_enabled() helper function instead of open coding it. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + Makefile: Make libgrub.pp depend on config-util.h + If you build with "make -j48" a lot, sometimes you see: + + gcc -E -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.tab.h\" -I. -I.. -I. -I.. -I../include -I./include -I../grub-core/lib/libgcrypt-grub/src/ -I../grub-core/lib/minilzo -I../grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.tab.h\" -I. -I.. -I. -I.. -I../include -I./include -I../grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnulib -I../grub-core/gnulib -I/builddir/build/BUILD/grub-2.02/grub-aarch64-efi-2.02 -D_FILE_OFFSET_BITS=64 \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' grub_script.tab.h grub_script.yy.h ../grub-core/commands/blocklist.c ../grub-core/commands/macbless.c ../grub-core/commands/xnu_uuid.c ../grub-core/commands/testload.c ../grub-core/commands/ls.c ../grub-core/disk/dmraid_nvidia.c ../grub-core/disk/loopback.c ../grub-core/disk/lvm.c ../grub-core/disk/mdraid_linux.c ../grub-core/disk/mdraid_linux_be.c ../grub-core/disk/mdraid1x_linux.c ../grub-core/disk/raid5_recover.c ../grub-core/disk/raid6_recover.c ../grub-core/font/font.c ../grub-core/gfxmenu/font.c ../grub-core/normal/charset.c ../grub-core/video/fb/fbblit.c ../grub-core/video/fb/fbutil.c ../grub-core/video/fb/fbfill.c ../grub-core/video/fb/video_fb.c ../grub-core/video/video.c ../grub-core/video/capture.c ../grub-core/video/colors.c ../grub-core/unidata.c ../grub-core/io/bufio.c ../grub-core/fs/affs.c ../grub-core/fs/afs.c ../grub-core/fs/bfs.c ../grub-core/fs/btrfs.c ../grub-core/fs/cbfs.c ../grub-core/fs/cpio.c ../grub-core/fs/cpio_be.c ../grub-core/fs/odc.c ../grub-core/fs/newc.c ../grub-core/fs/ext2.c ../grub-core/fs/fat.c ../grub-core/fs/exfat.c ../grub-core/fs/fshelp.c ../grub-core/fs/hfs.c ../grub-core/fs/hfsplus.c ../grub-core/fs/hfspluscomp.c ../grub-core/fs/iso9660.c ../grub-core/fs/jfs.c ../grub-core/fs/minix.c ../grub-core/fs/minix2.c ../grub-core/fs/minix3.c ../grub-core/fs/minix_be.c ../grub-core/fs/minix2_be.c ../grub-core/fs/minix3_be.c ../grub-core/fs/nilfs2.c ../grub-core/fs/ntfs.c ../grub-core/fs/ntfscomp.c ../grub-core/fs/reiserfs.c ../grub-core/fs/romfs.c ../grub-core/fs/sfs.c ../grub-core/fs/squash4.c ../grub-core/fs/tar.c ../grub-core/fs/udf.c ../grub-core/fs/ufs2.c ../grub-core/fs/ufs.c ../grub-core/fs/ufs_be.c ../grub-core/fs/xfs.c ../grub-core/fs/zfs/zfscrypt.c ../grub-core/fs/zfs/zfs.c ../grub-core/fs/zfs/zfsinfo.c ../grub-core/fs/zfs/zfs_lzjb.c ../grub-core/fs/zfs/zfs_lz4.c ../grub-core/fs/zfs/zfs_sha256.c ../grub-core/fs/zfs/zfs_fletcher.c ../grub-core/lib/envblk.c ../grub-core/lib/hexdump.c ../grub-core/lib/LzFind.c ../grub-core/lib/LzmaEnc.c ../grub-core/lib/crc.c ../grub-core/lib/adler32.c ../grub-core/lib/crc64.c ../grub-core/normal/datetime.c ../grub-core/normal/misc.c ../grub-core/partmap/acorn.c ../grub-core/partmap/amiga.c ../grub-core/partmap/apple.c ../grub-core/partmap/sun.c ../grub-core/partmap/plan.c ../grub-core/partmap/dvh.c ../grub-core/partmap/sunpc.c ../grub-core/partmap/bsdlabel.c ../grub-core/partmap/dfly.c ../grub-core/script/function.c ../grub-core/script/lexer.c ../grub-core/script/main.c ../grub-core/script/script.c ../grub-core/script/argv.c ../grub-core/io/gzio.c ../grub-core/io/xzio.c ../grub-core/io/lzopio.c ../grub-core/kern/ia64/dl_helper.c ../grub-core/kern/arm/dl_helper.c ../grub-core/kern/arm64/dl_helper.c ../grub-core/lib/minilzo/minilzo.c ../grub-core/lib/xzembed/xz_dec_bcj.c ../grub-core/lib/xzembed/xz_dec_lzma2.c ../grub-core/lib/xzembed/xz_dec_stream.c ../util/misc.c ../grub-core/kern/command.c ../grub-core/kern/device.c ../grub-core/kern/disk.c ../grub-core/lib/disk.c ../util/getroot.c ../grub-core/osdep/unix/getroot.c ../grub-core/osdep/getroot.c ../grub-core/osdep/devmapper/getroot.c ../grub-core/osdep/relpath.c ../grub-core/kern/emu/hostdisk.c ../grub-core/osdep/devmapper/hostdisk.c ../grub-core/osdep/hostdisk.c ../grub-core/osdep/unix/hostdisk.c ../grub-core/osdep/exec.c ../grub-core/osdep/sleep.c ../grub-core/osdep/password.c ../grub-core/kern/emu/misc.c ../grub-core/kern/emu/mm.c ../grub-core/kern/env.c ../grub-core/kern/err.c ../grub-core/kern/file.c ../grub-core/kern/fs.c ../grub-core/kern/list.c ../grub-core/kern/misc.c ../grub-core/kern/partition.c ../grub-core/lib/crypto.c ../grub-core/disk/luks.c ../grub-core/disk/geli.c ../grub-core/disk/cryptodisk.c ../grub-core/disk/AFSplitter.c ../grub-core/lib/pbkdf2.c ../grub-core/commands/extcmd.c ../grub-core/lib/arg.c ../grub-core/disk/ldm.c ../grub-core/disk/diskfilter.c ../grub-core/partmap/gpt.c ../grub-core/partmap/msdos.c ../grub-core/fs/proc.c ../grub-core/fs/archelp.c > libgrub.pp || (rm -f libgrub.pp; exit 1) + rm -f stamp-h1 + touch ../config-util.h.in + cd . && /bin/sh ./config.status config-util.h + config.status: creating config-util.h + In file included from ../include/grub/mm.h:25:0, + from ../include/grub/disk.h:29, + from ../include/grub/file.h:26, + from ../grub-core/fs/btrfs.c:21: + ./config.h:38:10: fatal error: ./config-util.h: No such file or directory + #include + ^~~~~~~~~~~~~~~ + compilation terminated. + make: *** [Makefile:13098: libgrub.pp] Error 1 + + This is because libgrub.pp is built with -DGRUB_UTIL=1, which means + it'll try to include config-util.h, but a parallel make is actually + building that file. I think. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + efi: Print more debug info in our module loader + The function that searches the mods section base address does not have + any debug information. Add some debugging outputs that could be useful. + + Reviewed-by: Daniel Kiper + +2020-03-10 Peter Jones + + linux/getroot: Handle rssd storage device names + The Micron PCIe SSDs Linux driver (mtip32xx) exposes block devices + as /dev/rssd[a-z]+[0-9]*. Add support for these rssd device names. + + Reviewed-by: Daniel Kiper + +2020-03-10 Julian Andres Klode + + smbios: Add a --linux argument to apply linux modalias-like filtering + Linux creates modalias strings by filtering out non-ASCII, space, + and colon characters. Provide an option that does the same filtering + so people can create a modalias string in GRUB, and then match their + modalias patterns against it. + + Reviewed-by: Daniel Kiper + +2020-03-10 Mike Gilbert + + po: Fix replacement of %m in sed programs + When running make dist, I hit this error: + + rm -f en@arabic.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o en@arabic.gmo en@arabic.po + en@arabic.po:5312: 'msgstr' is not a valid C format string, unlike 'msgid'. + Reason: The character that terminates the directive number 3 is not a valid conversion specifier. + /usr/bin/gmsgfmt: found 1 fatal error + + This was caused by "%m" being replaced with foreign Unicode characters. + For example: + + msgid "cannot rename the file %s to %s: %m" + msgstr "ﺹﺎﻨﻧﻮﺗ ﺮﻌﻧﺎﻤﻋ ﺖﻬﻋ ﻒִﻴﻠﻋ %s ﺕﻭ %s: %ﻡ" + + Mimic the workaround used for "%s" by reversing the replacement of "%m" at + the end of the sed programs. + + Reviewed-by: Daniel Kiper + +2020-03-10 Colin Watson + + gettext: Restore patches to po/Makefile.in.in + These were inadvertently lost during the conversion to Gnulib (gnulib: + Upgrade Gnulib and switch to bootstrap tool; commit 35b909062). The + files in po/gettext-patches/ can be imported using "git am" on top of + the gettext tag corresponding to AM_GNU_GETTEXT_VERSION in configure.ac + (currently 0.18.3). They handle translation of messages in shell files, + make msgfmt output in little-endian format, and arrange to use @SHELL@ + rather than /bin/sh. + + There were some changes solely for the purpose of distributing extra + files; for ease of maintenance, I've added these to + conf/Makefile.extra-dist instead. + + Fixes: https://savannah.gnu.org/bugs/?57298 + + Reviewed-by: Daniel Kiper + +2020-02-28 Peter Jones + + misc: Make grub_strtol() "end" pointers have safer const qualifiers + Currently the string functions grub_strtol(), grub_strtoul(), and + grub_strtoull() don't declare the "end" pointer in such a way as to + require the pointer itself or the character array to be immutable to the + implementation, nor does the C standard do so in its similar functions, + though it does require us not to change any of it. + + The typical declarations of these functions follow this pattern: + + long + strtol(const char * restrict nptr, char ** restrict endptr, int base); + + Much of the reason for this is historic, and a discussion of that + follows below, after the explanation of this change. (GRUB currently + does not include the "restrict" qualifiers, and we name the arguments a + bit differently.) + + The implementation is semantically required to treat the character array + as immutable, but such accidental modifications aren't stopped by the + compiler, and the semantics for both the callers and the implementation + of these functions are sometimes also helped by adding that requirement. + + This patch changes these declarations to follow this pattern instead: + + long + strtol(const char * restrict nptr, + const char ** const restrict endptr, + int base); + + This means that if any modification to these functions accidentally + introduces either an errant modification to the underlying character + array, or an accidental assignment to endptr rather than *endptr, the + compiler should generate an error. (The two uses of "restrict" in this + case basically mean strtol() isn't allowed to modify the character array + by going through *endptr, and endptr isn't allowed to point inside the + array.) + + It also means the typical use case changes to: + + char *s = ...; + const char *end; + long l; + + l = strtol(s, &end, 10); + + Or even: + + const char *p = str; + while (p && *p) { + long l = strtol(p, &p, 10); + ... + } + + This fixes 26 places where we discard our attempts at treating the data + safely by doing: + + const char *p = str; + long l; + + l = strtol(p, (char **)&ptr, 10); + + It also adds 5 places where we do: + + char *p = str; + while (p && *p) { + long l = strtol(p, (const char ** const)&p, 10); + ... + /* more calls that need p not to be pointer-to-const */ + } + + While moderately distasteful, this is a better problem to have. + + With one minor exception, I have tested that all of this compiles + without relevant warnings or errors, and that /much/ of it behaves + correctly, with gcc 9 using 'gcc -W -Wall -Wextra'. The one exception + is the changes in grub-core/osdep/aros/hostdisk.c , which I have no idea + how to build. + + Because the C standard defined type-qualifiers in a way that can be + confusing, in the past there's been a slow but fairly regular stream of + churn within our patches, which add and remove the const qualifier in many + of the users of these functions. This change should help avoid that in + the future, and in order to help ensure this, I've added an explanation + in misc.h so that when someone does get a compiler warning about a type + error, they have the fix at hand. + + The reason we don't have "const" in these calls in the standard is + purely anachronistic: C78 (de facto) did not have type qualifiers in the + syntax, and the "const" type qualifier was added for C89 (I think; it + may have been later). strtol() appears to date from 4.3BSD in 1986, + which means it could not be added to those functions in the standard + without breaking compatibility, which is usually avoided. + + The syntax chosen for type qualifiers is what has led to the churn + regarding usage of const, and is especially confusing on string + functions due to the lack of a string type. Quoting from C99, the + syntax is: + + declarator: + pointer[opt] direct-declarator + direct-declarator: + identifier + ( declarator ) + direct-declarator [ type-qualifier-list[opt] assignment-expression[opt] ] + ... + direct-declarator [ type-qualifier-list[opt] * ] + ... + pointer: + * type-qualifier-list[opt] + * type-qualifier-list[opt] pointer + type-qualifier-list: + type-qualifier + type-qualifier-list type-qualifier + ... + type-qualifier: + const + restrict + volatile + + So the examples go like: + + const char foo; // immutable object + const char *foo; // mutable pointer to object + char * const foo; // immutable pointer to mutable object + const char * const foo; // immutable pointer to immutable object + const char const * const foo; // XXX extra const keyword in the middle + const char * const * const foo; // immutable pointer to immutable + // pointer to immutable object + const char ** const foo; // immutable pointer to mutable pointer + // to immutable object + + Making const left-associative for * and right-associative for everything + else may not have been the best choice ever, but here we are, and the + inevitable result is people using trying to use const (as they should!), + putting it at the wrong place, fighting with the compiler for a bit, and + then either removing it or typecasting something in a bad way. I won't + go into describing restrict, but its syntax has exactly the same issue + as with const. + + Anyway, the last example above actually represents the *behavior* that's + required of strtol()-like functions, so that's our choice for the "end" + pointer. + + Reviewed-by: Daniel Kiper + +2020-02-28 Mike Gilbert + + build: Disable PIE in TARGET_CCASFLAGS if needed + PIE should be disabled in assembly sources as well, or else GRUB will + fail to boot. + + Bug: https://bugs.gentoo.org/667852 + + Reviewed-by: Daniel Kiper + Tested-by: John Paul Adrian Glaubitz + +2020-02-28 Mike Gilbert + + build: Move TARGET_* assignments earlier + On a 32-bit SPARC userland, configure fails to compile assembly and the + build fails: + + checking for options to compile assembly... configure: error: could not compile assembly + + config.log shows: + + asm-tests/sparc64.S: Assembler messages: + asm-tests/sparc64.S:5: Error: Architecture mismatch on "lduw [%o4+4],%o4". + asm-tests/sparc64.S:5: (Requires v9|v9a|v9b|v9c|v9d|v9e|v9v|v9m|m8; requested architecture is sparclite.) + asm-tests/sparc64.S:7: Error: Architecture mismatch on "stw %o5,[%o3]". + asm-tests/sparc64.S:7: (Requires v9|v9a|v9b|v9c|v9d|v9e|v9v|v9m|m8; requested architecture is sparclite.) + asm-tests/sparc64.S:8: Error: Architecture mismatch on "bne,pt %icc,1b ,pt %icc,1b". + asm-tests/sparc64.S:8: (Requires v9|v9a|v9b|v9c|v9d|v9e|v9v|v9m|m8; requested architecture is sparclite.) + + Simply moving these blocks earlier in configure.ac is sufficient to + ensure that the tests are executed with the appropriate flags + (specifically -m64 in this case). + + Bug: https://bugs.gentoo.org/667850 + + Reviewed-by: Daniel Kiper + Tested-by: John Paul Adrian Glaubitz + +2020-02-28 Patrick Steinhardt + + luks2: Add missing newline to debug message + The debug message printed when decryption with a keyslot fails is + missing its trailing newline. Add it to avoid mangling it with + subsequent output. + + Reviewed-by: Daniel Kiper + +2020-02-18 Michael Chang + + verifiers: Fix calling uninitialized function pointer + The necessary check for NULL before use of function ver->close is not + taking place in the failure path. This patch simply adds the missing + check and fixes the problem that GRUB hangs indefinitely after booting + rogue image without valid signature if secure boot is turned on. + + Now it displays like this for booting rogue UEFI image: + + error: bad shim signature + error: you need to load the kernel first + + Press any key to continue... + + and then you can go back to boot menu by pressing any key or after a few + seconds expired. + + Reviewed-by: Javier Martinez Canillas + Reviewed-by: Daniel Kiper + +2020-02-18 Peter Jones + + grub-editenv: Make grub-editenv chase symlinks including those across devices + The grub-editenv create command will wrongly overwrite /boot/grub2/grubenv + with a regular file if grubenv is a symbolic link. But instead, it should + create a new file in the path the symlink points to. + + This lets /boot/grub2/grubenv be a symlink to /boot/efi/EFI/fedora/grubenv + even when they're different mount points, which allows grub2-editenv to be + the same across platforms (i.e. UEFI vs BIOS). + + For example, in Fedora the GRUB EFI builds have prefix set to /EFI/fedora + (on the EFI System Partition), but for BIOS machine it'll be /boot/grub2 + (which may or may not be its own mountpoint). + + With this patch, on EFI machines we can make /boot/grub2/grubenv a symlink + to /boot/efi/EFI/fedora/grubenv, and the same copy of grub-set-default will + work on both kinds of systems. + + Windows doesn't implement a readlink primitive, so the current behaviour is + maintained for this operating system. + + Reviewed-by: Adam Jackson + Reviewed-by: Daniel Kiper + +2020-02-18 Peter Jones + + grub-editenv: Add grub_util_readlink() + Currently grub-editenv and related tools are not able to follow symbolic + links when finding their config file. For example the grub-editenv create + command will wrongly overwrite a symlink in /boot/grub2/grubenv with a new + regular file, instead of creating a file in the path the symlink points to. + + A following patch will change that and add support in grub-editenv to + follow symbolic links when finding the grub environment variables file. + + Add a grub_util_readlink() helper function that is just a wrapper around + the platform specific function to read the value of a symbolic link. This + helper function will be used by the following patch for grub-editenv. + + The helper function is not added for Windows, since this operating system + doesn't have a primitive to read the contents of a symbolic link. + + Reviewed-by: Adam Jackson + Reviewed-by: Daniel Kiper + +2020-02-18 Robert Marshall + + docs: Update info with grub.cfg netboot selection order + Add documentation to the GRUB manual that specifies the order netboot + clients use to select a GRUB configuration file. + + Also explain that the feature is enabled by default but can be disabled + by setting the "feature_net_search_cfg" environment variable to "n" in + an embedded configuration file. + + Reviewed-by: Daniel Kiper + +2020-02-18 Paulo Flabiano Smorigo + + normal/main: Search for specific config files for netboot + This patch implements a search for a specific configuration when the config + file is on a remoteserver. It uses the following order: + 1) DHCP client UUID option. + 2) MAC address (in lower case hexadecimal with dash separators); + 3) IP (in upper case hexadecimal) or IPv6; + 4) The original grub.cfg file. + + This procedure is similar to what is used by pxelinux and yaboot: + http://www.syslinux.org/wiki/index.php/PXELINUX#config + + It is enabled by default but can be disabled by setting the environment + variable "feature_net_search_cfg" to "n" in an embedded configuration. + + Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=873406 + + Reviewed-by: Daniel Kiper + +2020-02-18 Paulo Flabiano Smorigo + + net/dhcp: Set net__client{id, uuid} variables from DHCP options + This patch sets a net__clientid and net__clientuuid + GRUB environment variables, using the DHCP client ID and UUID options if + these are found. + + In the same way than net__