From c3b9c418c0e688892284aa83fefaea313fdabccc Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 30 Sep 2022 14:21:01 +0200 Subject: namespace-util: add namespace_info --- src/core/namespace.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/core/namespace.h') 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, -- cgit v1.2.3