Re: [PATCH 0/1] One More NTFS Fuzzing Fix

2025-07-26 Thread Andrew Hamilton
Hello, Just re-raising this for consideration. Thank you, Andrew On Sun, Jun 1, 2025 at 10:52 AM Andrew Hamilton wrote: > I took one last pass at my attempts at ad-hoc fuzzing of NTFS > with the goal of improving coverage and letting the fuzzer run > for a while. After rebuilding afl++ to allo

[PATCH v5 2/5] blsuki: Add blscfg command to parse Boot Loader Specification snippets

2025-07-26 Thread Alec Brown via Grub-devel
From: Peter Jones The BootLoaderSpec (BLS) defines a scheme where different bootloaders can share a format for boot items and a configuration directory that accepts these common configurations as drop-in files. The BLS Specification: https://uapi-group.org/specifications/specs/boot_loader_specif

[PATCH v5 0/5] Add commands to load BLS and UKI files

2025-07-26 Thread Alec Brown via Grub-devel
v5: - Added grub_strtok() to the GRUB. - Removed vercmp patch and instead utilize filevercmp from gnulib. - Adjusted documentation to include GRUB specific features. - Removed environmental variables such as grub_env_get ("default_kernelopts"), grub_env_get ("early_initrd"), etc. - Added artifici

[PATCH v5 3/5] util/misc.c: Change offset type for grub_util_write_image_at()

2025-07-26 Thread Alec Brown via Grub-devel
Adding filevercmp support to grub-core/commands/blsuki.c from gnulib will cause issues with the type of the offset parameter for grub_util_write_image_at() for EMU builds. To fix this issue, we can change the type from off_t to grub_off_t. Signed-off-by: Alec Brown --- include/grub/util/misc.h |

[PATCH v5 4/5] blsuki: Check for mounted /boot in emu

2025-07-26 Thread Alec Brown via Grub-devel
From: Robbie Harwood Irritatingly, BLS defines paths relative to the mountpoint of the filesystem which contains its snippets, not / or any other fixed location. So grub2-emu needs to know whether /boot is a separate filesystem from / and conditionally prepend a path. Signed-off-by: Robbie Harwo

[PATCH v5 5/5] blsuki: Add uki command to load Unified Kernel Image entries

2025-07-26 Thread Alec Brown via Grub-devel
A Unified Kernel Image is a single UEFI PE file that combines a UEFI boot stub, a Linux kernel image, an initrd, and further resources. The uki command will locate where the UKI file is and create a GRUB menu entry to load it. The Unified Kernel Image Specification: https://uapi-group.org/specific

[PATCH v5 1/5] kern/misc: Implement grub_strtok()

2025-07-26 Thread Alec Brown via Grub-devel
Add the functions grub_strtok() and grub_strtok_r() to help parse strings into tokens separated by characters in the 'delim' parameter. These functions are present in gnulib but calling them directly from the gnulib code is quite challenging since the call "#include " would include the header file