From: Yu Watanabe Date: Fri, 17 Feb 2023 05:58:22 +0000 (+0900) Subject: core/namespace: drop unused field in NamespaceInfo X-Git-Tag: v254-rc1~1179^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06b3a2f6f06697e6870b131dce1f3f7422d549d1;p=thirdparty%2Fsystemd.git core/namespace: drop unused field in NamespaceInfo --- diff --git a/src/core/execute.c b/src/core/execute.c index 9bfeacfb625..1ed81a5c6d6 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -3591,7 +3591,6 @@ static int apply_mount_namespace( .protect_kernel_logs = context->protect_kernel_logs, .protect_hostname = context->protect_hostname, .mount_apivfs = exec_context_get_effective_mount_apivfs(context), - .private_mounts = context->private_mounts, .protect_home = context->protect_home, .protect_system = context->protect_system, .protect_proc = context->protect_proc, diff --git a/src/core/namespace.h b/src/core/namespace.h index 2ba59701597..70e27994cc4 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -55,7 +55,6 @@ typedef enum ProcSubset { struct NamespaceInfo { bool ignore_protect_paths; bool private_dev; - bool private_mounts; bool protect_control_groups; bool protect_kernel_tunables; bool protect_kernel_modules;