]>
git.proxmox.com Git - grub2.git/log
Vladimir Serbinenko [Wed, 6 Nov 2013 23:46:44 +0000 (00:46 +0100)]
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): Fix
BIOS disk check.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:45:15 +0000 (00:45 +0100)]
* grub-core/bus/usb/ehci.c (grub_ehci_restore_hw): Return right enum
type.
(grub_ehci_fini_hw): Likewise.
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:35:56 +0000 (00:35 +0100)]
* include/grub/usb.h (grub_usb_controller_dev): Make portstatus
return grub_usb_err_t for cosistency. All users updated.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:30:41 +0000 (00:30 +0100)]
* util/mkimage.c (SzAlloc): Use attribute unused rather than dubious
assigning to itself.
Gustavo Luiz Duarte [Tue, 5 Nov 2013 19:30:20 +0000 (17:30 -0200)]
issue separate DNS queries for ipv4 and ipv6
Adding multiple questions on a single DNS query is not supportted by
most DNS servers. This patch issues two separate DNS queries
sequentially for ipv4 and then for ipv6.
Fixes: https://savannah.gnu.org/bugs/?39710
* grub-core/net/bootp.c (parse_dhcp_vendor): Add DNS option.
* grub-core/net/dns.c (grub_dns_qtype_id): New enum.
* (grub_net_dns_lookup): Now using separated dns packages.
* (grub_cmd_nslookup): Add error condition.
* (grub_cmd_list_dns): Print DNS option.
* (grub_cmd_add_dns): Add four parameters: --only-ipv4,
* --only-ipv6, --prefer-ipv4, and --prefer-ipv6.
* include/grub/net.h (grub_dns_option_t): New enum.
* (grub_net_network_level_address): option added.
Also-by: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
Vladimir Testov [Tue, 5 Nov 2013 17:46:16 +0000 (21:46 +0400)]
* grub-core/video/fb/video_fb.c: Merge two blit functions
into one.
Vladimir Serbinenko [Tue, 5 Nov 2013 01:44:31 +0000 (02:44 +0100)]
* grub-core/term/terminfo.c: Add sequences for home and end.
Vladimir Serbinenko [Tue, 5 Nov 2013 01:43:27 +0000 (02:43 +0100)]
* grub-core/lib/legacy_parse.c: Fix handling of hercules and add
graphics console.
Vladimir Serbinenko [Tue, 5 Nov 2013 01:41:50 +0000 (02:41 +0100)]
* grub-core/video/i386/pc/vga.c: Fix double bufferring and
add mode 0x12.
Vladimir Serbinenko [Mon, 4 Nov 2013 21:04:22 +0000 (22:04 +0100)]
* docs/grub.texi (Vendor power-on keys): Add XPS M1330M based on old
e-mail by Per Öberg.
Vladimir Serbinenko [Mon, 4 Nov 2013 13:27:09 +0000 (14:27 +0100)]
* grub-core/commands/i386/nthibr.c (GRUB_MOD_INIT): Fix typo in command
name.
Andrey Borzenkov [Mon, 4 Nov 2013 12:53:39 +0000 (16:53 +0400)]
enable emuusb and emupci on emu platform only
Also explicitly disable them in configure unless built for emu platform.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Vladimir Serbinenko [Mon, 4 Nov 2013 04:15:15 +0000 (05:15 +0100)]
* docs/grub.texi: Document usage of menuentry id.
Vladimir Serbinenko [Mon, 4 Nov 2013 01:18:02 +0000 (02:18 +0100)]
* docs/grub.texi: Add few mentions about EFI, debug and videoinfo.
Peter Lustig [Mon, 4 Nov 2013 00:47:37 +0000 (01:47 +0100)]
* grub-core/commands/i386/nthibr.c: New command.
Vladimir Serbinenko [Sun, 3 Nov 2013 23:40:14 +0000 (00:40 +0100)]
* grub-core/tests/video_checksum.c: Add 2560x1440 mode to testing.
Vladimir Serbinenko [Sun, 3 Nov 2013 23:39:13 +0000 (00:39 +0100)]
* include/grub/term.h (grub_term_coordinate): Extend to 16-bit per
coordinate.
Vladimir Serbinenko [Sun, 3 Nov 2013 23:15:31 +0000 (00:15 +0100)]
Support GRUB_DISABLE_SUBMENU config.
Inspired by patch from Prarit Bhargava.
Vladimir Serbinenko [Sun, 3 Nov 2013 18:04:02 +0000 (19:04 +0100)]
* docs/grub.texi: Mention RSA support.
Vladimir Serbinenko [Sun, 3 Nov 2013 17:50:01 +0000 (18:50 +0100)]
* grub-core/commands/verify.c: Add RSA support.
Vladimir Serbinenko [Sun, 3 Nov 2013 15:52:33 +0000 (16:52 +0100)]
Revert "Attempts at ZFS options"
It was accidently committed to wrong branch
This reverts commit
0ee5cdfe9f9d576c95c35030ee25012545a3a294 .
Vladimir Serbinenko [Sun, 3 Nov 2013 15:40:32 +0000 (16:40 +0100)]
Attempts at ZFS options
Vladimir Serbinenko [Sun, 3 Nov 2013 12:52:36 +0000 (13:52 +0100)]
* grub-core/disk/ahci.c (grub_ahci_pciinit): Detect ATAPI devices.
* grub-core/disk/ata.c (grub_ata_identify): Use atapi_identify if
device is known to be ATAPI.
Mike Frysinger [Sun, 3 Nov 2013 11:48:13 +0000 (12:48 +0100)]
* configure.ac: Don't add target-prefix.
Vladimir Serbinenko [Sun, 3 Nov 2013 05:17:31 +0000 (06:17 +0100)]
* grub-core/commands/loadenv.c (grub_cmd_save_env): Remove unset
variables.
Vladimir Serbinenko [Sun, 3 Nov 2013 04:42:02 +0000 (05:42 +0100)]
* grub-core/gettext/gettext.c (grub_gettext_init_ext): Ignore errors
if language is English.
Vladimir Serbinenko [Sat, 2 Nov 2013 23:43:49 +0000 (00:43 +0100)]
* grub-core/osdep/linux/getroot.c: Fix cast-align problems.
Vladimir Serbinenko [Sat, 2 Nov 2013 23:24:57 +0000 (00:24 +0100)]
Fix last commit
Vladimir Serbinenko [Sat, 2 Nov 2013 21:46:01 +0000 (22:46 +0100)]
* configure.ac: Don't add -m32/-m64 on emu.
neil [Sat, 2 Nov 2013 21:19:34 +0000 (22:19 +0100)]
* grub-core/osdep/linux/blocklist.c: Include linux/types.h for some
broken linux headers.
Vladimir Serbinenko [Sat, 2 Nov 2013 21:00:59 +0000 (22:00 +0100)]
* util/grub.d/30_os-prober.in: Add unhiding of partition if on msdos.
Vladimir Serbinenko [Sat, 2 Nov 2013 20:28:03 +0000 (21:28 +0100)]
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Don't do
Reed-Solomon recovery if more than half of redundancy info is 0.
Vladimir Serbinenko [Sat, 2 Nov 2013 19:30:39 +0000 (20:30 +0100)]
* util/grub-mount.c: Handle symlinks to directories.
Vladimir Serbinenko [Sat, 2 Nov 2013 19:29:02 +0000 (20:29 +0100)]
* grub-core/fs/fshelp.c (find_file): Save ctx->next when calling
find_file recursively for symlink.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:17:25 +0000 (19:17 +0100)]
* tests/util/grub-shell.in: Copy themes.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:16:36 +0000 (19:16 +0100)]
* util/grub-mkimagexx.c (locate_sections): Reject mislinked images.
Vladimir Serbinenko [Sat, 2 Nov 2013 18:13:41 +0000 (19:13 +0100)]
* configure.ac: Use 0x8000 for address instead of 8000.
Vladimir Serbinenko [Sat, 2 Nov 2013 17:57:35 +0000 (18:57 +0100)]
* grub-core/loader/sparc64/ieee1275/linux.c (get_physbase): Fix
signature.
Vladimir Serbinenko [Sat, 2 Nov 2013 17:50:39 +0000 (18:50 +0100)]
* grub-core/disk/efi/efidisk.c (grub_efidisk_readwrite): Remove unused
variable.
Vladimir Serbinenko [Sat, 2 Nov 2013 15:40:25 +0000 (16:40 +0100)]
* configure.ac (TARGET_CFLAGS): Add -march=i386 on i386.
Vladimir Serbinenko [Sat, 2 Nov 2013 15:30:53 +0000 (16:30 +0100)]
* grub-core/fs/hfspluscomp.c (hfsplus_read_compressed_real): Call
file_progress_read_hook.
* grub-core/fs/ntfscomp.c (hfsplus_read_compressed_real): Likewise.
Vladimir Serbinenko [Sat, 2 Nov 2013 15:25:13 +0000 (16:25 +0100)]
* conf/Makefile.common (CFLAGS_PLATFORM): Remove poisoning of float
and double.
Vladimir Serbinenko [Fri, 1 Nov 2013 22:33:59 +0000 (23:33 +0100)]
* grub-core/fs/tar.c (grub_cpio_read): Add read_hook.
Vladimir Serbinenko [Fri, 1 Nov 2013 22:28:03 +0000 (23:28 +0100)]
Rewrite blocklist functions in order to get progress when
reading large extents and decrease amount of blocklist hook calls.
Vladimir Serbinenko [Fri, 1 Nov 2013 18:46:30 +0000 (19:46 +0100)]
* grub-core/term/serial.c (options), (grub_cmd_serial): Fix handling
of SI suffixes.
Vladimir Serbinenko [Fri, 1 Nov 2013 18:33:22 +0000 (19:33 +0100)]
Support --base-clock for serial command to handle weird cards with
non-standard base clock.
Vladimir Serbinenko [Fri, 1 Nov 2013 17:44:46 +0000 (18:44 +0100)]
* grub-core/fs/ext2.c (grub_ext2_read_symlink): Use memcpy rather
strncpy.
* grub-core/fs/jfs.c (grub_jfs_lookup_symlink): Likewise.
* grub-core/kern/misc.c (grub_strncpy): Move from here ...
* include/grub/misc.h (grub_strncpy): ... to here. Make inline.
* grub-core/net/net.c (grub_net_addr_to_str): Use COMPILE_TIME_ASSERT
+ strcpy rather than strncpy.
Vladimir Serbinenko [Fri, 1 Nov 2013 17:41:52 +0000 (18:41 +0100)]
* grub-core/fs/zfs/zfs.c (nvpair_name): Use correct type for size.
(check_pool_label): Likewise. Fixes overflow.
(nvlist_find_value): Fix comparison.
Vladimir Serbinenko [Fri, 1 Nov 2013 15:27:37 +0000 (16:27 +0100)]
* include/grub/misc.h (grub_strcat): Removed. All users changed to
more appropriate functions.
Vladimir Serbinenko [Fri, 1 Nov 2013 15:06:51 +0000 (16:06 +0100)]
* grub-core/kern/efi/efi.c (grub_efi_get_filename): Avoid inefficient
realloc.
Vladimir Serbinenko [Fri, 1 Nov 2013 15:05:15 +0000 (16:05 +0100)]
* util/grub-mkrescue.in: Do not use UUID search on EFI.
Vladimir Serbinenko [Fri, 1 Nov 2013 14:20:14 +0000 (15:20 +0100)]
* grub-core/kern/dl.c: Unify section-finding algorithm. Saves 30 bytes
on core size.
Vladimir Serbinenko [Fri, 1 Nov 2013 13:39:33 +0000 (14:39 +0100)]
* grub-core/kern/mm.c (grub_realloc): Don't copy more data than we have.
Vladimir Serbinenko [Wed, 30 Oct 2013 10:58:00 +0000 (11:58 +0100)]
* grub-core/io/gzio.c (huft_build): Use zalloc for safety.
(initialize_tables): reset tl and td to NULL after freeing.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:53:39 +0000 (15:53 +0100)]
* grub-core/loader/multiboot_mbi2.c: Implement network tag.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:40:34 +0000 (15:40 +0100)]
* grub-core/loader/multiboot_mbi2.c: Add EFI memory map to the list
of supported tags.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:37:00 +0000 (15:37 +0100)]
* grub-core/loader/multiboot_mbi2.c: Implement EFI memory map.
Vladimir Serbinenko [Mon, 28 Oct 2013 14:23:46 +0000 (15:23 +0100)]
* grub-core/loader/multiboot.c: Add support for multiboot kernels
quirks.
Vladimir Serbinenko [Mon, 28 Oct 2013 13:30:29 +0000 (14:30 +0100)]
* grub-core/loader/i386/linux.c (allocate_pages): Allocate at least
a page in protected space.
Vladimir Serbinenko [Mon, 28 Oct 2013 13:27:19 +0000 (14:27 +0100)]
* grub-core/loader/multiboot.c (grub_cmd_module): Don't attempt to
allocate space for zero-sized modules.
Vladimir Serbinenko [Mon, 28 Oct 2013 13:25:22 +0000 (14:25 +0100)]
* grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images.
Francesco Lavra [Mon, 28 Oct 2013 12:52:32 +0000 (13:52 +0100)]
* grub-core/lib/fdt.c: Fix miscellaneous bugs.
Vladimir Serbinenko [Mon, 28 Oct 2013 12:37:40 +0000 (13:37 +0100)]
* grub-core/lib/progress.c (grub_file_progress_hook_real): Add missing
safeguards. Fixes a crash with i386/pc/console.c.
Vladimir Serbinenko [Mon, 28 Oct 2013 12:33:12 +0000 (13:33 +0100)]
* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
and grub_hostfs_init.
Vladimir Serbinenko [Mon, 28 Oct 2013 01:17:56 +0000 (02:17 +0100)]
* grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
windows method on other platforms without good stat as well.
Vladimir Serbinenko [Mon, 28 Oct 2013 00:45:06 +0000 (01:45 +0100)]
* grub-core/osdep/linux/getroot.c: Add new btrfs defines.
Vladimir Serbinenko [Mon, 28 Oct 2013 00:37:19 +0000 (01:37 +0100)]
Make / in btrfs refer to real root, not the default volume.
Modify mkrelpath to work even if device is mounted with subvolid option.
Andrey Borzenkov [Sun, 27 Oct 2013 19:45:43 +0000 (23:45 +0400)]
Merge branch 'fu/disk_common'
Vladimir Serbinenko [Sun, 27 Oct 2013 19:38:32 +0000 (20:38 +0100)]
* util/grub-mkfont.c (main): Show error message when FT_Set_Pixel_Sizes
fails.
BVK Chaitanya [Sun, 27 Oct 2013 19:34:24 +0000 (20:34 +0100)]
* docs/autoiso.cfg: New file.
Andrey Borzenkov [Sun, 27 Oct 2013 18:47:00 +0000 (22:47 +0400)]
Add grub-core/kern/disk_common.c to extra_dist
Vladimir Serbinenko [Sun, 27 Oct 2013 18:44:19 +0000 (19:44 +0100)]
* configure.ac: Remove leftover COND_BUILD_GRUB_MKFONT and
COND_GRUB_PE2ELF conditions.
Vladimir Serbinenko [Sun, 27 Oct 2013 18:15:57 +0000 (19:15 +0100)]
* grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Try to handle more than 0xFFFF packets.
Reported by: Bernhard Übelacker <bernhardu>.
He also spotted few overflows in first version of this patch.
Vladimir Serbinenko [Sat, 26 Oct 2013 10:48:49 +0000 (12:48 +0200)]
* grub-core/net/tftp.c: Retransmit ack when rereceiving old packet.
Try to handle more than 0xFFFF packets.
Vladimir Serbinenko [Sun, 27 Oct 2013 17:59:27 +0000 (18:59 +0100)]
* grub-core/loader/i386/bsd.c (grub_cmd_openbsd): Accept "sd", "cd",
"vnd", "rd" and "fd" disks.
Vladimir Serbinenko [Sun, 27 Oct 2013 14:44:55 +0000 (15:44 +0100)]
Move grub_disk_write out of kernel into disk.mod.
Vladimir Serbinenko [Sun, 27 Oct 2013 13:47:04 +0000 (14:47 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Unify int and wchar
handling.
Vladimir Serbinenko [Sun, 27 Oct 2013 13:13:39 +0000 (14:13 +0100)]
* grub-core/kern/misc.c (grub_abort): Make static
Vladimir Serbinenko [Sun, 27 Oct 2013 12:34:46 +0000 (13:34 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Don't attempt to
transform invalid unicode codepoints.
Vladimir Serbinenko [Sun, 27 Oct 2013 12:20:50 +0000 (13:20 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove needless explicit
\0 checking.
Vladimir Serbinenko [Sun, 27 Oct 2013 11:22:52 +0000 (12:22 +0100)]
Revert " * util/grub-mkstandalone.in: Remove needless copying since we already"
The copying in question was needed.
This reverts commit
8154884dd4ee8e1134ca5124ab786173dee279ad .
Vladimir Serbinenko [Sun, 27 Oct 2013 00:50:31 +0000 (02:50 +0200)]
* grub-core/lib/legacy_parse.c: Add support for "nd" disk.
Vladimir Serbinenko [Sat, 26 Oct 2013 22:02:01 +0000 (00:02 +0200)]
Consolidate cpuid code.
Vladimir Serbinenko [Sat, 26 Oct 2013 21:39:10 +0000 (23:39 +0200)]
Move cpuid code to cpuid.h and TSC code to tsc.c.
Grégoire Sutre [Sat, 26 Oct 2013 18:11:55 +0000 (20:11 +0200)]
* util/grub.d/00_header.in: Don't use LANG if it's not set.
Grégoire Sutre [Sat, 26 Oct 2013 18:06:24 +0000 (20:06 +0200)]
Missing Changelog entry
Grégoire Sutre [Sat, 26 Oct 2013 18:05:29 +0000 (20:05 +0200)]
* util/grub-mkconfig.in: Replace $0 with $self.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
BVK Chaitanya [Sat, 26 Oct 2013 16:39:03 +0000 (18:39 +0200)]
* docs/osdetect.cfg: New file.
BVK Chaitanya [Sat, 26 Oct 2013 13:01:28 +0000 (15:01 +0200)]
* tests/util/grub-shell.in: Add new --debug option.
BVK Chaitanya [Sat, 26 Oct 2013 12:52:54 +0000 (14:52 +0200)]
* tests/test_unset.in: New test.
BVK Chaitanya [Sat, 26 Oct 2013 12:35:35 +0000 (14:35 +0200)]
* tests/test_sha512sum.in: New test.
Vladimir Serbinenko [Sat, 26 Oct 2013 10:49:51 +0000 (12:49 +0200)]
* grub-core/fs/iso9660.c: Replace strncat with memcpy.
* include/grub/misc.h: Remove strncat.
* grub-core/lib/posix_wrap/string.h: Likewise.
Vladimir Serbinenko [Sat, 26 Oct 2013 00:48:55 +0000 (02:48 +0200)]
Missing Changelog entry
Vladimir Serbinenko [Sat, 26 Oct 2013 00:48:19 +0000 (02:48 +0200)]
* tests/date_unit_test.c: New test.
Vladimir Serbinenko [Sat, 26 Oct 2013 00:47:40 +0000 (02:47 +0200)]
* grub-core/normal/datetime.c (grub_unixtime2datetime): Fix mishandling
of first three years after start of validity of unixtime.
Vladimir Serbinenko [Fri, 25 Oct 2013 23:01:06 +0000 (01:01 +0200)]
* grub-core/normal/menu_entry.c (get_logical_num_lines): Use unsigned
division as the one making more sense.
(update_screen): Likewise.
(complete): Likewise.
Vladimir Serbinenko [Fri, 25 Oct 2013 22:07:59 +0000 (00:07 +0200)]
* grub-core/normal/menu_entry.c (complete): Make sure that width is >0.
Vladimir Serbinenko [Fri, 25 Oct 2013 21:58:24 +0000 (23:58 +0200)]
Make char and string width grub_size_t rather than grub_ssize_t.
Vladimir Serbinenko [Fri, 25 Oct 2013 20:58:19 +0000 (22:58 +0200)]
* grub-core/normal/cmdline.c (grub_history_get): Make argument into
unsigned.
(grub_history_replace): Likewise.
Vladimir Serbinenko [Fri, 25 Oct 2013 20:51:03 +0000 (22:51 +0200)]
* grub-core/disk/raid6_recover.c: Use unsigned arithmetics when
appropriate.