Home
last modified time | relevance | path

Searched refs:wstatus (Results 1 – 2 of 2) sorted by relevance

/system/core/llkd/tests/
Dllkd_test.cpp162 int wstatus; in waitForPid() local
163 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in waitForPid()
164 EXPECT_FALSE(WIFEXITED(wstatus)) << "[ INFO ] exit=" << WEXITSTATUS(wstatus); in waitForPid()
165 ASSERT_TRUE(WIFSIGNALED(wstatus)); in waitForPid()
166 ASSERT_EQ(WTERMSIG(wstatus), SIGKILL); in waitForPid()
206 int wstatus; in llkd_driver_ABA() local
215 waitpid(driver_pid, &wstatus, 0); in llkd_driver_ABA()
216 if (!WIFEXITED(wstatus)) { in llkd_driver_ABA()
219 if (WEXITSTATUS(wstatus) != 42) { in llkd_driver_ABA()
229 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in llkd_driver_ABA()
[all …]
/system/extras/memory_replay/
DFile.cpp60 int wstatus; in WaitPid() local
61 pid_t wait_pid = TEMP_FAILURE_RETRY(waitpid(pid, &wstatus, 0)); in WaitPid()
69 if (!WIFEXITED(wstatus)) { in WaitPid()
72 if (WEXITSTATUS(wstatus) != 0) { in WaitPid()
73 errx(1, "Bad exit value from forked process: returned %d", WEXITSTATUS(wstatus)); in WaitPid()