summaryrefslogtreecommitdiffstats
path: root/src/shared/dissect-image.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-11-30 18:55:05 +0100
committerLennart Poettering <lennart@poettering.net>2022-12-02 22:52:48 +0100
commitd90b03f80d7d2a104783e0582a33a29e8a05cbca (patch)
tree5da5e58a18d8d2ace9fd998ba174bb8b6e9130b8 /src/shared/dissect-image.h
parentMerge pull request #25570 from yuwata/dissect-rootless-image (diff)
downloadsystemd-d90b03f80d7d2a104783e0582a33a29e8a05cbca.tar.xz
systemd-d90b03f80d7d2a104783e0582a33a29e8a05cbca.zip
dissect: pick up gpt partition flags
Let's store the GPT partition flags in the dissected partition info. Right now we won't actually use them for anything yet, but later we'll add that, when enforcing policy on dissection.
Diffstat (limited to '')
-rw-r--r--src/shared/dissect-image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h
index 2f77228a1d..5402e4fca2 100644
--- a/src/shared/dissect-image.h
+++ b/src/shared/dissect-image.h
@@ -33,6 +33,7 @@ struct DissectedPartition {
int mount_node_fd;
uint64_t size;
uint64_t offset;
+ uint64_t gpt_flags;
};
#define DISSECTED_PARTITION_NULL \