Home
last modified time | relevance | path

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

12

/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()
567 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
713 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
H A Dcoredump_socket_protocol_test.c223 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
367 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
507 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
628 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
748 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
870 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
992 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
1124 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
1257 ASSERT_TRUE(WIFSIGNALED(status)); in TEST_F()
1414 ASSERT_TRUE(WIFSIGNALED(status[i]));
[all …]
H A Dstackdump_test.c145 ASSERT_TRUE(WIFSIGNALED(status));
/linux/tools/testing/selftests/filesystems/
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/landlock/
H A Dscoped_abstract_unix_test.c160 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
266 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
376 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
576 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
730 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
977 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
1080 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST()
1144 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST()
H A Dscoped_signal_test.c146 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
247 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
557 if (WIFSIGNALED(status) || !WIFEXITED(status) ||
H A Dptrace_test.c290 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
423 if (WIFSIGNALED(status) || !WIFEXITED(status) || in TEST_F()
/linux/tools/testing/selftests/namespaces/
H A Dlistns_efault_test.c180 ASSERT_TRUE(WIFSIGNALED(status)); in TEST()
389 ASSERT_TRUE(WIFSIGNALED(status)); in TEST()
524 ASSERT_TRUE(WIFSIGNALED(status)); in TEST()
/linux/tools/testing/selftests/riscv/vector/
H A Dv_helpers.c62 WIFSIGNALED(status)) { in launch_test()
H A Dvstate_exec_nolibc.c78 if (WIFSIGNALED(status)) { in main()
/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.h241 WIFSIGNALED(status), WTERMSIG(status)); in wait_for_pid()
/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.h107 #define WIFSIGNALED(status) ((status) - 1 < 0xff) macro
/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/tty/
H A Dtty_tiocsti_test.c639 if (WIFSIGNALED(status)) { in TEST_F()
641 ASSERT_FALSE(WIFSIGNALED(status)) in TEST_F()
/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()
/linux/tools/testing/selftests/wireguard/qemu/
H A Dinit.c208 } else if (WIFSIGNALED(status)) { in launch_tests()
/linux/tools/testing/selftests/arm64/abi/
H A Dptrace.c198 if (WIFEXITED(status) || WIFSIGNALED(status)) in do_parent()

12