summaryrefslogtreecommitdiffstats
path: root/src/core/swap.h
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-09 15:10:23 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-27 14:46:57 +0200
commit28135da3cdca53157bd878ae00b15d6e33ca4987 (patch)
tree6b88da16d427d0f0ccbda3b7a1153473a69d9e80 /src/core/swap.h
parentexecute: Do not pass destroy as a boolean argument to unref() (diff)
downloadsystemd-28135da3cdca53157bd878ae00b15d6e33ca4987.tar.xz
systemd-28135da3cdca53157bd878ae00b15d6e33ca4987.zip
core: Introduce unit private exec runtime
Currently, exec runtimes can be shared between units (using JoinsNamespaceOf=). Let's introduce a concept of a private exec runtime that isn't shared with JoinsNamespaceOf=. The existing ExecRuntime struct is renamed to ExecRuntimeShared and becomes a private member of the new private ExecRuntime.
Diffstat (limited to 'src/core/swap.h')
-rw-r--r--src/core/swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.h b/src/core/swap.h
index 49cd82c591..c0e3f118e1 100644
--- a/src/core/swap.h
+++ b/src/core/swap.h
@@ -67,7 +67,7 @@ struct Swap {
KillContext kill_context;
CGroupContext cgroup_context;
- ExecSharedRuntime *exec_runtime;
+ ExecRuntime *exec_runtime;
DynamicCreds dynamic_creds;
SwapState state, deserialized_state;