Files
systemd/docs
Lennart Poettering aad0d11e7c dissect-image: when autoprobing insist on vfat for XBOOTLDR
Let's reduce our attack surface by insisting that XBOOTLDR is vfat when
auto-probing, just like we do for the ESP. Given neither can
realistically be integrity protected (because firmware needs to access
them) let's insist on a vfat which has a much smaller attack surface,
and one we have to accept (for now) anyway, given that the ESP must be
VFAT.

This only applies to auto-probing of course. If people mount things
explicitly via fstab none of this matters. But we really shouldn't
automount a btrfs/xfs/ext4 partition as XBOOTLDR just because it looks
like one, as that would really defeat our otherwise possibly very strict
image policies.

This also introduces a new env var $SYSTEMD_DISSECT_FSTYPE_<DESIGNATOR>
environment variable that may override this hardcoding. This is in
particular useful in our testcases, since various actually do use ext4
as XBOOTLDR case. The tests are updated to make use of the new env var,
both as a mechanism to test this and to keep the tests working.
2025-10-15 08:32:37 +02:00
..
2025-02-17 19:49:32 +00:00
2024-03-27 07:11:54 +01:00
2025-09-27 00:21:53 +09:00
2024-12-28 12:24:42 +09:00
2024-10-17 00:49:59 +09:00
2025-07-13 05:49:09 +09:00
2025-09-24 08:48:17 +02:00
2025-05-14 18:06:04 +02:00
2025-08-18 04:43:44 +09:00
2025-05-07 00:49:49 +09:00
2025-07-03 17:43:01 +02:00
2024-03-27 07:12:01 +01:00
2024-03-27 07:12:01 +01:00
2025-06-02 11:19:12 +02:00
2024-03-27 07:12:04 +01:00
2025-07-22 18:27:37 +09:00
2024-03-15 04:04:01 +09:00