]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir Serbinenko [Sat, 21 Dec 2013 13:28:14 +0000 (14:28 +0100)]
* util/misc.c (grub_util_get_image_size): Check for overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:16:49 +0000 (14:16 +0100)]
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
for size.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:15:04 +0000 (14:15 +0100)]
* grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t
for pointer difference.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:07:42 +0000 (14:07 +0100)]
* util/import_gcry.py: Skip sample keys.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:04:50 +0000 (14:04 +0100)]
* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:53:42 +0000 (13:53 +0100)]
* configure.ac: Remove duplicate warning arguments.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:50:13 +0000 (13:50 +0100)]
Add missing static qualifiers.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:47:27 +0000 (13:47 +0100)]
Add missing includes.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:40:18 +0000 (13:40 +0100)]
Inline printf templates when possible to enable format checking.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:36:42 +0000 (13:36 +0100)]
* include/grub/crypto.h: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:35:28 +0000 (13:35 +0100)]
* grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
was intended.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:34:03 +0000 (13:34 +0100)]
* grub-core/lib/crypto.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:32:39 +0000 (13:32 +0100)]
* grub-core/lib/disk.c: Fix potential overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:28:52 +0000 (13:28 +0100)]
* grub-core/lib/arg.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:26:27 +0000 (13:26 +0100)]
* grub-core/kern/dl.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:23:37 +0000 (13:23 +0100)]
* grub-core/kern/disk.c: Fix potential overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:21:42 +0000 (13:21 +0100)]
* conf/Makefile.common: Don't include non-existing directory
grub-core/lib/libgcrypt-grub/include.
Vladimir Serbinenko [Sat, 21 Dec 2013 02:21:45 +0000 (03:21 +0100)]
Clarify several translatable messages.
David Prévot [Sat, 21 Dec 2013 02:03:31 +0000 (03:03 +0100)]
Correct some translatable strings.
Colin Watson [Sat, 21 Dec 2013 01:37:14 +0000 (02:37 +0100)]
* util/grub-mkrescue.c: Rephrase mkrescue description.
Vladimir Serbinenko [Sat, 21 Dec 2013 00:41:16 +0000 (01:41 +0100)]
Clarify several translatable messages.
Vladimir Serbinenko [Fri, 20 Dec 2013 16:13:24 +0000 (17:13 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Colin Watson [Fri, 20 Dec 2013 16:09:43 +0000 (16:09 +0000)]
Be more verbose about some configure failures.
Vladimir Serbinenko [Fri, 20 Dec 2013 15:57:48 +0000 (16:57 +0100)]
* util/grub-install.c: Inform user about install platform.
Colin Watson [Fri, 20 Dec 2013 14:02:27 +0000 (14:02 +0000)]
Fix various build problems on GNU/Hurd.
* grub-core/osdep/unix/getroot.c (strip_extra_slashes): Move inside
!defined (__GNU__).
(xgetcwd): Likewise.
* include/grub/emu/hostdisk.h (grub_util_hurd_get_disk_info)
[__GNU__]: Add prototype.
* util/getroot.c (grub_util_biosdisk_get_grub_dev) [__GNU__]: Format
long int using %ld rather than %d.
Vladimir Serbinenko [Thu, 19 Dec 2013 00:54:43 +0000 (01:54 +0100)]
* configure.ac: Set version to 2.02~beta1.
Allen Pais [Thu, 19 Dec 2013 00:53:56 +0000 (01:53 +0100)]
* grub-core/boot/sparc64/ieee1275/boot.S: Fix order of fields.
Also-By: Bob Picco <bob.picco@oracle.com>
Vladimir Serbinenko [Wed, 18 Dec 2013 22:39:49 +0000 (23:39 +0100)]
Make grub_zlib_decompress handle incomplete chunks.
Fixes squash4.
Vladimir Serbinenko [Wed, 18 Dec 2013 20:19:11 +0000 (21:19 +0100)]
* grub-core/Makefile.am: Don't attempt to export grub_bios_interrupt on i386-multiboot.
Aleš Nesrsta [Wed, 18 Dec 2013 18:00:45 +0000 (19:00 +0100)]
* grub-core/disk/usbms.c: Retry on unknown errors.
Reuse the same tag on retries.
Aleš Nesrsta [Wed, 18 Dec 2013 17:59:49 +0000 (18:59 +0100)]
* grub-core/bus/usb/ehci.c: Fix handling of newborn transfers.
Avoid confusing them with already completed transfers.
Vladimir Serbinenko [Wed, 18 Dec 2013 17:43:09 +0000 (18:43 +0100)]
Remove xen VFB.
Due to XEN bug it prevents Linux boot. Remove it at least, until
workaround is found.
Vladimir Serbinenko [Wed, 18 Dec 2013 16:12:13 +0000 (17:12 +0100)]
* po/exclude.pot: Add 2 missing excludes.
Vladimir Serbinenko [Wed, 18 Dec 2013 16:11:11 +0000 (17:11 +0100)]
Add missing license section in macbless.mod and macho.mod.
Vladimir Serbinenko [Wed, 18 Dec 2013 12:33:39 +0000 (13:33 +0100)]
Allow compilation without thumb-interwork as long as no thumb is
involved or only thumb2 is used.
Vladimir Serbinenko [Wed, 18 Dec 2013 12:13:23 +0000 (13:13 +0100)]
Use -Wl,--no-relax rather than -mno-relax for uniformity.
Vladimir Serbinenko [Wed, 18 Dec 2013 12:11:29 +0000 (13:11 +0100)]
* INSTALL: Update comment as to why sparc64 clang isn't usable.
Vladimir Serbinenko [Wed, 18 Dec 2013 12:09:39 +0000 (13:09 +0100)]
Add __attribute__ ((sysv_abi)) only if it's really needed.
Some compilers don't support it.
Vladimir Serbinenko [Wed, 18 Dec 2013 11:29:30 +0000 (12:29 +0100)]
* grub-core/lib/syslinux_parse.c: Declare timeout unsigned.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:48:09 +0000 (07:48 +0100)]
Remove -Wold-style-definition.
Not very useful and interaction of it with regexp depends on GCC
version.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:45:15 +0000 (07:45 +0100)]
Make grub_util_get_windows_path_real static.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:40:43 +0000 (07:40 +0100)]
* grub-core/commands/fileXX.c: Silence cast-align.
* grub-core/loader/i386/xen_fileXX.c: Likewise.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:39:15 +0000 (07:39 +0100)]
* include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Use explicit cast
rather than LL suffix.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:35:51 +0000 (07:35 +0100)]
* include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): Remove leftover.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:34:28 +0000 (07:34 +0100)]
* grub-core/loader/arm/linux.c: Use common initrd functions.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:26:13 +0000 (07:26 +0100)]
Decrease number of strings to translate.
Vladimir Serbinenko [Wed, 18 Dec 2013 06:06:23 +0000 (07:06 +0100)]
* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.
Vladimir Serbinenko [Wed, 18 Dec 2013 05:50:24 +0000 (06:50 +0100)]
Mark strings for translation and add remaining ones to exclude list.
Vladimir Serbinenko [Wed, 18 Dec 2013 05:20:20 +0000 (06:20 +0100)]
* util/grub-file.c (main): Fix sizeof usage.
Vladimir Serbinenko [Wed, 18 Dec 2013 05:19:16 +0000 (06:19 +0100)]
Silence spurious warning.
Vladimir Serbinenko [Wed, 18 Dec 2013 05:03:23 +0000 (06:03 +0100)]
Remove check_nt_hiberfil as it's been superseeded by file command.
Vladimir Serbinenko [Wed, 18 Dec 2013 04:34:17 +0000 (05:34 +0100)]
* docs/osdetect.cfg: Add isolinux config to detected OSes.
Vladimir Serbinenko [Wed, 18 Dec 2013 04:28:05 +0000 (05:28 +0100)]
Implement syslinux parser.
Vladimir Serbinenko [Wed, 18 Dec 2013 04:21:06 +0000 (05:21 +0100)]
* grub-core/commands/legacycfg.c: Use 32-bit Linux protocol on non-BIOS.
Vladimir Serbinenko [Tue, 17 Dec 2013 22:27:22 +0000 (23:27 +0100)]
Support cpuid --pae.
Vladimir Serbinenko [Tue, 17 Dec 2013 21:54:30 +0000 (22:54 +0100)]
Use AT keyboard on Yeeloong 3A.
Vladimir Serbinenko [Tue, 17 Dec 2013 21:53:18 +0000 (22:53 +0100)]
Add Yeeloong 3A reboot and halt.
Vladimir Serbinenko [Tue, 17 Dec 2013 21:51:13 +0000 (22:51 +0100)]
Add Radeon Yeeloong 3A support.
Vladimir Serbinenko [Tue, 17 Dec 2013 21:49:27 +0000 (22:49 +0100)]
Add bonito 3A support.
Vladimir Serbinenko [Tue, 17 Dec 2013 21:44:46 +0000 (22:44 +0100)]
* grub-core/loader/machoXX.c: Fix compilation on non-i386.
Vladimir Serbinenko [Tue, 17 Dec 2013 19:47:31 +0000 (20:47 +0100)]
* grub-core/loader/i386/xen_fileXX.c: Silence cast-align.
Vladimir Serbinenko [Tue, 17 Dec 2013 19:46:33 +0000 (20:46 +0100)]
* grub-core/loader/macho.c: Fix compilation on non-i386.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:42:01 +0000 (16:42 +0100)]
Add missing format_arg attribute to check that printf with translated
messages has proper arguments.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:41:09 +0000 (16:41 +0100)]
Use grub_xasprintf to format translated error messages containing
64-bit quantity.
Jon McCune [Fri, 13 Dec 2013 16:47:12 +0000 (08:47 -0800)]
Fix double-free introduced by commit
33d02a42d64cf06cada1c389e5abba4b9d196cc5
To reproduce the problem, make sure you have a GPG public key available, build and install GRUB:
grub-install --debug --debug-image="all" --pubkey=/boot/pubkey.gpg --modules="serial terminfo gzio search search_label search_fs_uuid search_fs_file linux vbe video_fb video mmap relocator verify gcry_rsa gcry_dsa gcry_sha256 hashsum gcry_sha1 mpi echo loadenv boottime" /dev/sda
Sign all the files in /boot/grub/* and reboot.
'make check' results identical before and after this change.
TESTED: In a QEMU VM using an i386 target.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:17:46 +0000 (16:17 +0100)]
Unify message for unsupported relocation.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:05:39 +0000 (16:05 +0100)]
Mark miscompile error for translation.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:04:47 +0000 (16:04 +0100)]
Use %I64 and not %ll when using OS printf if compiling for windows.
Vladimir Serbinenko [Tue, 17 Dec 2013 15:02:36 +0000 (16:02 +0100)]
Update Mac code to match new register_efi prototype.
Vladimir Serbinenko [Tue, 17 Dec 2013 14:21:02 +0000 (15:21 +0100)]
Implement better integration with Mac firmware.
Vladimir Serbinenko [Tue, 17 Dec 2013 14:14:50 +0000 (15:14 +0100)]
* grub-core/loader/multiboot_mbi2.c: Implement special value for load_addr.
Vladimir Serbinenko [Tue, 17 Dec 2013 13:52:36 +0000 (14:52 +0100)]
Include serial module in default_payload.elf.
Vladimir Serbinenko [Tue, 17 Dec 2013 13:50:44 +0000 (14:50 +0100)]
Add explicit thumb interwork bx in asm files.
Shouldn't matter for armv >= 5 but let's be safe.
Vladimir Serbinenko [Tue, 17 Dec 2013 13:45:46 +0000 (14:45 +0100)]
Implement Truecrypt ISO loader.
Vladimir Serbinenko [Tue, 17 Dec 2013 13:42:02 +0000 (14:42 +0100)]
* grub-core/lib/arg.c: Ensure at least a single space between commands.
Vladimir Serbinenko [Tue, 17 Dec 2013 13:39:48 +0000 (14:39 +0100)]
Implement grub_file tool and use it to implement generating of config
in separate root.
Vladimir Serbinenko [Tue, 17 Dec 2013 12:55:47 +0000 (13:55 +0100)]
Change to v1 xen grants.
Vladimir Serbinenko [Tue, 17 Dec 2013 12:40:52 +0000 (13:40 +0100)]
* grub-core/lib/i386/xen/relocator.S: Fix hypercall ABI violation.
GRUB relied on %ebx being preserved across hypercall which isn't true.
Vladimir Serbinenko [Tue, 17 Dec 2013 12:19:58 +0000 (13:19 +0100)]
* grub-core/lib/x86_64/xen/relocator.S: Fix hypercall ABI violation.
GRUB relied on %rdi being preserved across hypercall which isn't true.
Vladimir Serbinenko [Tue, 17 Dec 2013 12:07:26 +0000 (13:07 +0100)]
Implement XEN VFB support.
Vladimir Serbinenko [Tue, 17 Dec 2013 11:54:11 +0000 (12:54 +0100)]
Remove grub_bios_interrupt on coreboot.
It's not used currently and cannot be used safely currently.
Vladimir Serbinenko [Tue, 17 Dec 2013 00:18:09 +0000 (01:18 +0100)]
Update exclude.pot and mark few strings for translation.
Vladimir Serbinenko [Mon, 16 Dec 2013 23:33:55 +0000 (00:33 +0100)]
* util/grub-mkrescue.c: Fix incorrect file usage in fallback code.
Reported by: Jon McCune
Vladimir Serbinenko [Mon, 16 Dec 2013 19:33:19 +0000 (20:33 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 16 Dec 2013 19:32:43 +0000 (20:32 +0100)]
* grub-core/tests/sleep_test.c: Silence spurious warning.
Andrey Borzenkov [Mon, 16 Dec 2013 19:17:40 +0000 (23:17 +0400)]
add verbose information to linux platform check
As suggested by Vladimir Serbienko, add additional verbose output to inform
why we selected this specific platform.
Andrey Borzenkov [Mon, 16 Dec 2013 18:56:48 +0000 (22:56 +0400)]
ChangeLog for previous two commits.
Andrey Borzenkov [Mon, 16 Dec 2013 18:41:16 +0000 (22:41 +0400)]
use grub_util_exec_redirect_all to silence "moprobe efivars"
modprobe -q still prints error on non-EFI. Redirect stderr instead.
Reported by Javier Vasquez.
Andrey Borzenkov [Mon, 16 Dec 2013 18:41:15 +0000 (22:41 +0400)]
consolidate grub_util_exec code
We need to hide "modprobe efivars" error output to avoid confusion. So
consolidate grub_util_exec_* into single function that can optionally redirect
all three standard descriptors and make all other functions compatibility
wrappers.
Also remove include/grub/osdep/exec_unix.h which does not appear to be used
anywhere.
Vladimir Serbinenko [Mon, 16 Dec 2013 17:10:50 +0000 (18:10 +0100)]
Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid
linker trying to "fixup" the code.
Vladimir Serbinenko [Mon, 16 Dec 2013 16:44:10 +0000 (17:44 +0100)]
* grub-core/kern/x86_64/xen/startup.S: Align stack.
Vladimir Serbinenko [Mon, 16 Dec 2013 14:30:50 +0000 (15:30 +0100)]
Add support for converting PE+ to Elf64.
Vladimir Serbinenko [Mon, 16 Dec 2013 14:28:07 +0000 (15:28 +0100)]
* grub-core/commands/minicmd.c (grub_mini_cmd_dump): Handle LLP case.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:49:11 +0000 (14:49 +0100)]
Remove practice of assigning random const pointers to device id.
This is not required as cache code already checks driver id as well.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:41:12 +0000 (14:41 +0100)]
* include/grub/x86_64/types.h: Define sizeof (long) as 4 when compiling
with mingw.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:39:06 +0000 (14:39 +0100)]
* include/grub/efi/api.h: Don't use call wrappers when compiled with
mingw or cygwin as API already matches.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:36:48 +0000 (14:36 +0100)]
* grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:34:23 +0000 (14:34 +0100)]
* include/grub/efi/api.h: Define (u)intn_t based on pointer size and
not on long.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:24:19 +0000 (14:24 +0100)]
Handle X86_64_PC64 relocation.
Those are generated by some cygwin compilers.
Vladimir Serbinenko [Mon, 16 Dec 2013 13:18:15 +0000 (14:18 +0100)]
Determine the need for mingw-related stubs at compile time rather than
using not very significant $target_os.