Home
last modified time | relevance | path

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

/system/core/llkd/tests/
Dllkd_test.cpp154 int wstatus; in waitForPid() local
155 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in waitForPid()
156 EXPECT_FALSE(WIFEXITED(wstatus)) << "[ INFO ] exit=" << WEXITSTATUS(wstatus); in waitForPid()
157 ASSERT_TRUE(WIFSIGNALED(wstatus)); in waitForPid()
158 ASSERT_EQ(WTERMSIG(wstatus), SIGKILL); in waitForPid()
198 int wstatus; in llkd_driver_ABA() local
207 waitpid(driver_pid, &wstatus, 0); in llkd_driver_ABA()
208 if (!WIFEXITED(wstatus)) { in llkd_driver_ABA()
211 if (WEXITSTATUS(wstatus) != 42) { in llkd_driver_ABA()
221 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in llkd_driver_ABA()
[all …]
/system/extras/memory_replay/
DFile.cpp61 int wstatus; in WaitPid() local
62 pid_t wait_pid = TEMP_FAILURE_RETRY(waitpid(pid, &wstatus, 0)); in WaitPid()
70 if (!WIFEXITED(wstatus)) { in WaitPid()
73 if (WEXITSTATUS(wstatus) != 0) { in WaitPid()
74 errx(1, "Bad exit value from forked process: returned %d", WEXITSTATUS(wstatus)); in WaitPid()