diff --git a/src/core/execute.c b/src/core/execute.c index 9bfeacfb62..1ed81a5c6d 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 2ba5970159..70e27994cc 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;