Home
last modified time | relevance | path

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

12345678910

/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/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit06.c84 if (WTERMSIG(status) == SIGKILL && *end == SIGXCPU) { in verify_setrlimit()
90 if (WTERMSIG(status) == SIGKILL && !*end) { in verify_setrlimit()
96 if (WTERMSIG(status) == SIGALRM && *end == SIGXCPU) { in verify_setrlimit()
102 if (WTERMSIG(status) == SIGALRM && !*end) { in verify_setrlimit()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns13.c205 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
207 strsignal(WTERMSIG(status))); in main()
212 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
214 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/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid01.c49 if (WTERMSIG(status) != SIGALRM) { in run()
51 tst_strsig(WTERMSIG(status))); in run()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py1180 def WTERMSIG(self, status): member in ChildWatcherTestsMixin
1194 with patch('os.WTERMSIG', self.WTERMSIG) as m_WTERMSIG, \
1218 self.assertFalse(m.WTERMSIG.called)
1227 self.assertFalse(m.WTERMSIG.called)
1236 self.assertFalse(m.WTERMSIG.called)
1250 self.assertFalse(m.WTERMSIG.called)
1264 self.assertFalse(m.WTERMSIG.called)
1281 self.assertFalse(m.WTERMSIG.called)
1292 self.assertFalse(m.WTERMSIG.called)
1302 self.assertFalse(m.WTERMSIG.called)
[all …]
/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.c47 int sig = WTERMSIG(status); in check_le_switch_supported()
75 int sig = WTERMSIG(status); in test_le_switch()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c127 if (WTERMSIG(status) == SIGKILL) { in main()
163 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/security/umip/
Dumip_basic_test.c123 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
134 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
/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/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.c143 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
157 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c129 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in test_tune()
151 WTERMSIG(status) != SIGKILL) { in test_tune()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl04.c100 if (WIFSIGNALED(childstatus) && WTERMSIG(childstatus) == SIGSYS) in check_filter_mode_inherit()
195 if (WIFSIGNALED(status) && WTERMSIG(status) == tc->exp_signal) { in verify_prctl()
/external/blktrace/iowatcher/
Dtracers.c119 } else if (WIFSIGNALED(status) && sig && WTERMSIG(status) != sig) { in wait_program()
120 fprintf(stderr, "'%s' killed by signal %d\n", pname, WTERMSIG(status)); in wait_program()
/external/igt-gpu-tools/lib/tests/
Digt_tests_common.h47 WTERMSIG(wstatus) == signal); in internal_assert_wsignaled()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c160 if (WTERMSIG(status)) in main()
162 WTERMSIG(status)); in main()
/external/strace/tests/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/strace/tests-m32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/strace/tests-mx32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()

12345678910