Home
last modified time | relevance | path

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

/tools/testing/selftests/arm64/fp/
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()
/tools/testing/selftests/bpf/prog_tests/
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()
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()
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()
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()
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()
Duprobe_multi_test.c35 int child_status; in release_child() local
42 waitpid(child->pid, &child_status, 0); in release_child()
/tools/testing/selftests/arm64/mte/
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()
/tools/testing/selftests/net/af_unix/
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()
/tools/testing/selftests/cgroup/
Dtest_zswap.c157 int child_status; in test_no_kmem_bypass() local
225 waitpid(child_pid, &child_status, 0); in test_no_kmem_bypass()