]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:44:53 +0000 (22:44 +0200)]
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
unused modules since currently referrence counter isn't reliable and
there isn't much memory to recover there anyway.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:42:28 +0000 (22:42 +0200)]
* grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
rather than resetting it to allow modules to reference themselves
in init.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:35:56 +0000 (22:35 +0200)]
* grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
counter on dependencies since grub_dl_unref already handles this.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:29:27 +0000 (22:29 +0200)]
* grub-core/font/font_cmd.c (loadfont_command): Set grub_errno
on error if not already done.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:26:52 +0000 (22:26 +0200)]
Fix few potential memory misusage.
* grub-core/font/font.c (load_font_index): Don't free char_index to
avoid double free.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 15:50:48 +0000 (17:50 +0200)]
* docs/grub.texi (Installation): Fix several outdated claims.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 15:47:59 +0000 (17:47 +0200)]
Handle module_license on windows.
* util/grub-pe2elf.c (MODLICENSE_SECTION): New definition. All following
sections shifted.
(insert_string): Make argument const char * instead of char *.
(write_section_data): Handle long section names.
Handle module_license.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 10:14:00 +0000 (12:14 +0200)]
* grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly
handle class-free menuentries.
(grub_normal_add_menu_entry): Add a check to be sure.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 10:09:16 +0000 (12:09 +0200)]
* grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between
PgUp and PgDown.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:50:18 +0000 (21:50 +0200)]
* configure.ac: Bump version to 1.99.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:41:18 +0000 (21:41 +0200)]
Give ATA device a bit more time on first try in order to allow disks
to spin up.
* grub-core/disk/ata.c (grub_atapi_identify): Use GRUB_ATA_TOUT_DEV_INIT
if dev->present is 1. Reset dev->present on failure.
(grub_ata_device_initialize): Set dev->present to 1.
* include/grub/ata.h (GRUB_ATA_TOUT_DEV_INIT): New value.
(grub_ata_device): New member 'present'.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:31:00 +0000 (21:31 +0200)]
* util/grub-mkimage.c (generate_image): Update hash.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 18:56:50 +0000 (20:56 +0200)]
Flush caches on DMA memory.
* grub-core/kern/mips/cache.S (grub_arch_sync_dma_caches): New function.
* grub-core/bus/pci.c (grub_memalign_dma32): Flush caches.
(grub_dma_free): Likewise.
* include/grub/cache.h (grub_arch_sync_dma_caches): New declaration.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 18:23:29 +0000 (20:23 +0200)]
* grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3
to avoid asm treating ld and sd as macros.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:03:20 +0000 (18:03 +0200)]
Arc type cleanup
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:02:58 +0000 (18:02 +0200)]
missing part of previous commits
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:02:36 +0000 (18:02 +0200)]
sgimips grub-install partial support (untested)
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:41:26 +0000 (16:41 +0200)]
avoid executing cache opcode on non-4 byte aligned boundaries
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:39:02 +0000 (16:39 +0200)]
add dvh to userspace tools
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:38:23 +0000 (16:38 +0200)]
some additional key sequences for arc
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:36:41 +0000 (16:36 +0200)]
sgimips linux loader
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:36:05 +0000 (16:36 +0200)]
sgi support
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:38:42 +0000 (15:38 +0200)]
Adjust mips/dl.c for bigendian
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:35:06 +0000 (15:35 +0200)]
* grub-core/boot/mips/startup_raw.S: Flush cache after loading
decompressor.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:20:16 +0000 (15:20 +0200)]
* grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
grub_decompress_core since later would fail if grub_decompress_core
is too far.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:17:02 +0000 (15:17 +0200)]
* grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
R_MIPS_JALR since it's used by newer compiler.
Manoel R. Abranches [Thu, 12 May 2011 18:40:54 +0000 (15:40 -0300)]
Prevent "incompatible license" error.
Manoel R. Abranches [Thu, 12 May 2011 16:20:43 +0000 (13:20 -0300)]
Correct some compile erros.
Manoel Rebelo Abranches [Tue, 10 May 2011 17:08:18 +0000 (14:08 -0300)]
Remove unused file
Manoel Rebelo Abranches [Tue, 10 May 2011 17:07:54 +0000 (14:07 -0300)]
Implement close in TFTP
Manoel Rebelo Abranches [Tue, 10 May 2011 17:07:20 +0000 (14:07 -0300)]
Prevente error in broken cards by limiting data size.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:55:20 +0000 (09:55 -0300)]
Only setup network in the card we booted from.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:54:32 +0000 (09:54 -0300)]
Remove cards with no associated driver.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:50:18 +0000 (09:50 -0300)]
Implement timeout when receiving packets.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:45:57 +0000 (09:45 -0300)]
Prevente a bootp packet to be sent on open.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:32:38 +0000 (09:32 -0300)]
Implement file close in network tranference.
Stop receiving packets from card on error.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:30:26 +0000 (09:30 -0300)]
Mark file as not easily seekable on net open.
Manoel Rebelo Abranches [Tue, 10 May 2011 12:28:45 +0000 (09:28 -0300)]
Correct expected argument numbers in del addr command.
Vladimir 'phcoder' Serbinenko [Tue, 10 May 2011 08:40:22 +0000 (10:40 +0200)]
* util/grub.d/10_linux.in: Correctly handle the Linux in root.
Vladimir 'phcoder' Serbinenko [Tue, 10 May 2011 07:14:41 +0000 (09:14 +0200)]
* grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set
file_path to 0 for surety.
(grub_chainloader_boot): Set exit_data to NULL.
Unset the loader once done.
(grub_cmd_chainloader): Fix confusing error message if file is empty.
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 17:33:03 +0000 (19:33 +0200)]
* grub-core/term/at_keyboard.c (fetch_key): Make a printf on
unknown key into a dprintf.
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:59:35 +0000 (18:59 +0200)]
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort
on first non-existant partition.
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:50:25 +0000 (18:50 +0200)]
Fix surname spelling in Changelog
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:48:50 +0000 (18:48 +0200)]
* grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
openning fails.
Reported by: Mark Korenberg.
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:46:51 +0000 (18:46 +0200)]
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible
overflow.
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 14:27:09 +0000 (16:27 +0200)]
* util/grub-mkimage.c (main): Explicitely flush and sync the output
before closing to ensure that it will be readable by grub-setup.
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 18:16:25 +0000 (20:16 +0200)]
Remove 2 useless directories
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 18:06:03 +0000 (20:06 +0200)]
remove ia64.moved
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 16:29:37 +0000 (18:29 +0200)]
track function symbols
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 16:28:25 +0000 (18:28 +0200)]
Remove now useless LD script
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:07:40 +0000 (17:07 +0200)]
Fix LTOFF relocation to functions (needed for trampolines)
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:06:56 +0000 (17:06 +0200)]
Add explicit byt 0 to workaround a problem with assembler
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:06:28 +0000 (17:06 +0200)]
Add missing time installation
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:05:47 +0000 (17:05 +0200)]
Set EFI ticks to 1000Hz simplifying much of the code and avoiding cotsly division
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 12:33:30 +0000 (14:33 +0200)]
Fix 2 incorrect vaddr_offsets
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 10:42:08 +0000 (12:42 +0200)]
add missing file
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 10:39:08 +0000 (12:39 +0200)]
more or less functional ia64 grub-mkimage
Manoel Rebelo Abranches [Fri, 6 May 2011 17:03:51 +0000 (14:03 -0300)]
Free memory when removing packet.
Manoel Rebelo Abranches [Thu, 5 May 2011 15:12:22 +0000 (12:12 -0300)]
Merge mainline.
Vladimir 'phcoder' Serbinenko [Thu, 5 May 2011 11:34:03 +0000 (13:34 +0200)]
* grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
(devpath_1): Use MAKE_PIWG_PATH.
(devpath_2): Likewise.
(devpath_3): Likewise.
(devpath_4): Likewise.
(devpath_5): Likewise.
(devpath_6): Likewise.
The appleldr.mod was checked that to be binary identical to previous
version.
Zach [Thu, 5 May 2011 10:18:00 +0000 (12:18 +0200)]
Support 2010 Macbooks.
* grub-core/loader/efi/appleloader.c (devpath_6): New variable.
(devs): Add devpath_6.
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:32:04 +0000 (01:32 +0200)]
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
/dev/random. /dev/urandom is good enough for our purposes (salting).
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:29:21 +0000 (01:29 +0200)]
* util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:27:54 +0000 (01:27 +0200)]
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
hexadecimal.
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:26:16 +0000 (01:26 +0200)]
* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
and not 0 on failure.
Colin Watson [Tue, 3 May 2011 17:03:05 +0000 (18:03 +0100)]
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe
disk; otherwise grub_fs_probe will not fall back to the next
filesystem.
(grub_pxefs_open): Likewise, for consistency.
Reported and tested by: Ezekiel Grave.
Colin Watson [Tue, 3 May 2011 16:57:39 +0000 (17:57 +0100)]
* tests/partmap_test.in: Don't hardcode path to parted.
Reported by: Peter Hjalmarsson. Fixes Savannah bug #33150.
Colin Watson [Sun, 1 May 2011 19:04:02 +0000 (20:04 +0100)]
* docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
of `ls' to find out which devices are available.
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 15:04:27 +0000 (17:04 +0200)]
merge mainline into luks
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 14:58:25 +0000 (16:58 +0200)]
* grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
than source address for efi mmap buffer.
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:36:08 +0000 (15:36 +0200)]
* grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
wrong action on non-detecting the magic.
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:29:41 +0000 (15:29 +0200)]
* grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
already supplied by another part of the module (fixes compilation on
FreeBSD).
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:23:37 +0000 (15:23 +0200)]
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
match the one used by mdadm.
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 12:52:07 +0000 (14:52 +0200)]
Integrate geli into autoconfiguration system
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 12:46:47 +0000 (14:46 +0200)]
fix linking trouble on FreeBSD
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 19:41:49 +0000 (21:41 +0200)]
update fixme
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 19:40:13 +0000 (21:40 +0200)]
Skip one-time volumes and add option for skipping non-boot volumes
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 19:11:14 +0000 (21:11 +0200)]
support UUID for geli
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 18:37:56 +0000 (20:37 +0200)]
Use hardcoded reference to sha512 and sha256 in geli rather than runtime lookup since they are always used
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 15:50:22 +0000 (17:50 +0200)]
Fix a potential buffer overflow
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 15:41:50 +0000 (17:41 +0200)]
geli xts support
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 15:18:18 +0000 (17:18 +0200)]
Add few FIXME comments
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 15:15:55 +0000 (17:15 +0200)]
geli v5 (including rekeying support)
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 12:59:38 +0000 (14:59 +0200)]
support non-512B sectors for geli
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 12:53:13 +0000 (14:53 +0200)]
merge 4096 into luks
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 12:52:00 +0000 (14:52 +0200)]
Fix a cache retrieving bug
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 01:12:06 +0000 (03:12 +0200)]
merge 4096 into luks
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:39:21 +0000 (02:39 +0200)]
Don't set was_readable for new array
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:38:42 +0000 (02:38 +0200)]
add few necessarry const qualifiers for pointers
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:37:23 +0000 (02:37 +0200)]
Add IDs for more ciphers
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:36:50 +0000 (02:36 +0200)]
accept version 2 geli
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:36:04 +0000 (02:36 +0200)]
support niter == 0
Vladimir 'phcoder' Serbinenko [Sun, 24 Apr 2011 00:34:32 +0000 (02:34 +0200)]
zero-fill hash context for safety
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 22:00:29 +0000 (00:00 +0200)]
geli support
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 16:00:42 +0000 (18:00 +0200)]
factor cryptodisk part out
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:45:00 +0000 (16:45 +0200)]
small readability improvement
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:43:55 +0000 (16:43 +0200)]
small readability improvement
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 14:41:43 +0000 (16:41 +0200)]
optimize LRW
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 10:40:43 +0000 (12:40 +0200)]
factor luks_set_key out
Vladimir 'phcoder' Serbinenko [Sat, 23 Apr 2011 02:51:53 +0000 (04:51 +0200)]
LRW support