mirror of
https://github.com/systemd/systemd
synced 2026-03-31 20:24:50 +02:00
Compare commits
4 Commits
0ad536c16a
...
97c373c7de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97c373c7de | ||
|
|
1c15c3653e | ||
|
|
2fffe2ed19 | ||
|
|
f3611cfb0b |
@ -82,7 +82,6 @@ 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;
|
||||
|
||||
@ -96,8 +95,6 @@ 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);
|
||||
|
||||
@ -138,6 +138,9 @@ 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 ||
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
#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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user