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
+9
View File
@@ -5318,6 +5318,15 @@ static int run_container(
assert_se(sigemptyset(&mask_chld) == 0);
assert_se(sigaddset(&mask_chld, SIGCHLD) == 0);
assert(runtime_dir);
assert(directory);
assert(veth_name);
assert(veth_created);
assert(expose_args);
assert(master);
assert(pid);
assert(ret);
/* Set up the unix export host directory on the host first */
r = setup_unix_export_dir_outside(runtime_dir, &unix_export_host_dir);
if (r < 0)