Home
last modified time | relevance | path

Searched refs:WIFSIGNALED (Results 1 – 25 of 53) sorted by relevance

123

/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c304 } else if (WIFSIGNALED(wstatus)) { in test_setuid()
316 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setuid()
360 } else if (WIFSIGNALED(wstatus)) { in test_setgid()
372 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setgid()
425 } else if (WIFSIGNALED(wstatus)) { in test_setgroups()
437 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setgroups()
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c122 if (!ret || (!WIFEXITED(wstatus[i]) && !WIFSIGNALED(wstatus[i]))) in main()
148 else if (WIFSIGNALED(wstatus[i])) in main()
152 if (WIFSIGNALED(wstatus[i]) && WTERMSIG(wstatus[i]) == SIGUSR1) in main()
/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_kernel.c52 FAIL_IF(!WIFSIGNALED(child_ret)); in expect_segv()
123 FAIL_IF(WIFSIGNALED(child_ret)); in test_sigreturn_kernel()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_socket_test.c196 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
334 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
357 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
427 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
581 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
758 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
918 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
H A Dcoredump_notify_signal_test.c158 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
238 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
H A Dcoredump_socket_protocol_test.c221 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
363 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
501 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
618 ASSERT_TRUE(WIFSIGNALED(status)); in check_refused_ack()
832 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
975 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
1132 ASSERT_TRUE(WIFSIGNALED(status[i]));
1270 ASSERT_TRUE(WIFSIGNALED(status[i]));
1374 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
1506 ASSERT_TRUE(WIFSIGNALED(status)); in check_record_dump()
[all …]
H A Dstackdump_test.c145 ASSERT_TRUE(WIFSIGNALED(status));
H A Dcoredump_worker_test.c381 ASSERT_TRUE(WIFSIGNALED(status)); in run_dumper()
397 ASSERT_TRUE(WIFSIGNALED(status)); in run_dumper()
/linux/tools/testing/selftests/filesystems/file_stressor/
H A Dfile_stressor.c95 ASSERT_TRUE(!WIFEXITED(wstatus) || !WIFSIGNALED(wstatus)); in FIXTURE_TEARDOWN()
99 ASSERT_TRUE(!WIFEXITED(wstatus) || !WIFSIGNALED(wstatus)); in FIXTURE_TEARDOWN()
/linux/tools/testing/selftests/namespaces/
H A Dlistns_efault_test.c186 ASSERT_TRUE(WIFSIGNALED(status));
402 ASSERT_TRUE(WIFSIGNALED(status)); in TEST()
544 ASSERT_TRUE(WIFSIGNALED(status));
/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c151 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
252 if (WIFSIGNALED(status) || !WIFEXITED(status) ||
583 if (WIFSIGNALED(status) || !WIFEXITED(status) ||
679 if (WIFSIGNALED(status) || !WIFEXITED(status) || in thread_setown_scoped()
H A Dscoped_abstract_unix_test.c164 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
270 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
439 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
639 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
793 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
1040 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
1143 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST()
1207 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST()
H A Dptrace_test.c293 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
426 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_info_test.c160 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F()
217 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F()
367 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F()
380 ASSERT_TRUE(WIFSIGNALED(info2.exit_code)); in TEST_F()
390 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F()
H A Dpidfd.h245 "waitpid !WIFEXITED, WIFSIGNALED=%d, WTERMSIG=%d\n", in wait_for_pid()
246 WIFSIGNALED(status), WTERMSIG(status)); in wait_for_pid()
/linux/tools/testing/selftests/riscv/vector/
H A Dv_helpers.c85 WIFSIGNALED(status)) {
H A Dvstate_exec_nolibc.c78 if (WIFSIGNALED(status)) { in main()
/linux/tools/testing/selftests/powerpc/
H A Dharness.c79 if (WIFSIGNALED(status)) in run_test()
/linux/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_gpr_corruption.c147 FAIL_IF(WIFSIGNALED(status)); in test()
/linux/tools/include/nolibc/
H A Dtypes.h122 #define WIFSIGNALED(status) ((status) - 1U < 0xff) macro
/linux/tools/testing/selftests/tty/
H A Dtty_tiocsti_test.c639 if (WIFSIGNALED(status)) { in TEST_F()
641 ASSERT_FALSE(WIFSIGNALED(status)) in TEST_F()
/linux/tools/perf/bench/
H A Dsched-seccomp-notify.c139 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in bench_sched_seccomp_notify()
/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c226 if (WIFSIGNALED(status)) { in main()
H A Dtest_syscall_vdso.c362 if (WIFSIGNALED(status)) in ptrace_me()
/linux/tools/testing/selftests/ptrace/
H A Dget_syscall_info.c136 ASSERT_FALSE(WIFSIGNALED(status)) { in TEST()

123