Files
systemd/src/basic
wrvsrx 6013dee98d efivars: deal with uncommitted efi variables
Unfortunately kernel reports EOF if there's an inconsistency between efivarfs var list
and what's actually stored in firmware, c.f. #34304. A zero size env var is not allowed in
efi and hence the variable doesn't really exist in the backing store as long as it is zero
sized, and the kernel calls this "uncommitted". Hence we translate EOF back to ENOENT here,
as with kernel behavior before
3fab70c165

If the kernel changes behaviour (to flush dentries on resume), we can drop
this at some point in the future. But note that the commit is 11
years old at this point so we'll need to deal with the current behaviour for
a long time.

Fix #34304.
2025-01-15 16:53:21 +01:00
..
2024-10-02 22:15:41 +01:00
2024-01-16 10:49:26 -07:00
2024-06-28 18:55:31 +02:00
2024-06-28 18:55:31 +02:00
2024-10-31 23:08:11 +01:00
2024-10-31 23:08:11 +01:00
2024-10-22 17:51:26 +02:00
2024-10-22 17:51:26 +02:00
2024-11-05 19:32:19 +00:00
2024-09-18 02:50:19 +09:00
2023-12-05 23:50:25 +09:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-13 15:36:45 +00:00
2024-11-03 10:46:17 +01:00
2024-11-03 10:46:17 +01:00