]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: Introduce unit private exec runtime
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 9 Mar 2023 14:10:23 +0000 (15:10 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 27 Mar 2023 12:46:57 +0000 (14:46 +0200)
commit28135da3cdca53157bd878ae00b15d6e33ca4987
tree6b88da16d427d0f0ccbda3b7a1153473a69d9e80
parente52a696a9af9e46e6e2be799a344bd9fb34dd3f4
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.
12 files changed:
src/core/execute.c
src/core/execute.h
src/core/mount.c
src/core/mount.h
src/core/service.c
src/core/service.h
src/core/socket.c
src/core/socket.h
src/core/swap.c
src/core/swap.h
src/core/unit.c
src/core/unit.h