execute: fix the condition of private mounts for user namespacing

Follow-up for: 6ef721cbc7
This commit is contained in:
Haochen Tong
2023-06-15 13:12:24 +02:00
committed by Lennart Poettering
parent a5ebaf7982
commit adeff82234
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4584,7 +4584,7 @@ static bool exec_context_need_unprivileged_private_users(const ExecContext *cont
context->network_namespace_path ||
context->private_ipc ||
context->ipc_namespace_path ||
context->private_mounts ||
context->private_mounts > 0 ||
context->mount_apivfs ||
context->n_bind_mounts > 0 ||
context->n_temporary_filesystems > 0 ||