1
0
mirror of https://github.com/systemd/systemd synced 2026-03-31 20:24:50 +02:00

Compare commits

..

No commits in common. "97c373c7de8c40b020722d8c1d8f6372b85ef827" and "0ad536c16a940b4557322f3f811db73c4b374898" have entirely different histories.

3 changed files with 4 additions and 3 deletions

View File

@ -82,6 +82,7 @@ EFI_STATUS load_drivers(
_cleanup_(FileHandleClosep) EFI_FILE_HANDLE drivers_dir = NULL;
_cleanup_freepool_ EFI_FILE_INFO *dirent = NULL;
_cleanup_freepool_ EFI_DEVICE_PATH *path = NULL;
UINTN dirent_size = 0, n_succeeded = 0;
EFI_STATUS err;
@ -95,6 +96,8 @@ EFI_STATUS load_drivers(
return log_error_status_stall(err, L"Failed to open \\EFI\\systemd\\drivers: %r", err);
for (;;) {
_cleanup_freepool_ CHAR16 *d = NULL;
err = readdir_harder(drivers_dir, &dirent, &dirent_size);
if (EFI_ERROR(err))
return log_error_status_stall(err, L"Failed to read extra directory of loaded image: %r", err);

View File

@ -138,9 +138,6 @@ EFI_STATUS linux_exec(
assert(linux_buffer);
assert(initrd_buffer || initrd_length == 0);
if (linux_length < sizeof(struct boot_params))
return EFI_LOAD_ERROR;
image_params = (const struct boot_params *) linux_buffer;
if (image_params->hdr.boot_flag != 0xAA55 ||

View File

@ -25,6 +25,7 @@
#include "siphash24.h"
#include "string-table.h"
#include "string-util.h"
#include "radv-internal.h"
bool link_dhcp6_with_address_enabled(Link *link) {
if (!link_dhcp6_enabled(link))