tree-wide: add missing assertions

Found by coccinelle.
This commit is contained in:
Yu Watanabe
2026-08-18 06:30:10 +09:00
parent 05f790da8f
commit 90481c0b1b
40 changed files with 171 additions and 37 deletions
+1
View File
@@ -2511,6 +2511,7 @@ static int exec_shared_runtime_make(
assert(m);
assert(c);
assert(id);
assert(ret);
/* It is not necessary to create ExecSharedRuntime object. */
if (!c->user_namespace_path && !exec_needs_network_namespace(c) && !exec_needs_ipc_namespace(c) &&