diff options
author | Christian Brauner <brauner@kernel.org> | 2022-09-30 14:21:01 +0200 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2022-10-04 18:46:27 +0200 |
commit | c3b9c418c0e688892284aa83fefaea313fdabccc (patch) | |
tree | 9f649a3e5935b5ec236864a18fdde01ddec61691 /src/core/namespace.h | |
parent | missing_sched: add CLONE_NEWTIME (diff) | |
download | systemd-c3b9c418c0e688892284aa83fefaea313fdabccc.tar.xz systemd-c3b9c418c0e688892284aa83fefaea313fdabccc.zip |
namespace-util: add namespace_info
Diffstat (limited to '')
-rw-r--r-- | src/core/namespace.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/core/namespace.h b/src/core/namespace.h index 3ef41d2c62..2ba5970159 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -15,6 +15,7 @@ typedef struct MountImage MountImage; #include "dissect-image.h" #include "fs-util.h" #include "macro.h" +#include "namespace-util.h" #include "string-util.h" typedef enum ProtectHome { @@ -26,18 +27,6 @@ typedef enum ProtectHome { _PROTECT_HOME_INVALID = -EINVAL, } ProtectHome; -typedef enum NamespaceType { - NAMESPACE_MOUNT, - NAMESPACE_CGROUP, - NAMESPACE_UTS, - NAMESPACE_IPC, - NAMESPACE_USER, - NAMESPACE_PID, - NAMESPACE_NET, - _NAMESPACE_TYPE_MAX, - _NAMESPACE_TYPE_INVALID = -EINVAL, -} NamespaceType; - typedef enum ProtectSystem { PROTECT_SYSTEM_NO, PROTECT_SYSTEM_YES, |