Home
last modified time | relevance | path

Searched refs:exp_status (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/
H A Dshmat01.c42 int exp_status; member
70 static int expected_status(int status, int exp_status) in expected_status() argument
72 if (!exp_status && WIFEXITED(status)) in expected_status()
75 if (exp_status && WIFSIGNALED(status) && WTERMSIG(status) == exp_status) in expected_status()
117 do_child(addr, tc->exp_status == SIGSEGV); in verify_shmat()
121 if (expected_status(status, tc->exp_status)) in verify_shmat()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages04.c92 int ret, exp_status; in main() local
95 exp_status = -EFAULT; in main()
97 exp_status = -ENOENT; in main()
138 if (status[UNTOUCHED_PAGE] == exp_status) { in main()
145 tst_strerrno(-exp_status)); in main()
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl10.c55 static int expected_status(int status, int exp_status) in expected_status() argument
57 if (!exp_status && WIFEXITED(status)) in expected_status()
60 if (exp_status && WIFSIGNALED(status) && WTERMSIG(status) == exp_status) in expected_status()

Completed in 1 milliseconds