ChangeLog-2015 1.85 MB
Newer Older
1
2
3
4
2015-01-23  Vladimir Serbinenko  <phcoder@gmail.com>

	* tests/file_filter/file: Really add missing file.

5
6
7
8
9
2015-01-23  Andrei Borzenkov  <arvidjaar@gmail.com>

	* grub-core/disk/xen/xendisk.c: Accept hdX as disk names on Xen to
	allow legacy menu.lst processing.

10
11
12
13
2015-01-22  Felix Janda <felix.janda@posteo.de>

	Remove direct _llseek code and require long filesystem libc.

14
15
16
17
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	Remove potential division by 0 in gfxmenu.

18
19
20
21
22
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/normal/menu_text.c (grub_menu_init_page): Avoid
	returning 0 geometry to avoid divisions by 0.

23
24
25
26
27
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/osdep/unix/cputime.c (grub_util_get_cpu_time_ms): Cache
	sc_clk_tck and check it for sanity.

28
29
30
31
32
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/efi/mm.c (grub_efi_get_memory_map): Never return a
	descriptor_size==0 to avoid potential divisions by zero.

33
34
35
36
37
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/osdep/haiku/getroot.c (grub_util_find_partition_start_os):
	Avoid division by zero.

38
39
40
41
42
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/generic/rtc_get_time_ms.c (grub_rtc_get_time_ms): Avoid
	division by zero.

43
44
45
46
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/loader/i386/xnu.c (guessfsb): Avoid division by 0.

47
48
49
50
51
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/i386/tsc.c (calibrate_tsc): Ensure that
	no division by 0 occurs.

52
53
54
55
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* include/grub/misc.h (grub_div_roundup): Remove as it's unused.

56
57
58
59
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/term/gfxterm.c: Avoid division by zero.

60
61
62
63
64
65
66
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	Avoid division by zero in serial.

	* grub-core/term/serial.c (grub_cmd_serial): Ensure speed is not 0.
	* grub-core/term/ns8250.c (serial_get_divisor): Exit if speed is 0.

67
68
69
70
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/video/readers/jpeg.c: Avoid sivision by zero.

71
72
73
74
75
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/diskfilter.c: Validate volumes to avoid division
	by zero.

76
77
78
79
80
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* include/grub/term.h: Avoid returining 0-sized terminal
	as it may lead to division by zero.

81
82
83
84
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/zfs.c: Avoid divisions by zero.

85
86
87
88
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/btrfs.c: Avoid divisions by zero.

89
90
91
92
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/lib/pbkdf2.c (grub_crypto_pbkdf2): Check that hash len is not 0.

93
94
95
96
97
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/osdep/linux/blocklist.c (grub_install_get_blocklist): Check
	blocksize validity.

98
99
100
101
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/i386/pc/biosdisk.c: Check disk size sanity.

102
103
104
105
106
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ieee1275/nand.c (grub_nand_open): Check block size
	validity.

107
108
109
110
111
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Do not
	divide by zero.

112
113
114
115
116
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/hfs.c (grub_hfs_mount): Additional filesystem
	sanity checks.

117
118
119
120
121
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/minix.c: Additional filesystem
	sanity checks.

122
123
124
125
126
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/ext2.c (grub_ext2_mount): Additional
	checks for superblock validity.

127
128
129
130
131
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/ufs.c (grub_ufs_mount): Check
	that sblock.ino_per_group is not 0.

132
133
134
135
136
137
138
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	Reject NILFS2 superblocks with over 1GiB blocks.

	* grub-core/fs/nilfs2.c (grub_nilfs2_valid_sb): Check that
	block size is <= 1GiB.

139
140
141
142
143
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ata.c (grub_ata_setaddress): Check that geometry
	is sane when using CHS addressing.

144
145
146
147
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/AFSplitter.c (AF_merge): Check that mdlen is not 0.

148
149
150
151
152
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/commands/i386/pc/play.c (grub_cmd_play): Avoid
	division by zero.

153
154
155
156
157
158
159
160
161
162
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/bus/usb/usbtrans.c (grub_usb_bulk_maxpacket): Avoid
	potentially returning 0.

2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/minix.c (grub_minix_read_file): Avoid reading past
	the end of file.

163
164
165
166
167
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/fshelp.c (grub_fshelp_read_file): Don't attempt to read
	past the end of file.

168
169
170
171
172
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/script/lexer.c (grub_script_lexer_yywrap): Update len
	synchronously with line.

173
174
175
176
2015-01-20  Vladimir Serbinenko  <phcoder@gmail.com>

	Replace explicit sizeof divisions by ARRAY_SIZE.

Kris Moore's avatar
Kris Moore committed
177
178
179
180
2015-01-19  Kris Moore <kris@pcbsd.org>

	* grub-core/disk/geli.c: Support GELI v6 and v7.

181
182
183
184
185
2014-12-09  Andrei Borzenkov  <arvidjaar@gmail.com>

	* grub-core/term/serial.c (grub_cmd_serial): Fix --rtscts
	option processing.

186
187
188
189
190
191
2014-12-07  David Kozub  <zub.272@gmail.com>

	* grub-core/kern/arm/misc.S: fix unaligned 64bit local variable
	in __aeabi_uidivmod
	Fixes Savannah bug #43632.

192
193
194
195
196
2014-12-07  Peter Nelson <peterdn>

	* grub-core/fs/ext2.c (grub_ext2_read_block): Support large sparse
	chunks.

197
198
199
200
201
202
203
204
205
206
207
2014-12-07  Andrei Borzenkov  <arvidjaar@gmail.com>

	* util/grub-mkconfig_lib.in (version_test_gt): Remove redundant
	non-portable '-n' echo option.
	* util/grub.d/10_kfreebsd.in: Change how list is built to avoid
	non-portable 'echo -n.
	* util/grub.d/10_linux.in: Likewise (closes 43668).
	* util/grub.d/20_linux_xen.in: Likewise.
	* util/grub.d/30_os-prober.in: Print spaces directly to avoid
	non-portable 'echo -n'.

208
209
210
211
212
2014-12-07  Curtis Larsen <larsen@dixie.edu>

	* grub-core/net/tcp.c (grub_net_recv_tcp_packet): Fix double
	free when multiple empty segments were received (closes 42765).

213
214
215
2014-12-05  Andrei Borzenkov  <arvidjaar@gmail.com>

	* tests/util/grub-shell.in: Support --files also for netboot.
Andrei Borzenkov's avatar
Andrei Borzenkov committed
216
217
218
219
220
221
222
223
224
225
226
227
	* tests/file_filter_test.in: New file with file filters tests.
	* Makefile.util.def: Add file_filter_test.
	* conf/Makefile.extra-dist: ... and here.
	* tests/file_filter/file.gz: Test file for file_filter_test.
	* tests/file_filter/file.gz.sig: Likewise.
	* tests/file_filter/file.lzop: Likewise.
	* tests/file_filter/file.lzop.sig: Likewise.
	* tests/file_filter/file.xz: Likewise.
	* tests/file_filter/file.xz.sig: Likewise.
	* tests/file_filter/keys: Likewise.
	* tests/file_filter/keys.pub: Likewise.
	* tests/file_filter/test.cfg: Likewise.
228
229
	* grub-core/commands/verify.c: Fix memory corruption doing
	signature check for network files (closes 43601).
230

231
232
2014-12-01  Andrei Borzenkov  <arvidjaar@gmail.com>

233
234
	* grub-core/loader/i386/xen_fileXX.c (grub_xen_get_infoXX): Fix
	memory leak (CID 73645, 73782).
235
236
237
	* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Fix memory leak
	(CID 73635).

238
239
240
241
242
2014-11-30  Andrei Borzenkov  <arvidjaar@gmail.com>

	* grub-core/lib/syslinux_parse.c (free_menu): Do not free
	inline array (CID 73610).

243
244
2014-11-28  Andrei Borzenkov  <arvidjaar@gmail.com>

245
	* grub-core/io/lzopio.c (test_header): Fix double free (CID 73665)
Andrei Borzenkov's avatar
Andrei Borzenkov committed
246
247
	* grub-core/disk/geli.c (configure_ciphers): Fix memory leaks
	(Coverity CID 73813, 73710)
248
249
250
251
	* grub-core/disk/luks.c (configure_ciphers): Fix memory leaks
	and use after free (Coverity CID 73813, 73710, 73730)
	* grub-core/disk/luks.c (luks_recover_key): Fix memory leak (Coverity
	CID 73854)
252
253
	* util/grub-install-common.c (grub_install_get_target): Check return
	value of grub_util_fd_read (Coverity CID 73819).
254
255
256
	* util/grub-mkstandalone.c (add_tar_file): Fix out of bound access
	to hd.magic (Coverity CID 73587, 73888, bug 43690).

257
258
259
260
261
2014-11-20  Andrei Borzenkov  <arvidjaar@gmail.com>

	* tests/util/grub-fs-tester.in: Consistently print output
	of grub ls if test fails.

262
2014-11-07  Leif Lindholm <leif.lindholm@linaro.org>
263
264
265
266

	* grub-core/kern/efi/init.c: check value of *path before
	dereferencing.

267
268
269
270
271
2014-11-03  Michael Chang  <mchang@suse.com>

	* grub-core/net/icmp6.c (grub_net_recv_icmp6_packet): Fix size
	of neighbor solicitation packet in grub_netbuff_pull.

272
273
274
275
276
277
278
279
280
281
282
283
2014-10-14  Andrei Borzenkov  <arvidjaar@gmail.com>

	* grub-core/loader/arm/linux.c: Use full initializer for initrd_ctx to
	avoid fatal warnings with older gcc (probably before 4.7).
	* grub-core/loader/arm64/linux.c: Likewise.
	* grub-core/loader/i386/linux.c: Likewise.
	* grub-core/loader/i386/pc/linux.c: Likewise.
	* grub-core/loader/ia64/efi/linux.c: Likewise.
	* grub-core/loader/mips/linux.c: Likewise.
	* grub-core/loader/powerpc/ieee1275/linux.c: Likewise.
	* grub-core/loader/sparc64/ieee1275/linux.c: Likewise.

Colin Watson's avatar
Colin Watson committed
284
285
286
287
288
289
290
291
2014-09-25  Colin Watson  <cjwatson@ubuntu.com>

	Fix in-tree --platform=none

	* configure.ac: Only remove include/grub/cpu and
	include/grub/machine in the --platform=none case, not all of
	include/grub.

292
293
294
295
296
297
298
299
300
301
302
303
304
305
2014-09-23  Colin Watson  <cjwatson@ubuntu.com>

	Add a new "none" platform that only builds utilities

	* configure.ac: Add "none" platform.  Default to it for unsupported
	CPUs rather than stopping with a fatal error.  Don't downgrade
	x86_64-none to i386.  Define COND_real_platform Automake conditional
	if the platform is anything other than "none".  Don't do any include
	directory linking for "none".
	* Makefile.am: Skip building grub-core and all bootcheck targets if
	!COND_real_platform.
	* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
	is defined.

306
307
308
309
2014-09-22  Andrei Borzenkov <arvidjaar@gmail.com>

	Use grub_cpu_to_XXX_compile_time for constants.

310
311
312
313
314
315
316
317
318
319
320
321
2014-09-21  Valentin Dornauer  <valentin@unimplemented.org>

	The AML parser implements only a small subset of possible AML
	opcodes. On the Fujitsu Lifebook E744 this and another bug in
	the parser (incorrect handling of TermArg data types) would lead
	to the laptop not turning off (_S5 not found).

	* grub-core/commands/acpihalt.c: Support OpAlias in the AML parser;
	in skip_ext_op(), handle some Type2Opcodes more correctly (TermArgs
	aren't always simply strings!); Add function to skip TermArgs
	* include/grub/acpi.h: Add new opcodes

322
323
324
325
326
2014-09-21  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/normal/main.c: Don't drop to rescue console in
	case of password-protected prompt and no menu entries.

327
328
329
330
2014-09-21  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/commands/keylayouts.c: Ignore unknown keys.

331
332
333
334
335
2014-09-21  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/gmodule.pl.in: Accept newer binutils which output
	empty column rather than 0x0.

336
337
338
339
340
2014-09-21  Michael Chang  <mchang@suse.com>

	* grub-core/osdep/unix/config.c: Remove extraneous comma.

2014-09-21  Peter Jones  <pjones@redhat.com>
341
342
343
344
345
346
347
348
349
350
351

	* grub-core/loader/arm/linux.c: Initialized initrd_ctx so
	we don't free a random pointer from the stack.
	* grub-core/loader/arm64/linux.c: Likewise.
	* grub-core/loader/i386/linux.c: Likewise.
	* grub-core/loader/i386/pc/linux.c: Likewise.
	* grub-core/loader/ia64/efi/linux.c: Likewise.
	* grub-core/loader/mips/linux.c: Likewise.
	* grub-core/loader/powerpc/ieee1275/linux.c: Likewise.
	* grub-core/loader/sparc64/ieee1275/linux.c: Likewise.

Colin Watson's avatar
Colin Watson committed
352
353
2014-09-15  Khem Raj  <raj.khem@gmail.com>

Khem Raj's avatar
Khem Raj committed
354
355
356
	* grub-core/kern/emu/hostfs.c: use _DEFAULT_SOURCE in addition to
	_BSD_SOURCE to avoid warnings under glibc 2.20+.

357
358
359
360
361
362
2014-09-08  Michael Chang  <mchang@suse.com>

	* grub-core/fs/btrfs.c (grub_btrfs_extent_read): Fix extent size
	check; comparing &data->extent against addresses in the region it
	points to is unpredictable.

363
364
365
366
367
368
369
370
371
372
373
374
375
2014-09-07  Colin Watson  <cjwatson@ubuntu.com>

	Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

	* configure.ac: Remove -m64 from checks for -mcmodel=large and
	-mno-red-zone.  These are always either unnecessary (x86_64-emu) or
	already in TARGET_CFLAGS at this point, and they produce incorrect
	results when building for x32.
	* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Cast
	pointers to Elf64_Xword via grub_addr_t, in order to work on x32.
	* include/grub/x86_64/types.h (GRUB_TARGET_SIZEOF_VOID_P,
	GRUB_TARGET_SIZEOF_LONG): Define to 4 on x32.

376
377
378
379
2014-09-07  Colin Watson  <cjwatson@ubuntu.com>

	* configure.ac: Remove several unnecessary semicolons.

380
381
382
383
384
2014-08-25  Colin Watson  <cjwatson@ubuntu.com>

	* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
	Initialise pend to pacify GCC.

385
386
387
388
389
2014-08-14  Andrey Borzenkov <arvidjaar@gmail.com>

	* util/grub-mkconfig.in: Fix typo (gettext_print instead of
	gettext_printf).

390
391
392
393
394
2014-08-13  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/term/at_keyboard.c: Retry probing keyboard if
	scancode setup failed.

395
396
397
398
2014-08-10  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/disk_common.c: Clump disk size to 1EiB.

399
400
401
402
403
2014-08-10  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Add
	safety to avoid triggerring VirtualBox bug.

404
405
406
407
2014-08-10  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/fs/cbfs.c: Don't probe disks of unknow size.

Vladimir Serbinenko's avatar
Vladimir Serbinenko committed
408
409
	Fixes hang on virtualbox.

410
411
412
413
414
415
416
417
418
419
2014-07-08  Colin Watson  <cjwatson@ubuntu.com>

	* util/grub.d/10_hurd.in: Make kernel list progression not fail on
	kernels whose paths contain regex metacharacters.
	* util/grub.d/10_kfreebsd.in: Likewise.
	* util/grub.d/10_linux.in: Likewise.
	* util/grub.d/20_linux_xen.in: Likewise.

	Reported by: Heimo Stranner.

420
421
422
423
424
2014-06-26  Colin Watson  <cjwatson@ubuntu.com>

	* docs/grub-dev.texi (Finding your way around): The build system no
	longer uses AutoGen directly.

425
426
427
428
2014-06-21  Роман Пехов <roman_pekhov>

	* grub-core/commands/loadenv.c (check_blocklists): Fix overlap check.

429
430
431
432
2014-06-21  Glenn Washburn <development@efficientek.com>

	* util/grub-install.c: Fix handling of --disk-module.

433
434
435
436
437
2014-06-21  Stephane Rochoy <sheda>

	* grub-core/loader/i386/bsd.c (grub_netbsd_boot): Pass pointer to
	EFI system table.

438
439
440
441
442
2014-06-21  Stephane Rochoy <sheda>

	* grub-core/commands/efi/lsefisystab.c (grub_cmd_lsefisystab): Show
	EFI system table physical address.

443
444
445
446
2014-06-21  Trevor Woerner <trevor.woerner@linaro.org>

	* util/grub-gen-asciih.c (add_glyph): Fix uninitialised variable.

447
448
449
450
2014-06-21  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/commands/verify.c (grub_pubkey_open): Trust procfs.

451
452
453
454
455
2014-06-21  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/commands/verify.c (grub_pubkey_open): Fix memdisk
	check.

456
457
458
459
460
461
2014-04-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.

	Reported by: Yves Blusseau <blusseau@zetam.org>.

462
463
464
465
466
2014-04-20  Piotr Krysiuk  <piotras@gmail.com>

	* grub-core/lib/i386/relocator.c: Allow loading old kernels by placing
	GDT in conventional memory.

467
468
469
470
471
472
473
474
475
2014-04-10  Colin Watson  <cjwatson@ubuntu.com>

	* util/grub.d/30_os-prober.in: Tolerate devices with no filesystem
	UUID.  Other parts of grub-mkconfig tolerate these, they were
	previously allowed here up to commit
	55e706c918922def17f5012c23cfe88c4c645208, and they can arise in
	practice when the system has active LVM snapshots.
	Fixes Ubuntu bug #1287436.

476
477
478
479
480
2014-04-10  Colin Watson  <cjwatson@ubuntu.com>

	* grub-core/disk/lvm.c (grub_lvm_detect): Search for
	"logical_volumes" block a little more accurately.

481
482
483
484
2014-04-06  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/lib/syslinux_parse.c: Fix timeout quoting.

485
486
487
488
489
2014-04-04  Vladimir Serbinenko  <phcoder@gmail.com>

	* include/grub/libgcc.h: Remove ctzsi2 and ctzdi2. They're no longer
	pulled from libgcc.

490
491
492
493
494
2014-04-04  Vladimir Serbinenko  <phcoder@gmail.com>

	Replace few instances of memcmp/memcpy in the code that should be
	grub_memcmp/grub_memcpy.

495
496
497
498
499
2014-04-03  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Support NVMe
	device names.

500
501
502
503
504
505
506
2014-03-31  Thomas Falcon <tlfalcon@linux.vnet.ibm.com>

	btrfs: fix get_root key comparison failures due to endianness

	* grub-core/fs/btrfs.c (get_root): Convert
	GRUB_BTRFS_ROOT_VOL_OBJECTID to little-endian.

507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
2014-03-31  Colin Watson  <cjwatson@ubuntu.com>

	Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig.

	Commit 588744d0dc655177d5883bdcb8f72ff5160109ed caused grub-mkconfig
	no longer to be forgiving of trailing spaces on grub-probe output
	lines, which among other things means that util/grub.d/10_linux.in
	no longer detects LVM.  To fix this, make grub-probe's output
	delimiting more consistent.  As a bonus, this improves the coverage
	of the -0 option.

	Fixes Debian bug #735935.

	* grub-core/disk/cryptodisk.c
	(grub_util_cryptodisk_get_abstraction): Add a user-data argument.
	* grub-core/disk/diskfilter.c (grub_diskfilter_get_partmap):
	Likewise.
	* include/grub/cryptodisk.h (grub_util_cryptodisk_get_abstraction):
	Update prototype.
	* include/grub/diskfilter.h (grub_diskfilter_get_partmap): Likewise.
	* util/grub-install.c (push_partmap_module, push_cryptodisk_module,
	probe_mods): Adjust for extra user-data arguments.
	* util/grub-probe.c (do_print, probe_partmap, probe_cryptodisk_uuid,
	probe_abstraction): Use configured delimiter.  Update callers.

Colin Watson's avatar
Colin Watson committed
532
533
534
535
536
537
2014-03-31  Colin Watson  <cjwatson@ubuntu.com>

	* util/grub-probe,c (options): Make -0 work again (broken by
	conversion to argp).
	(main): Simplify logic.

538
539
540
541
2014-03-26  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/lib/relocator.c: Fix the case when end of leftover is used.

542
543
544
545
2014-03-26  Fu Wei <fu.wei@linaro.org>

	* grub-core/loader/arm64/linux.c: Remove redundant "0x".

546
547
548
549
550
551
552
2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>

	* include/grub/i386/openbsd_bootarg.h: Add addr and frequency fields.
	* grub-core/loader/i386/bsd.c (grub_cmd_openbsd): Fill addr field.

	Suggested by: Markus Müller.

553
554
555
556
557
2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/i386/pc/mmap.c: Fallback to EISA memory map
	if E820 failed to return any regions.

558
559
560
561
562
2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/mmap/i386/uppermem.c (lower_hook) [COREBOOT]: Ignore low
	tables for low memory calculations.

563
564
565
566
567
2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit
	location to 640K.

568
569
570
571
572
2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000
	region.

573
574
575
576
577
2014-02-20  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI
	exclusively.

578
579
580
581
582
583
584
585
586
587
588
589
590
2014-02-04  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>

	Add bootpath parser for open firmware.

	It enables net boot even when there is no bootp/dhcp server.

	* grub-core/net/drivers/ieee1275/ofnet.c: Add grub_ieee1275_parse_bootpath
	and call it at grub_ieee1275_net_config_real.
	* grub-core/kern/ieee1275/init.c: Add bootpath to
	grub_ieee1275_net_config.
	* include/grub/ieee1275/ieee1275.h: Likewise.


591
592
593
594
595
596
597
598
2014-02-04  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>

	Add grub_env_set_net_property function.

	* grub-core/net/bootp.c: Remove set_env_limn_ro.
	* grub-core/net/net.c: Add grub_env_set_net_property.
	* include/grub/net.h: Likewise.

599
600
601
602
2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-mkrescue.c: Build fix for argp.h with older gcc.

603
604
605
606
2014-02-03  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-mkfont.c: Build fix for argp.h with older gcc.

607
608
609
610
611
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Increase timeout. Some SSDs take up to
	7 seconds to recover if last poweroff was bad.

612
613
614
615
616
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Properly handle transactions with no
	transferred data.

617
618
619
620
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Add safety cleanups.

621
622
623
624
625
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Allocate and clean space for all possible 32
	slots to avoid pointing to uninited area.

626
627
628
629
630
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/ahci.c: Do not enable I/O decoding and keep
	enabling busmaster for the end.

631
632
633
634
635
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-mkfont.c: Downgrade warnings about unhandled features
	to debug.

636
2014-01-29  Vladimir Serbinenko  <phcoder@gmail.com>
637
638
639

	* grub-core/term/at_keyboard.c: Tolerate missing keyboard.

640
641
642
643
2014-01-29  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>

	* .gitignore: add missing files and .exe variants.

644
645
646
647
648
649
650
2014-01-26  Mike Gilbert <floppym@gentoo.org>

	grub-install: support for partitioned partx loop devices.

	* grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect
	/dev/loopX as being the parent of /dev/loopXpY.

651
652
653
654
655
2014-01-26  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/term/serial.c (grub_serial_register): Fix invalid free.
	Ensure that pointers are inited to NULL and that pointers are not
	accessed after free.
656
657
658
659
660
661
662
663
664

2014-01-25  Andrey Borzenkov <arvidjaar@gmail.com>

	* include/grub/crypto.h: Replace __attribute__ ((format (printf)) with
	__attribute__ ((format (__printf__)) to fix compilation under MinGW-w64.
	* include/grub/emu/misc.h: ... and here.
	* include/grub/err.h: ... and here.
	* util/import_gcry.py: ... and here (in files g10lib.h).

665
666
667
668
2014-01-25  Andrey Borzenkov <arvidjaar@gmail.com>

	* util/grub-mkimage.c: Make prefix argument mandatory.

669
670
671
672
673
674
2014-01-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Fix several translatable strings.

	Suggested by: D. Prévot.

675
676
677
678
2014-01-24  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-install.c: List available targets.

679
680
681
682
2014-01-23  Colin Watson  <cjwatson@ubuntu.com>

	* util/grub-install.c (write_to_disk): Add an info message.

683
684
685
686
687
2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>

	* Makefile.am: Allow adding extra files to generated Windows ZIP
	archive by setting GRUB_WINDOWS_EXTRA_DIST.

688
689
690
2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>

	* configure.ac: Look for DejaVuSans also in /usr/share/fonts/truetype.
691
	Show detected font path in summary.
692

693
694
695
696
697
698
699
700
701
2014-01-21  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>

	* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
	interval gradually.
	* grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
	* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
	* grub-core/net/tftp.c (tftp_open): Likewise.
	* include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.

702
703
704
705
706
707
708
709
710
711
712
713
2014-01-21  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>

	* grub-core/net/net.c (receive_packets): Change stop condition to avoid
	infinite loops.

	In net/net.c there is a while (1) that only exits if there is a stop
	condition and more then 10 packages or if there is no package received.

	If GRUB is idle and enter in this loop, the only condition to leave is
	if it doesn't have incoming packages. In a network with heavy traffic
	this never happens.

714
715
716
717
718
719
720
2014-01-19  Colin Watson  <cjwatson@ubuntu.com>

	* grub-core/osdep/freebsd/hostdisk.c (grub_util_fd_open): Ignore
	EPERM when modifying kern.geom.debugflags.  It is only a problem for
	such things as installing GRUB to the MBR, in which case there'll be
	an error later anyway, not for opening files during tests.

721
722
723
724
725
726
727
728
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>

	* grub-core/Makefile.am: Build grub_emu_init.[ch] from MODULE_FILES
	instead of MOD_FILES.
	* grub-core/genemuinit.sh: Simplify stripping of suffix so it works
	both with and without .exe.
	* grub-core/genemuinitheader.sh: Same.

729
730
731
732
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-install.c: Fix a typo.

733
734
735
736
737
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/normal/main.c (read_config_file): Buffer config file.
	Reduces boot time.

738
739
740
741
742
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>

	* acinclude.m4 (grub_CHECK_LINK_DIR): Check that we can also remove
	symbolic link to directory. It fails in Msys shell on Windows 2003.

743
744
745
746
747
748
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* Makefile.am (default_payload.elf): Add modules
	multiboot cbmemc linux16 gzio echo help.

2014-01-18  Mike Gilbert <floppym@gentoo.org>
749
750
751

	* Makefile.util.def: Link grub-ofpathname with zfs libs.

752
753
754
755
756
757
758
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/commands/macbless.c: Rename FILE and DIR to avoid
	conflicts.

	Reported by: Andrey Borzenkov.

759
760
761
762
763
764
765
766
767
768
769
770
771
772
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>

	* include/grub/misc.h: Move macros for compiler features to ...
	* include/grub/compiler.h: ... new file.
	* include/grub/list.h: Include <grub/compiler.h> instead of <grub/misc.h>.
	* grub-core/commands/fileXX.c: Include <grub/misc.h>.
	* grub-core/efiemu/prepare.c: Include <grub/misc.h>.
	* grub-core/loader/i386/xen_file.c: Include <grub/misc.h>.
	* grub-core/loader/i386/xen_fileXX.c: Include <grub/misc.h>.
	* grub-core/video/capture.c: Include <grub/misc.h>.
	* include/grub/command.h: Include <grub/misc.h>.
	* include/grub/dl.h: Include <grub/misc.h>.
	* include/grub/procfs.h: Include <grub/misc.h>.

773
774
775
776
777
778
779
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>

	* configure.ac: Add support for BUILD_EXEEXT and use it ...
	* Makefile.am: ... here.
	* Makefile.util.def: ... and here.
	* grub-core/Makefile.am: ... and here.

780
781
782
783
784
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>

	* include/grub/osdep/hostfile_windows.h: Use _W64 instead of
	FILE_OFFSET_BITS to differentiate between native MinGW and Mingw W64.

785
786
787
788
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/term/terminfo.c: Recognize keys F1-F12.

Andrey Borzenkov's avatar
Andrey Borzenkov committed
789
2014-01-18  Andrey Borzenkov <arvidjaar@gmail.com>
790
791
792
793
794
795

	* configure.ac: Add support for BUILD_LDFLAGS.
	* Makefile.am: Use BUILD_LDFLAGS for build time programs here ...
	* grub-core/Makefile.am: ... and here.
	* INSTALL: Mention BUILD_LDFLAGS.

796
797
798
799
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* util/grub-mount.c: Extend GCC warning workaround to grub-mount.

800
801
802
803
804
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/kern/efi/efi.c: Ensure that the result starts with /
	and has no //.

805
806
807
808
2014-01-18  Vladimir Serbinenko  <phcoder@gmail.com>

	* NEWS: Add few missing entries.

809
810
811
812
813
814
815
816
817
818
819
2014-01-17  Colin Watson  <cjwatson@ubuntu.com>

	* util/grub.d/00_header.in (make_timeout): Use && rather than test
	-a.
	* util/grub.d/10_windows.in: Likewise.
	* util/grub.d/10_netbsd.in (netbsd_load_fs_module): Use || rather
	than test -o.
	* util/grub.d/30_os-prober.in: Use && rather than test -a, and ||
	rather than test -o.

2014-01-17  Colin Watson  <cjwatson@ubuntu.com>
820
821
822
823

	* grub-core/osdep/freebsd/hostdisk.c (grub_util_fd_open): Remove
	redundant preprocessor conditional.

824
825
826
827
2014-01-08  Colin Watson  <cjwatson@ubuntu.com>

	* Makefile.util.def (grub-macbless): Change mansection to 8.

828
829
830
831
2014-01-07  Leif Lindholm <leif.lindholm@linaro.org>

	* grub-core/loader/arm64/linux.c: correctly set device path end length.

832
833
834
835
836
837
838
2014-01-07  Andrey Borzenkov <arvidjaar@gmail.com>

	* util/grub-install.c: Use bootaa64.efi instead of bootaarch64.efi on
	arm64 to comply with EFI specification. Also use grubaa64.efi for
	consistency.
	* util/grub-mkrescue.c: Change to use bootaa64.efi too.

839
840
841
842
843
2014-01-07  Andrey Borzenkov <arvidjaar@gmail.com>

	* include/grub/osdep/hostfile_windows.h: Do not redefine fseeko/ftello
	on MinGW-64 when compiling for 32 bits.

844
845
846
847
2013-12-30  Andrey Borzenkov <arvidjaar@gmail.com>

	* grub-core/Makefile.core.def: strip .eh_frame section for arm64-efi.

848
849
850
851
2013-12-30  Vladimir Serbinenko  <phcoder@gmail.com>

	* NEWS: Add few missing entries. Correct existing ones.

852
853
854
855
2013-12-28  Vladimir Serbinenko  <phcoder@gmail.com>

	Don't abort() on unavailable coreboot tables if not running on coreboot.

856
857
858
859
860
2013-12-28  Andrey Borzenkov <arvidjaar@gmail.com>

	* grub-core/kern/emu/misc.c: Remove unused error.h; fixes compilation
	on mingw.

861
862
863
864
865
2013-12-28  Colin Watson  <cjwatson@ubuntu.com>

	* NEWS: The cmosclean command in fact dates back to 1.99.  Remove
	mention of it from 2.02.

866
2013-12-27  Vladimir Serbinenko  <phcoder@gmail.com>
867
868
869
870
871
872

	* grub-core/kern/arm/cache_armv6.S: Remove .arch directive.

	As these functions are used on pre-ARMv6 CPUs as well we don't want
	to make assembler assume that architecture is higher than default one.

873
874
875
876
2013-12-27  Colin Watson  <cjwatson@ubuntu.com>

	* NEWS: First draft of 2.02 entry.

877
878
879
880
881
2013-12-27  Colin Watson  <cjwatson@ubuntu.com>

	* INSTALL (Cross-compiling the GRUB): Fix some spelling mistakes.
	* docs/grub.texi (Getting the source code): Likewise.

882
883
884
885
886
2013-12-25  Andrey Borzenkov <arvidjaar@gmail.com>

	* grub-core/osdep/windows/platform.c (get_platform): Fix EFI
	detection.

887
888
889
890
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	* configure.ac: Set version to 2.02~beta2.

891
892
893
894
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.

895
896
897
898
2013-12-24  Andrey Borzenkov <arvidjaar@gmail.com>

	* util/grub-probe.c: Improve help message and simplify list handling.

899
900
901
902
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Fix buffer overflow in grub_efi_print_device_path.

903
904
905
906
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Show SATA device path.

907
908
909
910
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Revert grub-file usage in grub-mkconfig.

911
912
913
914
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Make newly-created files other than grub.cfg world-readable.

915
916
917
918
2013-12-24  Andrey Borzenkov <arvidjaar@gmail.com>

	* util/grub.d/00_header.in: Improve compatibility with old config.

919
920
921
922
923
924
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Make rijndael.c respect aliasing rules.

	Trivial backport of dfb4673da8ee52d95e0a62c9f49ca8599943f22e.

925
926
927
928
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Make grub_util_device_is_mapped_stat available in grub-emu core.

929
930
931
932
933
934
935
936
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Add -Qn to TARGET_CFLAGS if it's supported.
	Fixes compilation on cygwin.

	Reported by: Andrey Borzenkov.
	Suggested by: Andrey Borzenkov.

937
938
939
940
941
942
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Save TARGET_CC version in modinfo.sh.

	Suggested by: Andrey Borzenkov.

943
944
945
946
947
948
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start
	follow the same algorithm to avoid method mismatch. Don't assume
	DMRAID- UUID to mean full disk but instead check that mapping is linear.

949
950
951
952
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Declare GRUB_EFI_VENDOR_APPLE_GUID.

953
954
955
956
2013-12-24  Vladimir Serbinenko  <phcoder@gmail.com>

	Dump type and vendor specific data when printing device path.

957
958
959
960
961
962
963
964
2013-12-23  Colin Watson  <cjwatson@debian.org>

	Update some documentation to refer to Git rather than Bazaar.

	* docs/grub.texi (Obtaining and Building GRUB): Refer to Git rather
	than Bazaar.
	* po/README: Likewise.  Fix spelling mistake.

Colin Watson's avatar
Colin Watson committed
965
966
967
968
969
970
971
972
2013-12-23  Colin Watson  <cjwatson@ubuntu.com>

	Don't distribute config.h.

	* Makefile.am (platform_HEADERS): Move to ...
	(nodist_platform_HEADERS): ... here.  Fixes gettext_strings_test
	failure when building from a distributed tarball.

Colin Watson's avatar
Colin Watson committed
973
974
975
976
977
978
979
2013-12-23  Colin Watson  <cjwatson@ubuntu.com>

	* configure.ac: Fix spelling.
	* grub-core/commands/parttool.c: Fix grammar.
	* grub-core/disk/ldm.c: Use consistent capitalisation for "LDM
	Embedding Partition".

980
981
982
983
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

	ARM64 support for grub-mkrescue.

984
985
986
987
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

	Install modinfo.sh to keep build information around.

988
989
990
991
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

	* grub-core/modinfo.sh.in: Add build config information.

992
993
994
995
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

	ARM64 grub-file and grub-mkconfig support.

996
997
998
999
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>

	Remove leftover options defines.

1000
2013-12-23  Vladimir Serbinenko  <phcoder@gmail.com>
For faster browsing, not all history is shown. View entire blame