grub/grub-core/kern
Andrei Borzenkov d31321835e file: ignore host disk in blocklist check
It cannot work anyway because host disk cannot be read. This fixes hostfs access
on native Windows build where filenames start with '\' or do not have initial
separator at all (d:\foo).

Issue was observed when running grub-fstest on Windows. On UNIX image name is
canonicalized to always start with `/' so this was not noticed.

This has side effect of allowing relative path names on host, but this already
was the case with `ls' command, so it just extends it to all commands.

Reported-By: Arch Stack <archstacker@gmail.com>
Also-By: Arch Stack <archstacker@gmail.com>
2015-10-10 10:02:20 +03:00
..
arm Fix exit to EFI firmware 2015-06-12 13:08:36 +03:00
arm64 Decrease number of strings to translate. 2013-12-18 07:26:13 +01:00
efi efi: fix GetVariable return status check in 81ca24a 2015-07-24 20:46:02 +03:00
emu hostdisk: fix crash with NULL device.map 2015-05-17 14:16:36 +03:00
generic rtc_get_time_ms.c (grub_rtc_get_time_ms): Avoid division by zero. 2015-01-21 17:42:14 +01:00
i386 i386/tsc: Fix unused function warning on xen. 2015-02-22 13:12:44 +01:00
ia64 * grub-core/kern/ia64/dl.c (grub_arch_dl_relocate_symbols): Add checks 2013-12-11 11:29:35 +01:00
ieee1275 ieee1275: check for IBM pseries emulated machine 2014-03-24 15:44:33 +00:00
mips mips/dl: Handle addend in RELA entries. 2015-10-09 23:32:06 +02:00
powerpc Remove libgcc dependency. 2015-03-03 20:50:37 +01:00
sparc64 sparc64: Switch to more portable .org. 2015-02-21 20:32:03 +01:00
uboot Enable cache on ARM U-Boot port. 2013-12-23 05:01:58 +01:00
x86_64 Support grub-emu on x32 (ILP32 but with x86-64 instruction set) 2014-09-07 23:04:50 +01:00
xen Remove xen VFB. 2013-12-18 18:43:09 +01:00
command.c Remove prio_list 2012-02-12 03:52:17 +01:00
compiler-rt.c ARM: provide __aeabi_memclr* and __aeabi_memcpy* symbols 2015-07-22 20:40:13 +02:00
corecmd.c * grub-core/kern/corecmd.c (grub_core_cmd_set): Use grub_env_get 2013-06-07 18:25:19 +02:00
device.c Remove nested functions from device iterators. 2013-01-20 15:52:15 +00:00
disk.c * grub-core/kern/disk.c: Fix potential overflow. 2013-12-21 13:23:37 +01:00
disk_common.c * grub-core/kern/disk_common.c: Clump disk size to 1EiB. 2014-08-10 11:27:36 +02:00
dl.c Add missing grub_ prefix in memcpy invocation 2015-02-23 22:29:33 +01:00
elf.c Make elfload not use hooks. Opt for flags and iterators instead. 2013-03-02 16:45:57 +01:00
elfXX.c * grub-core/kern/elfXX.c: Use grub_addr_t rather than long when 2013-12-15 14:33:22 +01:00
env.c * grub-core/kern/env.c, include/grub/env.h: Change iterator through 2013-03-03 01:34:27 +01:00
err.c * grub-core/kern/misc.c (grub_abort): Make static 2013-10-27 14:13:39 +01:00
file.c file: ignore host disk in blocklist check 2015-10-10 10:02:20 +03:00
fs.c Remove nested functions from filesystem directory iterators. 2013-01-21 01:33:46 +00:00
list.c Remove prio_list. 2012-02-26 22:49:24 +01:00
main.c * grub-core/kern/main.c (grub_set_prefix_and_root): Set variable 2013-11-14 15:53:32 +01:00
misc.c Remove libgcc dependency. 2015-03-03 20:50:37 +01:00
mm.c * grub-core/kern/mm.c (grub_real_malloc): Decrease cut-off of moving the 2013-11-18 17:41:37 +01:00
parser.c * grub-core/kern/parser.c (grub_parser_split_cmdline): Remove nested 2013-11-07 02:53:43 +01:00
partition.c Remove nested functions from device iterators. 2013-01-20 15:52:15 +00:00
rescue_parser.c Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
rescue_reader.c Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
term.c Lift 255x255 erminal sie restriction to 65535x65535. Also change from 2013-10-19 23:59:32 +02:00
time.c automake commit without merge history 2010-05-06 11:34:04 +05:30
vga_init.c * grub-core/kern/vga_init.c: Fix compilation on qemu-mips. 2013-08-14 09:50:57 +02:00