Home
last modified time | relevance | path

Searched refs:child_status (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dza-fork.c27 int child_status, parent_result; in fork_test_c() local
50 waiting = waitpid(newpid, &child_status, 0); in fork_test_c()
63 if (!WIFEXITED(child_status)) { in fork_test_c()
68 return WEXITSTATUS(child_status) && parent_result; in fork_test_c()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bprm_opts.c34 int child_pid, child_status, ret, null_fd; in run_set_secureexec() local
66 waitpid(child_pid, &child_status, 0); in run_set_secureexec()
67 ret = WEXITSTATUS(child_status); in run_set_secureexec()
H A Dtest_lsm.c39 int child_pid, child_status; in exec_cmd() local
47 waitpid(child_pid, &child_status, 0); in exec_cmd()
48 return child_status; in exec_cmd()
H A Dverify_pkcs7_sig.c79 int child_pid, child_status; in _run_setup_process() local
88 waitpid(child_pid, &child_status, 0); in _run_setup_process()
89 return WEXITSTATUS(child_status); in _run_setup_process()
100 int ret, fd, child_status, child_pid; in populate_data_item_str() local
132 waitpid(child_pid, &child_status, 0); in populate_data_item_str()
134 ret = WEXITSTATUS(child_status); in populate_data_item_str()
H A Dtest_local_storage.c28 int child_pid, child_status, ret; in run_self_unlink() local
46 waitpid(child_pid, &child_status, 0); in run_self_unlink()
48 return WEXITSTATUS(child_status); in run_self_unlink()
H A Dtest_ima.c21 int child_pid, child_status; in _run_measured_process() local
31 waitpid(child_pid, &child_status, 0); in _run_measured_process()
32 return WEXITSTATUS(child_status); in _run_measured_process()
H A Duprobe_multi_test.c35 int child_status; in release_child() local
42 waitpid(child->pid, &child_status, 0); in release_child()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_child_memory.c31 int i, parent_tag, child_tag, fault, child_status; in check_child_tag_inheritance() local
76 wait(&child_status); in check_child_tag_inheritance()
77 if (WIFEXITED(child_status)) in check_child_tag_inheritance()
78 fault = WEXITSTATUS(child_status); in check_child_tag_inheritance()
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c378 int child_status = 0; in TEST_F() local
426 waitpid(self->client_pid, &child_status, 0); in TEST_F()
427 ASSERT_EQ(0, WIFEXITED(child_status) ? WEXITSTATUS(child_status) : 1); in TEST_F()
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c157 int child_status; in test_no_kmem_bypass() local
225 waitpid(child_pid, &child_status, 0); in test_no_kmem_bypass()
/openbmc/skeleton/flashbios/
H A Dflash_bios_obj.c20 int child_status; in catch_child() local
22 wait(&child_status); in catch_child()