diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-05 12:20:50 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-09 20:36:57 +0200 |
commit | 46536e1d6cfcd918971b198c6b72ffb7c66c941f (patch) | |
tree | 8b58fe3e3257294d1ff074592b7c4db892f6fd1c | |
parent | boot: Introduce file_size and use it when we're working with file_offset (diff) | |
download | systemd-46536e1d6cfcd918971b198c6b72ffb7c66c941f.tar.xz systemd-46536e1d6cfcd918971b198c6b72ffb7c66c941f.zip |
efi-loader: Add @ to valid characters
This is now a valid character with the introduction of multi UKI
profiles, so update the function to allow it.
-rw-r--r-- | src/shared/efi-loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/efi-loader.c b/src/shared/efi-loader.c index 74144af95a..ae0b2b1fdc 100644 --- a/src/shared/efi-loader.c +++ b/src/shared/efi-loader.c @@ -364,5 +364,5 @@ bool efi_loader_entry_name_valid(const char *s) { if (!filename_is_valid(s)) /* Make sure entry names fit in filenames */ return false; - return in_charset(s, ALPHANUMERICAL "+-_."); + return in_charset(s, ALPHANUMERICAL "+-_.@"); } |