Files
systemd/src/shared
Daan De Meyer 0859fe3f32 discover-image: Rework image_make()
Currently, image_new() will calculate the image
path as the combination of dir_path and filename,
which is completely broken if filename is absolute
and dir_path is set.

Let's fix this by thoroughly cleaning up the
image_make() interface. Instead of having four
different arguments to pass in the image path,
let's reduce that to two, a file descriptor and a
path. If no file descriptor is provided, we create
own ourselves by opening the given path.

The callsites are updated to pass in an existing file
descriptor when available. Path calculation is moved
to callers instead of image_make().
2025-12-12 12:25:57 +01:00
..
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-26 20:24:47 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-09 18:13:44 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-07-17 17:13:17 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
…
…
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-09-19 14:46:55 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-10-16 03:26:39 -07:00
2025-07-08 10:22:59 +02:00
2025-11-25 15:32:37 +01:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-22 09:42:41 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-25 17:34:48 +01:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-15 07:44:24 +01:00
2025-05-25 03:28:50 +09:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-11-02 17:03:03 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00