Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip empty lines in entry file #185

Open
wants to merge 367 commits into
base: fedora-41
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
367 commits
Select commit Hold shift + click to select a range
d673d42
Add start symbol for RISC-V
Nov 9, 2019
2ab6c45
bootstrap.conf: Force autogen.sh to use python3
martinezjavier Jan 15, 2020
38475f5
efi/http: Export {fw,http}_path variables to make them global
martinezjavier Mar 5, 2020
c49a33a
efi/http: Enclose literal IPv6 addresses in square brackets
martinezjavier Mar 5, 2020
1d5a347
efi/net: Allow to specify a port number in addresses
martinezjavier Mar 9, 2020
d38bbe2
efi/ip4_config: Improve check to detect literal IPv6 addresses
martinezjavier Mar 9, 2020
5f331e8
efi/net: Print a debug message if parsing the address fails
martinezjavier Mar 10, 2020
efea4aa
kern/term: Also accept F8 as a user interrupt key
martinezjavier Apr 22, 2020
c003e1b
efi: Set image base address before jumping to the PE/COFF entry point
martinezjavier Apr 23, 2020
2b21b64
tpm: Don't propagate TPM measurement errors to the verifiers layer
martinezjavier May 16, 2020
b6da5b7
x86-efi: Reduce maximum bounce buffer size to 16 MiB
martinezjavier May 26, 2020
f0e1443
http: Prepend prefix when the HTTP path is relative as done in efi/http
martinezjavier Jun 2, 2020
0974ee5
Fix a missing return in efi-export-env and efi-load-env commands
vathpela Jan 16, 2019
8c89092
efi+dhcp: fix some allocation error checking.
vathpela Jul 19, 2020
8a8faa7
efi+http: fix some allocation error checking.
vathpela Jul 19, 2020
8368fef
efi/ip[46]_config.c: fix some potential allocation overflows
vathpela Jul 19, 2020
2ad5343
efilinux: Fix integer overflows in grub_cmd_initrd
cjwatson Jul 24, 2020
717c829
linuxefi: fail kernel validation without shim protocol.
xnox Jul 22, 2020
ffff971
Fix const char ** pointers in grub-core/net/bootp.c
vathpela Jul 20, 2020
f7a7989
Fix const char ** pointers in grub-core/net/efi/ip4_config.c
vathpela Jul 20, 2020
3e2b6b2
Fix const char ** pointers in grub-core/net/efi/ip6_config.c
vathpela Jul 20, 2020
7ea499c
Fix const char ** pointers in grub-core/net/efi/net.c
vathpela Jul 20, 2020
58b7b11
Fix const char ** pointers in grub-core/net/efi/pxe.c
vathpela Jul 20, 2020
3969849
Add systemd integration scripts to make "systemctl reboot --boot-load…
jwrdegoede Jul 22, 2020
a409d43
systemd-integration.sh: Also set old menu_show_once grubenv var
jwrdegoede Jul 23, 2020
0ca0907
at_keyboard: use set 1 when keyboard is in Translate mode
rmetrich Dec 3, 2020
8a95071
grub-install: disable support for EFI platforms
jhlavac Nov 20, 2020
ac68b23
New --with-debug-timestamps configure flag to prepend debug traces wi…
rmetrich Nov 23, 2019
f9b7176
Added debug statements to grub_disk_open() and grub_disk_close() on s…
rmetrich Nov 23, 2019
b84b54c
Introduce function grub_debug_is_enabled(void) returning 1 if 'debug'…
rmetrich Nov 25, 2019
cfe9f9b
Don't clear screen when debugging is enabled
rmetrich Nov 23, 2019
3594ccd
kern/file: Fix error handling in grub_file_open()
Dec 6, 2022
a780b6e
grub_file_* instrumentation (new 'file' debug tag)
rmetrich Nov 29, 2019
cee8c5d
ieee1275: Avoiding many unecessary open/close
Dec 14, 2020
8506b2f
ieee1275/powerpc: implements fibre channel discovery for ofpathname
Dec 14, 2020
cce9dc5
ieee1275/powerpc: enables device mapper discovery
Dec 14, 2020
f94fe88
Add 'at_keyboard_fallback_set' var to force the set manually
rmetrich Dec 18, 2020
b31e001
Add suport for signing grub with an appended signature
RashmicaG Jun 11, 2020
e99dcf2
docs/grub: Document signing grub under UEFI
daxtens Aug 14, 2020
80672b9
docs/grub: Document signing grub with an appended signature
daxtens Aug 14, 2020
552274c
dl: provide a fake grub_dl_set_persistent for the emu target
daxtens Jul 29, 2020
8e913d5
pgp: factor out rsa_pad
daxtens Oct 1, 2020
a9b8125
crypto: move storage for grub_crypto_pk_* to crypto.c
daxtens Oct 2, 2020
c671275
posix_wrap: tweaks in preparation for libtasn1
daxtens May 1, 2020
24714df
libtasn1: import libtasn1-4.16.0
daxtens Jun 10, 2020
a48f811
libtasn1: disable code not needed in grub
daxtens May 1, 2020
05cbc93
libtasn1: changes for grub compatibility
daxtens May 1, 2020
17dad74
libtasn1: compile into asn1 module
daxtens Jun 5, 2020
7608c15
test_asn1: test module for libtasn1
daxtens Jun 10, 2020
c1c59a9
grub-install: support embedding x509 certificates
deece Jul 6, 2020
9fec78f
appended signatures: import GNUTLS's ASN.1 description files
daxtens Jul 29, 2020
ccea040
appended signatures: parse PKCS#7 signedData and X.509 certificates
daxtens Jul 29, 2020
63dc476
appended signatures: support verifying appended signatures
daxtens Jul 29, 2020
63c6f04
appended signatures: verification tests
daxtens Jul 29, 2020
3340363
appended signatures: documentation
daxtens Oct 1, 2020
a986f59
ieee1275: enter lockdown based on /ibm,secure-boot
daxtens Sep 28, 2020
9531565
ieee1275: drop HEAP_MAX_ADDR, HEAP_MIN_SIZE
daxtens Apr 14, 2021
74774af
appendedsig/x509: Also handle the Extended Key Usage extension
martinezjavier May 8, 2021
7baa6fd
ieee1275/ofdisk: retry on open failure
Mar 10, 2021
2051b97
Allow chainloading EFI apps from loop mounts.
xnox Jun 11, 2021
1794ae0
efinet: Add DHCP proxy support
iphands Jun 8, 2021
6e677b7
fs/ext2: Ignore checksum seed incompat feature
martinezjavier Jun 10, 2021
96d376f
Don't update the cmdline when generating legacy menuentry commands
martinezjavier Jun 17, 2021
ebffb6e
Suppress gettext error message
pfsmorigo Jun 29, 2021
7239341
grub-set-password: Always use /boot/grub2/user.cfg as password default
martinezjavier Jul 5, 2021
2ea9329
templates: Check for EFI at runtime instead of config generation time
martinezjavier Jul 5, 2021
7966a53
efi: Print an error if boot to firmware setup is not supported
martinezjavier Jul 5, 2021
24b32a6
arm64: Fix EFI loader kernel image allocation
ozbenh Aug 2, 2021
9fa2ef9
normal/main: Discover the device to read the config from as a fallback
martinezjavier Aug 30, 2021
8de4079
powerpc: adjust setting of prefix for signed binary case
daxtens Jul 19, 2021
dcf581b
fs/xfs: Fix unreadable filesystem with v4 superblock
ErwanAliasr1 Aug 25, 2021
1ecd056
Print module name on license check failure
frozencemetery Oct 12, 2021
b35e360
powerpc-ieee1275: load grub at 4MB, not 2MB
daxtens Oct 21, 2021
31dd7ff
grub-mkconfig: restore umask for grub.cfg
Dec 3, 2021
b612cdc
fs/btrfs: Use full btrfs bootloader area
WenhuaChang Dec 13, 2021
b712a75
Add Fedora location of DejaVu SANS font
fluteze Nov 27, 2021
ebdef63
normal/menu: Don't show "Booting `%s'" msg when auto-booting with TIM…
jwrdegoede Jan 28, 2022
728a82c
EFI: suppress the "Welcome to GRUB!" message in EFI builds
jwrdegoede Jan 28, 2022
ae65870
EFI: console: Do not set colorstate until the first text output
jwrdegoede Jan 28, 2022
ec91b20
EFI: console: Do not set cursor until the first text output
jwrdegoede Jan 28, 2022
256d6f0
Use visual indentation in config.h.in
frozencemetery Dec 15, 2021
779e2a6
Where present, ensure config-util.h precedes config.h
frozencemetery Feb 22, 2022
2c722a8
Drop gnulib fix-base64.patch
frozencemetery Oct 28, 2021
dc8044f
Drop gnulib no-abort.patch
frozencemetery Jan 5, 2022
c6cf390
Update gnulib version and drop most gnulib patches
frozencemetery Dec 15, 2021
8569c33
commands/search: Fix bug stopping iteration when --no-floppy is used
rmetrich Feb 8, 2022
232c033
search: new --efidisk-only option on EFI systems
rmetrich Feb 8, 2022
25045ec
efi: new 'connectefi' command
rmetrich Feb 15, 2022
6e49b9a
grub-core/loader/i386/efi/linux.c: do not validate kernels twice
xnox Mar 3, 2022
bd78f10
grub-core/loader/arm64/linux.c: do not validate kernel twice
xnox Mar 4, 2022
93a4ef5
grub-core/loader/efi/chainloader.c: do not validate chainloader twice
xnox Mar 4, 2022
21b4a5e
grub-core/loader/efi/linux.c: drop now unused grub_linuxefi_secure_va…
xnox Mar 4, 2022
31dd02b
powerpc: prefix detection: support device names with commas
daxtens Mar 24, 2022
58b705f
make ofdisk_retries optional
Mar 24, 2022
0bcccb4
loader/efi/chainloader: grub_load_and_start_image doesn't load and start
chrisccoulson Apr 28, 2022
18fb384
loader/efi/chainloader: simplify the loader state
chrisccoulson Apr 29, 2022
9d43f7e
commands/boot: Add API to pass context to loader
chrisccoulson Apr 29, 2022
80687f2
loader/efi/chainloader: Use grub_loader_set_ex
chrisccoulson Apr 29, 2022
82fe61a
loader/i386/efi/linux: Avoid a use-after-free in the linuxefi loader
chrisccoulson May 2, 2022
9b12533
loader/i386/efi/linux: Use grub_loader_set_ex
chrisccoulson May 2, 2022
3143df6
loader/i386/efi/linux: Fix a memory leak in the initrd command
chrisccoulson May 3, 2022
9ae95e3
kern/efi/sb: Reject non-kernel files in the shim_lock verifier
julian-klode Dec 2, 2021
aa540bc
kern/file: Do not leak device_name on error in grub_file_open()
daxtens Jun 24, 2021
726a97e
video/readers/png: Abort sooner if a read operation fails
daxtens Jul 6, 2021
0cdcc7b
video/readers/png: Refuse to handle multiple image headers
daxtens Jul 6, 2021
ce5290a
video/readers/png: Drop greyscale support to fix heap out-of-bounds w…
daxtens Jul 6, 2021
0f76596
video/readers/png: Avoid heap OOB R/W inserting huff table items
daxtens Jul 6, 2021
bee218b
video/readers/png: Sanity check some huffman codes
daxtens Jul 6, 2021
db1fcb1
video/readers/jpeg: Abort sooner if a read operation fails
daxtens Jun 28, 2021
481d030
video/readers/jpeg: Do not reallocate a given huff table
daxtens Jun 28, 2021
46f2644
video/readers/jpeg: Refuse to handle multiple start of streams
daxtens Jun 28, 2021
bc3b1a8
video/readers/jpeg: Block int underflow -> wild pointer write
daxtens Jul 7, 2021
0965ab1
normal/charset: Fix array out-of-bounds formatting unicode for display
daxtens Jul 13, 2021
9672eb8
net/netbuff: Block overly large netbuff allocs
daxtens Mar 8, 2022
471a298
net/ip: Do IP fragment maths safely
daxtens Dec 20, 2021
013eae6
net/dns: Fix double-free addresses on corrupt DNS response
daxtens Sep 15, 2021
259dfb2
net/dns: Don't read past the end of the string we're checking against
daxtens Dec 20, 2021
1aed0af
net/tftp: Prevent a UAF and double-free from a failed seek
daxtens Sep 19, 2021
da32934
net/tftp: Avoid a trivial UAF
daxtens Jan 18, 2022
1db4acf
net/http: Do not tear down socket if it's already been torn down
daxtens Mar 1, 2022
b47d562
net/http: Fix OOB write for split http headers
daxtens Mar 8, 2022
72df538
net/http: Error out on headers with LF without CR
daxtens Mar 8, 2022
8cc6350
fs/f2fs: Do not read past the end of nat journal entries
SudhakarKuppusamy1 Apr 6, 2022
400ca4e
fs/f2fs: Do not read past the end of nat bitmap
SudhakarKuppusamy1 Apr 6, 2022
acaddf9
fs/f2fs: Do not copy file names that are too long
SudhakarKuppusamy1 Apr 6, 2022
b254bf5
fs/btrfs: Fix several fuzz issues with invalid dir item sizing
darrenkenny Mar 29, 2022
aa74f4b
fs/btrfs: Fix more ASAN and SEGV issues found with fuzzing
darrenkenny Mar 29, 2022
f887b09
fs/btrfs: Fix more fuzz issues related to chunks
darrenkenny Apr 7, 2022
f94152b
misc: Make grub_min() and grub_max() more resilient.
vathpela Mar 21, 2022
461b42c
ReiserFS: switch to using grub_min()/grub_max()
vathpela Apr 21, 2022
a21e5c1
misc: make grub_boot_time() also call grub_dprintf("boot",...)
vathpela Mar 24, 2022
f6563e1
modules: make .module_license read-only
vathpela Feb 24, 2022
0f66524
modules: strip .llvm_addrsig sections and similar.
vathpela Feb 24, 2022
0f76b53
modules: Don't allocate space for non-allocable sections.
vathpela Mar 21, 2022
c850db5
pe: add the DOS header struct and fix some bad naming.
vathpela Mar 25, 2022
04c96d8
EFI: allocate kernel in EFI_RUNTIME_SERVICES_CODE instead of EFI_LOAD…
vathpela Feb 9, 2022
887f1d8
modules: load module sections at page-aligned addresses
vathpela Mar 21, 2022
45bfb1c
nx: add memory attribute get/set API
vathpela Mar 22, 2022
ad1b904
nx: set page permissions for loaded modules.
vathpela Mar 21, 2022
a9d4056
nx: set attrs in our kernel loaders
vathpela Mar 22, 2022
a9ec858
nx: set the nx compatible flag in EFI grub images
vathpela Mar 22, 2022
5898517
grub-probe: document the behavior of multiple -v
frozencemetery Jul 15, 2022
e452c07
grub_fs_probe(): dprint errors from filesystems
frozencemetery Jul 15, 2022
8a1dcbf
fs/fat: don't error when mtime is 0
frozencemetery Jul 15, 2022
ca59646
Make debug=file show which file filters get run.
vathpela Jul 29, 2022
c88cadb
efi: use enumerated array positions for our allocation choices
vathpela Aug 1, 2022
a9da903
efi: split allocation policy for kernel vs initrd memories.
vathpela Aug 1, 2022
8233b73
efi: allocate the initrd within the bounds expressed by the kernel
vathpela Aug 1, 2022
cb965e0
efi: use EFI_LOADER_(CODE|DATA) for kernel and initrd allocations
vathpela Aug 1, 2022
2e2a825
BLS: create /etc/kernel/cmdline during mkconfig
frozencemetery Aug 2, 2022
3acfee4
squish: don't dup rhgb quiet, check mtimes
frozencemetery Aug 17, 2022
0720d50
squish: give up on rhgb quiet
frozencemetery Aug 17, 2022
a2f7693
squish: BLS: only write /etc/kernel/cmdline if writable
jlebon Aug 17, 2022
6038557
blscfg: Don't root device in emu builds
frozencemetery Aug 25, 2022
62382ef
loader/arm64/linux: Remove magic number header field check
ardbiesheuvel Aug 11, 2022
9752abc
Correct BSS zeroing on aarch64
jlintonarm Sep 6, 2022
9ae5901
linuxefi: Invalidate i-cache before starting the kernel
Aug 25, 2022
c500935
x86-efi: Fix an incorrect array size in kernel allocation
vathpela Oct 11, 2022
bf9f867
commands/efi/tpm: Refine the status of log event
kenplusplus Jul 13, 2022
588414d
commands/efi/tpm: Use grub_strcpy() instead of grub_memcpy()
kenplusplus Jul 13, 2022
fd55945
efi/tpm: Add EFI_CC_MEASUREMENT_PROTOCOL support
kenplusplus Jul 13, 2022
4197818
font: Reject glyphs exceeds font->max_glyph_width or font->max_glyph_…
zhangboyang Aug 3, 2022
1d99597
font: Fix size overflow in grub_font_get_glyph_internal()
zhangboyang Aug 4, 2022
551e0d5
font: Fix several integer overflows in grub_font_construct_glyph()
zhangboyang Aug 4, 2022
1dae55f
font: Remove grub_font_dup_glyph()
zhangboyang Aug 4, 2022
f8852c9
font: Fix integer overflow in ensure_comb_space()
zhangboyang Aug 4, 2022
86b719f
font: Fix integer overflow in BMP index
zhangboyang Aug 14, 2022
2f03fac
font: Fix integer underflow in binary search of char index
zhangboyang Aug 14, 2022
5396629
kern/efi/sb: Enforce verification of font files
zhangboyang Aug 14, 2022
7428f10
fbutil: Fix integer overflow
zhangboyang Sep 5, 2022
7c85e1a
font: Fix an integer underflow in blit_comb()
zhangboyang Oct 24, 2022
5e5d858
font: Harden grub_font_blit_glyph() and grub_font_blit_glyph_mirror()
zhangboyang Oct 23, 2022
2cff5db
font: Assign null_font to glyphs in ascii_font_glyph[]
zhangboyang Oct 28, 2022
e1f86f1
normal/charset: Fix an integer overflow in grub_unicode_aglomerate_co…
zhangboyang Oct 28, 2022
10c5a7b
font: Try opening fonts from the bundled memdisk
chrisccoulson Nov 16, 2022
ae3a583
mm: Clarify grub_real_malloc()
daxtens Nov 24, 2021
b51f0d4
mm: grub_real_malloc(): Make small allocs comment match code
daxtens Nov 24, 2021
280a656
mm: Document grub_free()
daxtens Nov 24, 2021
5fc6860
mm: Document grub_mm_init_region()
daxtens Nov 24, 2021
9cfee08
mm: Document GRUB internal memory management structures
daxtens Nov 24, 2021
3ec3df3
mm: Assert that we preserve header vs region alignment
daxtens Apr 21, 2022
77371ff
mm: When adding a region, merge with region after as well as before
daxtens Apr 21, 2022
474d212
mm: Debug support for region operations
daxtens Apr 21, 2022
629bce3
mm: Drop unused unloading of modules on OOM
pks-t Apr 21, 2022
dcbf777
mm: Allow dynamically requesting additional memory regions
pks-t Apr 21, 2022
65f6aaa
kern/efi/mm: Always request a fixed number of pages on init
pks-t Apr 21, 2022
8d87a6f
kern/efi/mm: Extract function to add memory regions
pks-t Apr 21, 2022
47bd939
kern/efi/mm: Pass up errors from add_memory_regions()
pks-t Apr 21, 2022
e74c93a
kern/efi/mm: Implement runtime addition of pages
pks-t Apr 21, 2022
a1d4228
efi: Increase default memory allocation to 32 MiB
daxtens Sep 19, 2022
477fa2a
mm: Try invalidate disk caches last when out of memory
zhangboyang Oct 15, 2022
de735a4
ppc64le: signed boot media changes
frozencemetery Jan 25, 2023
f7d929e
core: Fix several implicit function declarations
submachine Feb 5, 2023
ba26c2d
loader: Add support for grub-emu to kexec Linux menu entries
rw4s Oct 24, 2022
5434d57
powerpc: Drop Open Hack'Ware - remove GRUB_IEEE1275_FLAG_FORCE_CLAIM
daxtens Sep 6, 2021
e6503c3
ieee1275: request memory with ibm, client-architecture-support
daxtens Feb 6, 2023
acedefb
ieee1275: drop len -= 1 quirk in heap_init
daxtens Feb 6, 2023
23971c4
ieee1275: support runtime memory claiming
daxtens Feb 6, 2023
ee9c11d
ieee1275: implement vec5 for cas negotiation
Feb 6, 2023
5142bbe
ibmvtpm: Add support for trusted boot using a vTPM 2.0
stefanberger Feb 6, 2023
7f8daed
powerpc: Drop Open Hack'Ware
daxtens Sep 6, 2021
de07df2
osdep/linux/hostdisk: Modify sector by sysfs as disk sector
Feb 9, 2023
9a2887f
mm: Adjust new region size to take management overhead into account
zhangboyang Jan 29, 2023
c9176ae
mm: Preallocate some space when adding new regions
zhangboyang Jan 29, 2023
61616e1
mm: Avoid complex heap growth math in hot path
zhangboyang Jan 29, 2023
68005f2
hostdisk: work around /proc not reporting size
frozencemetery Mar 9, 2023
f636470
blscfg: check for mounted /boot in emu
frozencemetery Mar 7, 2023
43aed52
emu/linux: work around systemctl kexec returning
frozencemetery Mar 22, 2023
ae0100d
kern/ieee1275/init: Convert plain numbers to constants in Vec5
AvnishChouhan-IBM Mar 27, 2023
2becfab
kern/ieee1275/init: Extended support in Vec5
AvnishChouhan-IBM Mar 27, 2023
b09440d
tpm: Disable the tpm verifier if the TPM device is not present
WenhuaChang Mar 22, 2023
ee58dd7
grub_dl_set_mem_attrs(): fix format string
lersek Apr 7, 2023
deb4c03
grub_dl_set_mem_attrs(): add self-check for the tramp/GOT sizes
lersek Apr 7, 2023
c3569e4
grub_dl_load_segments(): page-align the tramp/GOT areas too
lersek Apr 7, 2023
7de33f4
emu: Add switch-root to grub-emu
nfrayer Mar 31, 2023
c98f9ea
util: Enable default kernel for updates
marta-lewandowska May 24, 2023
205b7b4
efi/http: change uint32_t to uintn_t
keng-yu Apr 26, 2023
46ca707
Add [Install] section to aux systemd units
LorbusChris Aug 9, 2023
dcfbf44
arm64: Use proper memory type for kernel allocation
qzed Jun 28, 2022
2921df0
Fix missing #include in ofdisk.c
vathpela Sep 29, 2023
8cfc6a3
add flag to only search root dev
marta-lewandowska Oct 9, 2023
9f0f2df
kern/ieee1275/init: ppc64: Restrict high memory in presence of fadump
stefanberger Jul 25, 2023
0d383a5
grub-install on EFI if forced
marta-lewandowska Oct 13, 2023
522adbf
Remove [Install] section from aux systemd units
LorbusChris Nov 14, 2023
4017d58
fs: Remove trailing whitespaces
ElyesH Mar 4, 2022
172fdee
fs/xfs: Fix memory leaks in XFS module
Nov 29, 2022
64b189b
fs/xfs: Fix issues found while fuzzing the XFS filesystem
darrenkenny Jun 2, 2023
0545461
fs/xfs: Incorrect short form directory data boundary check
Sep 28, 2023
a558246
fs/xfs: Fix XFS directory extent parsing
nuxi Oct 18, 2023
4fb2d96
fs/xfs: Add large extent counters incompat feature support
Oct 26, 2023
c7572f1
chainloader: remove device path debug message
raravind007 May 9, 2023
fb31d80
grub-set-bootflag: Conservative partial fix for CVE-2024-1048
solardiz Feb 6, 2024
074973a
grub-set-bootflag: More complete fix for CVE-2024-1048
solardiz Feb 6, 2024
5425919
grub-set-bootflag: Exit calmly when not running as root
solardiz Feb 6, 2024
d1d0c0d
fs/ntfs: Fix an OOB write when parsing the $ATTRIBUTE_LIST attribute …
Oct 3, 2023
ca53ebf
fs/ntfs: Fix an OOB read when reading data from the resident $DATA at…
Oct 3, 2023
cd3ea53
fs/ntfs: Fix an OOB read when parsing directory entries from resident…
Oct 3, 2023
c7145e6
fs/ntfs: Fix an OOB read when parsing bitmaps for index attributes
Oct 3, 2023
41e38af
fs/ntfs: Fix an OOB read when parsing a volume label
Oct 3, 2023
511c49d
fs/ntfs: Make code more readable
Oct 3, 2023
c5b706d
normal: Remove grub_env_set prefix in grub_try_normal_prefix
nfrayer Dec 19, 2023
423962a
grub-mkconfig.in: turn off executable owner bit
lsandov1 May 6, 2024
b60dfa5
fs/xfs: Handle non-continuous data blocks in directory extents
nuxi Feb 11, 2024
111f0f2
add flag to only search root dev
marta-lewandowska Oct 9, 2023
eb2b213
cmd/search: Rework of CVE-2023-4001 fix
nfrayer May 16, 2024
8db5849
Set non-executable stack sections on EFI assembly files
lsandov1 Apr 29, 2024
9b97ca6
util/grub-mkconfig.in: revert mode to 644
lsandov1 May 16, 2024
6b8cb20
kern/ieee1275/init: Add IEEE 1275 Radix support for KVM on Power
May 23, 2024
2b9a830
grub2-mkconfig: Ensure grub cfg stub is not overwritten
nfrayer Jul 16, 2024
d634aae
skip empty lines in entry file
teknoraver Jul 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
151 changes: 151 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ widthspec.bin
/stamp-h1
/syslinux_test
/tar_test
/test_asn1
/test_sha512sum
/test_unset
/tests/syslinux/ubuntu10.04_grub.cfg
Expand All @@ -275,3 +276,153 @@ widthspec.bin
/xfs_test
/xzcompress_test
/zfs_test
=======
# things ./autogen.sh will create
/Makefile.utilgcry.def
/ABOUT-NLS
/aclocal.m4
/autom4te.cache
/build-aux
/configure
/gnulib
/grub-core/lib/gnulib/
/Makefile

# things very common editors create that we never want
*~
.*.sw?
*.patch

# stuff you're likely to make while building test trees
grub.cfg
/build*/

# built objects across the whole tree
Makefile.in
*.a
*.am
*.efi
*.exec
*.image
*.img
*.info
*.lst
*.marker
/m4
*.mod
*.module
*.o
*.pf2
*.yy.[ch]
.deps/
.deps-core/
.deps-util/
.dirstamp

# next are things you get if you do ./configure in the topdir (for e.g.
# "make dist" invocation.
/config-util.h
/config.h
/include/grub/cpu
/include/grub/machine
/INSTALL
/INSTALL.grub
/po/Makefile.in.in
/po/Makevars
/po/Makevars.template
/po/POTFILES
/po/Rules-quot
/stamp-h
/stamp-h1
bootstrap.log
config.log
config.status

# stuff "make dist" creates
ChangeLog
grub-*.tar
grub-*.tar.*

# stuff "make" creates
/[[:digit:]][[:digit:]]_?*
/ascii.h
/build-grub-gen-asciih
/build-grub-gen-widthspec
/build-grub-mkfont
/config-util.h.in
/garbage-gen
/grub*-bios-setup
/grub*-bios-setup.8
/grub*-editenv
/grub*-editenv.1
/grub*-file
/grub*-file.1
/grub*-fs-tester
/grub*-fstest
/grub*-fstest.1
/grub*-get-kernel-settings
/grub*-get-kernel-settings.3
/grub*-glue-efi
/grub*-glue-efi.1
/grub*-install
/grub*-install.8
/grub*-kbdcomp
/grub*-kbdcomp.1
/grub*-macbless
/grub*-macbless.8
/grub*-menulst2cfg
/grub*-menulst2cfg.1
/grub*-mount
/grub*-mount.1
/grub*-mkconfig
/grub*-mkconfig.8
/grub*-mkconfig_lib
/grub*-mkfont
/grub*-mkfont.1
/grub*-mkimage
/grub*-mkimage.1
/grub*-mklayout
/grub*-mklayout.1
/grub*-mknetdir
/grub*-mknetdir.1
/grub*-mkpasswd-pbkdf2
/grub*-mkpasswd-pbkdf2.1
/grub*-mkrelpath
/grub*-mkrelpath.1
/grub*-mkrescue
/grub*-mkrescue.1
/grub*-mkstandalone
/grub*-mkstandalone.1
/grub*-ofpathname
/grub*-ofpathname.8
/grub*-probe
/grub*-probe.8
/grub*-reboot
/grub*-reboot.8
/grub*-render-label
/grub*-render-label.1
/grub*-script-check
/grub*-script-check.1
/grub*-set-bootflag
/grub*-set-bootflag.1
/grub*-set-default
/grub*-set-default.8
/grub*-set-password
/grub*-set-password.8
/grub*-shell
/grub*-shell-tester
/grub*-sparc64-setup
/grub*-sparc64-setup.8
/grub*-syslinux2cfg
/grub*-syslinux2cfg.1
/grub*-switch-to-blscfg
/grub*-switch-to-blscfg.8
/grub_fstest.pp
/grub_fstest_init.c
/grub_fstest_init.lst
/grub_script.tab.[ch]
/libgrub.pp
/libgrub_a_init.c
/libgrub_a_init.lst
/stamp-h.in
/widthspec.h
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you use a development snapshot or want to hack on GRUB you may
need the following.

* Python 2.6 or later
* Autoconf 2.63 or later
* Autoconf 2.64 or later
* Automake 1.11 or later

Prerequisites for make-check:
Expand Down
98 changes: 98 additions & 0 deletions Makefile.util.def
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ library = {
common = grub-core/partmap/msdos.c;
common = grub-core/fs/proc.c;
common = grub-core/fs/archelp.c;
common = grub-core/kern/backtrace.c;

x86 = grub-core/kern/i386/backtrace.c;
i386_xen = grub-core/kern/i386/backtrace.c;
x86_64_xen = grub-core/kern/i386/backtrace.c;
arm64 = grub-core/kern/arm64/backtrace.c;
};

library = {
Expand Down Expand Up @@ -452,6 +458,30 @@ script = {
installdir = grubconf;
};

script = {
name = '08_fallback_counting';
common = util/grub.d/08_fallback_counting.in;
installdir = grubconf;
};

script = {
name = '12_menu_auto_hide';
common = util/grub.d/12_menu_auto_hide.in;
installdir = grubconf;
};

script = {
name = '14_menu_show_once';
common = util/grub.d/14_menu_show_once.in;
installdir = grubconf;
};

script = {
name = '01_users';
common = util/grub.d/01_users.in;
installdir = grubconf;
};

script = {
name = '10_windows';
common = util/grub.d/10_windows.in;
Expand Down Expand Up @@ -494,6 +524,12 @@ script = {
condition = COND_HOST_LINUX;
};

script = {
name = '10_reset_boot_success';
common = util/grub.d/10_reset_boot_success.in;
installdir = grubconf;
};

script = {
name = '10_xnu';
common = util/grub.d/10_xnu.in;
Expand All @@ -508,6 +544,13 @@ script = {
condition = COND_HOST_LINUX;
};

script = {
name = '20_ppc_terminfo';
common = util/grub.d/20_ppc_terminfo.in;
installdir = grubconf;
condition = COND_HOST_LINUX;
};

script = {
name = '30_os-prober';
common = util/grub.d/30_os-prober.in;
Expand All @@ -532,6 +575,27 @@ script = {
installdir = grubconf;
};

script = {
name = 'grub-systemd-integration.service';
common = util/systemd/grub-systemd-integration.service.in;
installdir = systemdunit;
condition = COND_HOST_LINUX;
};

script = {
name = 'systemd-integration.sh';
common = util/systemd/systemd-integration.sh.in;
installdir = grublibexec;
condition = COND_HOST_LINUX;
};

script = {
name = '10-grub-logind-service.conf';
common = util/systemd/10-grub-logind-service.conf.in;
installdir = systemd_logind_service_d;
condition = COND_HOST_LINUX;
};

program = {
mansection = 1;
name = grub-mkrescue;
Expand Down Expand Up @@ -703,6 +767,13 @@ script = {
installdir = sbin;
};

script = {
name = grub-get-kernel-settings;
common = util/grub-get-kernel-settings.in;
mansection = 3;
installdir = sbin;
};

script = {
name = grub-set-default;
common = util/grub-set-default.in;
Expand All @@ -717,6 +788,13 @@ script = {
installdir = sbin;
};

script = {
name = grub-set-password;
common = util/grub-set-password.in;
mansection = 8;
installdir = sbin;
};

script = {
name = grub-mkconfig_lib;
common = util/grub-mkconfig_lib.in;
Expand Down Expand Up @@ -1211,6 +1289,12 @@ script = {
common = tests/syslinux_test.in;
};

script = {
testcase;
name = test_asn1;
common = tests/test_asn1.in;
};

program = {
testcase;
name = example_unit_test;
Expand Down Expand Up @@ -1321,6 +1405,13 @@ program = {
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

script = {
name = grub-switch-to-blscfg;
common = util/grub-switch-to-blscfg.in;
mansection = 8;
installdir = sbin;
};

program = {
name = grub-glue-efi;
mansection = 1;
Expand Down Expand Up @@ -1383,3 +1474,10 @@ program = {
ldadd = grub-core/lib/gnulib/libgnu.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

program = {
name = grub-set-bootflag;
installdir = sbin;
mansection = 1;
common = util/grub-set-bootflag.c;
};
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ New in 2.02:
* Prefer pmtimer for TSC calibration.

* New/improved platform support:
* New `efifwsetup' and `lsefi' commands on EFI platforms.
* New `efifwsetup', `lsefi' and `connectefi` commands on EFI platforms.
* New `cmosdump' and `cmosset' commands on platforms with CMOS support.
* New command `pcidump' for PCI platforms.
* Improve opcode parsing in ACPI halt implementation.
Expand Down
19 changes: 19 additions & 0 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,25 @@ if test "x$grub_cv_prog_ld_build_id_none" = xyes; then
fi
])

dnl Supply --build-id=sha1 to ld if building modules.
dnl This suppresses warnings from ld on some systems
AC_DEFUN([grub_PROG_LD_BUILD_ID_SHA1],
[AC_MSG_CHECKING([whether linker accepts --build-id=sha1])
AC_CACHE_VAL(grub_cv_prog_ld_build_id_sha1,
[save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--build-id=sha1"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
[grub_cv_prog_ld_build_id_sha1=yes],
[grub_cv_prog_ld_build_id_sha1=no])
LDFLAGS="$save_LDFLAGS"
])
AC_MSG_RESULT([$grub_cv_prog_ld_build_id_sha1])

if test "x$grub_cv_prog_ld_build_id_sha1" = xyes; then
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=sha1"
fi
])

dnl Check nm
AC_DEFUN([grub_PROG_NM_WORKS],
[AC_MSG_CHECKING([whether nm works])
Expand Down
Loading