Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 25 of 200) sorted by relevance

12345678

/external/selinux/libsepol/cil/test/unit/
Dtest_integration.c45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_integration()
50 if (WIFSIGNALED(status1) && (WTERMSIG(status1) == SIGINT || WTERMSIG(status1) == SIGQUIT)) in test_integration()
55 if (WIFSIGNALED(status2) && (WTERMSIG(status2) == SIGINT || WTERMSIG(status2) == SIGQUIT)) in test_integration()
71 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_min_policy()
/external/valgrind/none/tests/solaris/
Dblock_all_signals.c41 assert(WTERMSIG(status) != 0); in main()
43 if (WTERMSIG(status) == SIGSEGV) { in main()
47 WTERMSIG(status)); in main()
/external/valgrind/memcheck/tests/
Daddressable.c141 assert(WTERMSIG(status) != 0); in main()
144 (WTERMSIG(status) == SIGSEGV || in main()
145 WTERMSIG(status) == SIGBUS)) in main()
149 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns13.c213 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
215 strsignal(WTERMSIG(status))); in main()
220 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
222 strsignal(WTERMSIG(status))); in main()
Dpidns17.c106 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { in child_fn()
118 WIFSIGNALED(status), WTERMSIG(status)); in child_fn()
158 WTERMSIG(status)); in main()
Dpidns12.c159 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
161 strsignal(WTERMSIG(status))); in main()
Dpidns20.c194 if (WTERMSIG(status) == SIGUSR1) in main()
200 WTERMSIG(status)); in main()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py887 def WTERMSIG(self, status): member in ChildWatcherTestsMixin
901 with patch('os.WTERMSIG', self.WTERMSIG) as m_WTERMSIG, \
925 self.assertFalse(m.WTERMSIG.called)
934 self.assertFalse(m.WTERMSIG.called)
943 self.assertFalse(m.WTERMSIG.called)
957 self.assertFalse(m.WTERMSIG.called)
971 self.assertFalse(m.WTERMSIG.called)
988 self.assertFalse(m.WTERMSIG.called)
999 self.assertFalse(m.WTERMSIG.called)
1009 self.assertFalse(m.WTERMSIG.called)
[all …]
/external/valgrind/none/tests/
Dasync-sigs.c73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in do_kill()
126 } else if (!WIFSIGNALED(status) || WTERMSIG(status) != fatalsig) { in test()
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in test()
Dpth_term_signal.c87 fprintf(stderr, "Signal %d\n", WTERMSIG(status)); in main()
88 assert(WTERMSIG(status) == SIGTERM); in main()
/external/ltp/testcases/kernel/syscalls/pause/
Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in main()
81 tst_strsig(WTERMSIG(status))); in main()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork12.c80 if (WTERMSIG(status) == SIGKILL) in main()
84 WEXITSTATUS(status), WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c59 int sig = WTERMSIG(status); in check_le_switch_supported()
87 int sig = WTERMSIG(status); in test_le_switch()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c123 if (WTERMSIG(status) == SIGKILL) { in main()
159 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
191 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c128 if (WTERMSIG(res) == SIGKILL) { in do_test()
132 tst_strsig(WTERMSIG(res))); in do_test()
/external/honggfuzz/
Dsubproc.c60 str, len, "SIGNALED, signal: %d (%s)", WTERMSIG(status), strsignal(WTERMSIG(status))); in subproc_StatusToStr()
373 LOG_E("Command '%s' terminated with signal: %d", argv[0], WTERMSIG(status)); in subproc_System()
374 return (100 + WTERMSIG(status)); in subproc_System()
/external/strace/
Dwait.c82 signame(WTERMSIG(status)), in printstatus()
84 status &= ~(W_EXITCODE(0, WTERMSIG(status)) | WCOREFLAG); in printstatus()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c155 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
169 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c128 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in test_tune()
150 WTERMSIG(status) != SIGKILL) { in test_tune()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c160 if (WTERMSIG(status)) in main()
162 WTERMSIG(status)); in main()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dtest_harness.h458 if (WTERMSIG(status) == SIGABRT) { in test_harness_run()
462 } else if (WTERMSIG(status) == t->termsig) { in test_harness_run()
468 WTERMSIG(status)); in test_harness_run()
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h702 if (WTERMSIG(status) == SIGABRT) { in __run_test()
706 } else if (WTERMSIG(status) == t->termsig) { in __run_test()
713 WTERMSIG(status)); in __run_test()
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc243 if (!WIFSIGNALED(status) || WTERMSIG(status) != crash_signal) { in CreateChildCrash()
247 WTERMSIG(status), crash_signal); in CreateChildCrash()
/external/fio/os/windows/posix/include/sys/
Dwait.h6 #define WTERMSIG(a) 0 macro

12345678